<blockquote> Tag Syntax
Rules for coding HTML blockquote
elements
<body> ... ... flow content expected ... <blockquote> ... flow content ... </blockquote> ... </body>
Make sure you understand the difference between a tag and element and are familiar with the definitions of namespace and other HTML terms.
- Include a blockquote element where flow content is expected.
- Begin the blockquote element with a starting <blockquote> tag. The element name uses lower case letters and should be in the HTML namespace, which it will pick up automatically from the
xmlns
attribute on the <html> tag. - Optionally code a
cite
attribute with the URL of a document that provides an explanation for the change. - Include any other global attributes inside the starting <blockquote> tag as appropriate.
- Inside the blockquote element, between the
<blockquote>
starting tag and the</blockquote>
ending tag, code the inner HTML flow content with the quoted text. - End the blockquote element with a matching
</blockquote>
closing tag.
Content of the blockquote element
The content of the blockquote element can include HTML comments, text content and any tags that can be used in flow content.