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 #175510 is a reply to message #175508] Mon, 03 October 2011 12:48 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 10/3/2011 7:42 AM, Jeff Gaines wrote:
> On 03/10/2011 in message <j6c64g$joe$2(at)dont-email(dot)me> Jerry Stuckle wrote:
>
>> Which isn't valid on html - only xhtml or xml.
>
> There seems to be confusion about whether or not the / is optional. In
> reality, of course, all browsers honour it.
>

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.

You are much better off conforming to the spec so the browser doesn't
have to guess at what you want.

Additionally, <br> does not have the same effect as <p>...</p>.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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: Tue Nov 26 22:47:27 GMT 2024

Total time taken to generate the page: 0.05034 seconds