[thelist] <P> vs. <BR><BR>

Matthew Brooks m at pleonasm.com
Tue Jul 17 12:43:45 CDT 2001


Tony Grimes <algrimes at acs.ucalgary.ca> wrote:
>     Yes, of course, I meant <P></P>. It's just that I was taught to use
><BR><BR> long ago (by one of the list admins actually) and I'm having a
>devil of a time breaking out of the habit.

And if you want to conform to XHTML guidelines, these need to be lowercase,
and all tags need to be closed. So:

<P></P> becomes <p></p>
<BR> becomes <br />

Of course, this doesn't apply if you're declaring an HTML DTD instead of an
XHTML DTD.

Matt





More information about the thelist mailing list