Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Semantics scope of blockquote

From: Karl Dubost <karl@w3.org>
Date: Wed, 27 Sep 2006 09:54:52 +0900
Message-Id: <BC34EE1C-1D2E-4DB7-BD5B-93CCADF92DCE@w3.org>
To: XHTML-Liste <www-html@w3.org>

Before sending a formal comment to www-html-editor@w3.org

XHTML 2.0 doesn't define the semantics scope of blockquote element.


* Test Case

# partial XHTML 2.0 Test case for blockquote scope
<section>
<h>Collection of famous quotes</h>
<p>We collected quotes from different pages</p>

<blockquote cite="http://example.org/source ">
    <section>
       <h>Title in the text</h>
       <p>Here some text</p>
    </section>
</blockquote>

</section>
# end of test

* Discussion

The inner 'section' in the blockquote element doesn't have the same  
value than the section outside of blockquote element. Then they do  
not belong to the same semantics structure. Why it is important? For  
two main reasons (at least)
	1. You may want to analyze the semantics of a Web page and define  
algorithm for outline and structure.
	2. You may want to style sections inside blockquote and outside  
blockquote in a different way. (Yes there is a discussion going on  
www-style which is slightly related.)


Some opinions?

PS: The semantics model of elements in a global HTML is sometimes  
underdefined.

-- 
Karl Dubost - http://www.w3.org/People/karl/ 
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/ 
      *** Be Strict To Be Cool ***
Received on Wednesday, 27 September 2006 00:55:07 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.