note 34625 added to function.nl2br

From: Date: Fri, 01 Aug 2003 15:14:00 +0000
Subject: note 34625 added to function.nl2br
Groups: php.notes 
Request: Send a blank email to php-notes+get-53145@lists.php.net to get a copy of this message
In response to X-Istence.com's comment that <br /> is not valid HTML 4.01.... Yes, it is. There is nothing in the HTML 4.01 specification that says that it is not valid, and www.w3.org's HTML validator service does not flag the usage of <br /> as an error. Besides, you should really be using XHTML 1.1 code by now anyway. :) ---- Manual Page -- http://www.php.net/manual/en/function.nl2br.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34625 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34625&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34625&report=yes

« previous php.notes (#53145) next »