> 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.

Hmm, thanks, that puts it in a context that feels better to me.  I've 
managed to get away from the caps OK; just used them for emphais more or 
less in my post, but don't use caps in real life.  I've noticed they 
aren't used in XHTML and so made the switch anyway.  Now if I could just 
remember to reliably put all the "/" s and "\"s  where they belong! <g>

I probably should have indicated this was OT but ... CSS kinda did that 
for me anyway.  Interestingl enough I can't locate a CSS group; that 
sort of surprised me. Lots of Google hits & half-fast info, but ... not 
even the tuts are accurate, it seems.

Cheers & thanks,

Twayne




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

Reply via email to