How should <blockquote> be used?
On the semantic, not one sentence can explain the white, and now there is no official very strict definition. About
<blockquote>There is no dispute that:
1. Quote a longer text
2. You can use cite tags or properties
The problem is that <blockquote> quoted text must be included with block-level elements?
The first is from The ConsortiumThe explanation
9.2.2 quotations:the BLOCKQUOTE and Q elements<! ELEMENT BLOCKQUOTE--(%block;|script) +--long quotation-->
<! Attlist BLOCKQUOTE
%attrs; --%coreattrs,%i18n,%events--
Cite%uri; #IMPLIED--URI for source document or MSG--
>
<! ELEMENT Q--(%inline;) *--short inline quotation-->
<! Attlist Q
%attrs; --%coreattrs,%i18n,%events--
Cite%uri; #IMPLIED--URI for source document or MSG--
>
The two notes contain the reference text named for the content. BLOCKQUOTE is used for long text references (Block-level content) while Q is used for short text references (inline content) and does not allow the quoted sentence to be incomplete.
The text of this example comes from "The Two Towers", the author J.r.r. Tolkien, the most reference text. <blockquote cite= "http://www.mycom.com/tolkien/twotowers.html ">
<p>they went in single file, running like hounds on a strong scent,and a eager light is in their. Nearly due west The broad swath of the marching orcs tramped its ugly slot; The sweet grass of Rohan had been bruised and blackened as they passed.</p>
</BLOCKQUOTE>
http://www.456bereastreet.com/lab/developing_with_web_standards/structure/
This article is the application of Web standards for development, which mentions some tags on the semantics of the following excerpt is <blockquote>
For longer quotations so form one or more paragraphs, the <blockquote> element should to be used. CSS can then be used to style the quotation. Note This text is not allowed directly inside a <blockquote> element–
it must is contained in a element, usually a <p> element.
Example:<blockquote cite= "http://www.w3.org/TR/1999/REC-html401-19991224/
Struct/text.html ">
<p> "The following sections discuss issues surrounding the structuring of text. Elements that present text (alignment Elements, font Elements, style sheets, etc.) are discussed elsewhere in the specific ation. For information about characters, please consult the section on the document character set. </p>
</blockquote>
Http://24ways.org/advent/transitional-vs-strict-markup
This article is about transitional-vs-strict, transition and standard XHTML, which refers to the difference between the content model, the content of < blockquote>, in strict, the referenced content must use block-level elements to include it , usually in <p>,<div>.
Content Model Differences
An element type ' s content model describes what may is contained by a instance of the element type. The most important difference in content models between transitional and Strict are that blockquote, body, and form element s May is only contain blocks level elements. A few examples:
- Text and images are not allowed immediately inside the "BODY element," and "need to is contained in a blocks level element lik e P or Div
- Input elements must not is direct descendants of a FORM element
- Text in blockquote elements must is wrapped in a blocks level element like P or div
So, I think that in the strict type you have to include the reference text in a block-level element, but not in a strict type, but this is recommended because the strict document is more restrictive and backwards compatible.