Tim Arnold wrote:

The beauty of CSS is that you can style your H2s to be larger than
your H1s.

There's even more beauty: you can style some text as prominently as you like without even making it a heading at all. It often happens that people want to highlight e.g. a company name or a campaign name appearing before a page heading. Normally such texts are logically not headings at all, and there's no need to use heading markup for them. You can use <div> markup, typically with a class attribute, and style the element "from scratch". The difference between this approach and using heading markup is that the latter implies, in practice, some default rendering (typically, top and bottom margin, large font size, and bolding), and you need to explicitly override it if you don't want it.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to