[whatwg] Some discrepencies and example remarks
Tab Atkins Jr.
jackalmage at gmail.com
Mon Oct 12 13:59:48 PDT 2009
On Mon, Oct 12, 2009 at 1:56 PM, Yuvalik Webdesign
<postmaster at yuvalik.org> wrote:
>> From: Tab Atkins Jr.
>
>> > <iframe src="example1_jpg.html" name="detail">
>> >
>> > <p>
>> > A long story regarding the companies' origins and goals...
>> > </p>
>> >
>> > <div id="advert">...</div>
>> >
>> > <ul>
>> > <li><a target="detail" href="example1_jpg.html"><img
>> src="example1_thmb.jpg /></a></li>
>> > <li><a target="detail" href="example2_jpg.html"><img
>> src="example2_thmb.jpg /></a></li>
>> > <li><a target="detail" href="example3_jpg.html"><img
>> src="example3_thmb.jpg /></a></li>
>> > <li><a target="detail" href="example4_jpg.html"><img
>> src="example4_thmb.jpg /></a></li> </ul>
>> >
>
>
>> I don't think the markup should be any different. The thumbnails
>> still appear to be part of the content. The advert in the middle
>> should probably be an <aside>, though. ^_^
>>
>
> Ok, thanks. But shouldn't the <iframe> and the <p> be in separate <section>s? (seeing as they are not related to each other).
Depends. Would you put heading on each of those? If so, then sure.
That's the most basic determining criteria for if a <section> should
be used.
If you wouldn't, then no. Sometimes things just mash together like that.
~TJ
More information about the whatwg
mailing list