W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] <BIG> Element

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sat, 14 Jan 2006 11:01:45 +1100
Message-ID: <43C83F69.8020009@lachy.id.au>
Eugene T.S. Wong wrote:
> A semantic markup language can't possibly have every single type of 
> semantic out there. There are some cases that are so rare, that it would 
> be a waste to define them. Sometimes <BIG> really does convey something. 
> For example:
> 
> <P>I said, "<BIG>NO!</BIG>".</P>
> <P><BIG>YES!!</BIG> I will do it!</P>
> <P><BIG><BIG>NO!</BIG></BIG> You will not!</P>
> <P><BIG><BIG>YES!!</BIG></BIG> I will do it!</P>
> <P><BIG><BIG><BIG>NO!</BIG></BIG></BIG> You will not!</P>
> <P><BIG><BIG><BIG>YES!!</BIG></BIG></BIG> I will do it!</P>
> <P><BIG><BIG><BIG><BIG>NO!</BIG></BIG></BIG></BIG> You will not!</P>
> <P><SMALL>Oh, alright...</SMALL></P>

No, your using a presentational element where a suitable semantic 
element already exists.  It is irrelevant that it doesn't have the 
default styling that you want from big, but that can be handled with 
CSS.  That example should be marked up like this:

<p>I said, "<em>NO!</em>".</p>
<p><em>YES!!</em> I will do it!</p>
<p><em><em>NO!</em></em> You will not!</p>
<p><em><em>YES!!</em></em> I will do it!</p>
<p><em><em><em>NO!</em></em></em> You will not!</p>
<p><em><em><em>YES!!</em></em></em> I will do it!</p>
<p><em><em><em><em>NO!</em></em></em></em> You will not!</p>
<p>Oh, alright...</p>

em { font-size: larger; }

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Friday, 13 January 2006 16:01:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:44 UTC