On Tue, 14 Oct 2008 19:09:50 -0400
Came this utterance fomulated by Twayne to my mailbox:

> Hi,
> 
> I can't seem to find an answer in the CSS manuals/tuts/google etc.; 
> thuoght I'd try here.  No big dea either; more a curiousity issue than
> anything else.
> 
> Other than readability and "best practices" possibly, is it actually 
> necessary to end an Hn section?  In quickly throwing together a form 
> just now I accidentally left out all but the last closing H header
> size. And everything worked perfectly well.  In other words:
> <H1> Title
> <H2> Sub Title
> <H4> text, text, text,form, text, text
> <H6> copyright text, symbol, owner clarifications, etc.
> </H6>
> 

Nothing to do with CSS and freckle all to do with OO.o. But i'm a sucker
so i'll bite.

This is quite legal HTML but not XHTML. It is a bad practise that was
not discouraged in the early days where every byte slowed down the
network and took a relevant spot on your disk drive. It is discouraged
now as it requires knowledge to follow which elements are block level
(and consequently self close when another block element opens) and which
are not. 

Do you know if a <p> element closes when you start a <cite> or a
<blockquote> element?

In other words - for future proof code close all elements with the
appropriate tag. It is a safer writing style and allows you to convert
from HTML to XHTML with minimum fuss. Similarly for future use avoid
capitals in elements, they are not legal in XHTML.

http://www.w3schools.com/html/html_primary.asp

This example from w3schools shows what you are talking about. My main
beef here is they confuse the word tag with element. They also do not
always conform to the standards with their examples.

-- 
Michael

All shall be well, and all shall be well, and all manner of things shall
be well

 - Julian of Norwich 1342 - 1416

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to