FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Question about new lines
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Question about new lines [message #175515 is a reply to message #175514] Mon, 03 October 2011 13:49 Go to previous messageGo to previous message
Robert Heller is currently offline  Robert Heller
Messages: 60
Registered: December 2010
Karma:
Member
At 3 Oct 2011 13:05:18 GMT "Jeff Gaines" <jgaines_newsid(at)yahoo(dot)co(dot)uk> wrote:

>
> On 03/10/2011 in message <j6cau7$hu5$1(at)dont-email(dot)me> Jerry Stuckle wrote:
>
>> Whether browsers honor it or not is immaterial. It is directly against
>> the HTML spec, and attempts to validate pages with such ops will fail.
>> Just because browsers currently support it does not mean future browsers
>> will support something that violates the spec. It's also very sloppy
>> programming.
>
> I use it on all my web sites and they all validate 100%.

They would with a DOCTYPE like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Note: 'XHTML' above...

*XHTML* requires the </p> tag and <br /> and would raise at least a
warning if </p> were missing or there were br's with out the / (<br>).

Plain HTML4 does not need the </p> and should not support the <br />
tags (whether browsers browsers honor it or not).


--
Robert Heller -- 978-544-6933 / heller(at)deepsoft(dot)com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: comparing dates?
Next Topic: hai
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 19:48:00 GMT 2024

Total time taken to generate the page: 0.06160 seconds