W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2005

[whatwg] Re: <section> and headings and other threads

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 6 Apr 2005 12:45:07 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0504061236230.28334@dhalsim.dreamhost.com>

[Redirected to whatwg at whatwg.org. According to the mail headers in the 
message I received, you sent it to www-style at w3.org. I can't find it in 
the archives of either www-style nor whatwg, though.]

On Wed, 6 Apr 2005, Kornel Lesinski wrote:
> 
> If <address> applies only to the element it's in,
> some duplication may be needed:
> 
> My articles on my page:
> <body>
> 	<article>
> 		<address>me!</address>
> 	</article>
> 	<article>
> 		<address>me!</address>
> 	</article>
> 	<address>me!</address>
> </body>
> 
> I think best would be <address for=IDREFS>

I don't really understand. Why would you want to give the contact 
information for the inner articles if it is the same as for the section 
that contains them? The inner <article>s are part of the <body>. Contact 
information for the <body> applies to the whole <body>.


> Is text in <header> part of an article?

Sure, any element that is a descendant of an <article> is part of that 
<article>, even if it is also part of something else (such as a <header>).


> Is the following correct use of <header>?
> 
> <article class="breakingNews">
> 	<header>
> 		<h1>Something!</h1>
> 		<p>Introduction to the news, usually in bold</p>
> 	</header>
> 	<p>More info on the subject goes here</p>
> </article>

Seems reasonable to me.


> How about inline <aside>?
> For inline comments, explanations, translators notes, etc.
> 
> <p>Put the disc in the cd drive <aside>(that cup holder thingie)</aside></p>

<aside> is for what are typically rendered in printed media as floating 
sidebars. Short inline comments are catered for by the "title" attribute:

  <p>Put the disc in the <span title="that cup holder thingie">cd 
  drive</span></p>

...or, more typically, simply by marking the comment with parentheses, as 
you did in your example:

  <p>Put the disc in the cd drive (that cup holder thingie)</p> 

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 6 April 2005 05:45:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:22 UTC