Reply to Re: A question about XHTML 2.0

Your name:

Reply:


Posted by Jukka K. Korpela on 02/02/06 08:15

John Salerno <johnjsal@NOSPAMgmail.com> wrote:

> I was reading about the aims for XHTML 2.0 and I noticed that
> instead of having h1-h6 elements, they will use <section> and <h>
> elements to better structure the content.

Yes. I hope you noted that XHTML 2.0 is just a working draft (and not
even a complete draft), and it will probably take years before it
becomes a specification and a recommendation (if that ever happens).

> But I was wondering, if
> you use this method, how would it be possible to style nested <h>
> elements within a section?

You would use contextual selectors in CSS. Even in existing CSS, you
could use e.g.
h { font-size: 150%; }
section h { font-size: 130%; }
section section h { font-size: 110%; }

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация