|
Posted by jojo on 07/28/06 12:08
Jukka K. Korpela wrote:
>
> There's normally no reason to use "loose" text, i.e. text not wrapped in
> a block-level container. If it's a paragraph, make it a <p> element. If
> some other block level element applies, logically, use it. If there is
> no suitable semantic markup, use <div>, which means just a block level
> wrapper. You can then use a Strict doctype in order to test, using a
> validator, that you have really followed all the Strict rules.
>
I personally always try to follow the STRICT rules (but not XHTML, I use
HTML 4.01), so I do not know all of the many "don't do"s allowed in
TRANSITIONAL. I really would try to avoid "loose" text in (X)HTML, there
really is no point not to wrap it somewhere.
Navigation:
[Reply to this message]
|