W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] Some discrepencies and example remarks

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 12 Oct 2009 15:59:48 -0500
Message-ID: <dd0fbad0910121359y38e297acqc147bf7f4ac9051f@mail.gmail.com>
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
Received on Monday, 12 October 2009 13:59:48 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:18 UTC