[whatwg] <BIG> Element

Lachlan Hunt lachlan.hunt at lachy.id.au
Fri Jan 13 16:01:45 PST 2006


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/




More information about the whatwg mailing list