James Gray wrote:
On Fri, 11 Feb 2005 12:37 pm, Gavin Carr wrote:
On Fri, Feb 11, 2005 at 12:03:12PM +1100, Voytek wrote:
No, you need to wrap <p> </p> around every paragraph, and end upI 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
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??
Yep all tags must have a closing tag unless you have ones such as <br> and <img> in which case you use <br /> and <img />
Just curious...
James
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html