Yes it is required. all tags must be closed in order for it to be xhtml compliant. Hence the changes so a <br> is now <br />, it includes a closure of the tag. Browsers in general don't worry about it though, but it does help with readability and all that imo.
On Fri, 11 Feb 2005 14:29:13 +1100, James Gray <[EMAIL PROTECTED]> wrote: > On Fri, 11 Feb 2005 12:37 pm, Gavin Carr wrote: > > On Fri, Feb 11, 2005 at 12:03:12PM +1100, Voytek wrote: > > > I need to place contents of word files on a web pages; > > > I've sorted catdoc/charset to output correct codepage text files, > > > > > > catdoc -scp1250 -d8859-2 381.rtf > 381.php > > > > > > but, then I need to insert '<br><br>' after every paragraph > > > > No, you need to wrap <p> </p> around every paragraph, and end up > > with nice compliant xhtml. This is the 21st century, after all. ;-) > > I thought the closing </p> was optional? I know syntactically, leaving the > closing paragraph tag will be interpretted correctly by any modern browser, > but is it explicity a requirement to be xhtml compliant?? > > Just curious... > > James > -- > Children are unpredictable. You never know what inconsistency they're > going to catch you in next. > -- Franklin P. Jones > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- Menno Schaaf aka ginji irc.austnet.org #gentoo #linux-help irc.ifirc.net #linux -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
