The <blockquote> element is used to indicate that the enclosed text is an extended updation. Most browsers indent the content of the <blockquote> element to render this text differently. Generally, the <blockqoute> element indicates a quotation from another source.
Syntax:
<blockquote property=”value” property=”value” …. >
quotation
</blockquote>
Valid Properties:
The <blockquote> element has the following properties –
1. cite This property is used to specify the name of the url from where the quotation has been referred to. Note that this value (url) is not displayed on the page. It gets displayed only when one views the page source.
Other properties include the class, dir, id, lang, style and title.
Refer to Common Properties page for details of these properties.
Example:
<blockquote cite=”http://www.xyzcompany.com/a.htm”> This is a sample quotaion that I have borrowed from a friend’s site </blockquote>
Notes:
1. HTML 2.0 and HTML 3.0 do not support any attributes for the <blockquote> element.
2. Some browsers understand the <bq> shorthand notation. However, as the number of these browsers is less, the <bq> should be avoided and the <blockquote> element should be used.
Filed under: Block Level Elements Tagged: | Education, HTML / XHTML, Learn HTML, Learn XHTML, Training, Web Site Development
How do you make this work on WP?