[PHP] why is html code written like this? hr /

2002-09-02 Thread Victor

When I learned html it was always written like this: /hr now I see
people write it like this: hr /... why?

- Victor  www.argilent.com


__ 
Post your free ad now! http://personals.yahoo.ca

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] why is html code written like this? hr /

2002-09-02 Thread Adrian Murphy

thats xhtml - it's xml comliant html.
tags must be closed so a tag like hr which didn't
have a closing tag is written hr / 
so,for example in php the nl2br() function now produces
br / instead of the old br
- Original Message - 
From: Victor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 02, 2002 12:16 PM
Subject: [PHP] why is html code written like this? hr /


 When I learned html it was always written like this: /hr now I see
 people write it like this: hr /... why?
 
 - Victor  www.argilent.com
 
 
 __ 
 Post your free ad now! http://personals.yahoo.ca
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] why is html code written like this? hr /

2002-09-02 Thread Victor

Ok, but is this kind of html compliant with old browsers like Netscape
4? Is it compliant with most new browsers?

- Victor  www.argilent.com

-Original Message-
From: Adrian Murphy [mailto:[EMAIL PROTECTED]] 
Sent: Monday, September 02, 2002 7:13 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] why is html code written like this? hr /

thats xhtml - it's xml comliant html.
tags must be closed so a tag like hr which didn't
have a closing tag is written hr / 
so,for example in php the nl2br() function now produces
br / instead of the old br
- Original Message - 
From: Victor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 02, 2002 12:16 PM
Subject: [PHP] why is html code written like this? hr /


 When I learned html it was always written like this: /hr now I see
 people write it like this: hr /... why?
 
 - Victor  www.argilent.com
 
 
 __

 Post your free ad now! http://personals.yahoo.ca
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

__ 
Post your free ad now! http://personals.yahoo.ca

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] why is html code written like this? hr /

2002-09-02 Thread Brian V Bonini

The entire point of xx / is backwards compatibility. Read the spec
http://www.w3.org/TR/xhtml1/

-B

 -Original Message-
 From: Victor [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 02, 2002 7:35 AM
 To: 'Adrian Murphy'; [EMAIL PROTECTED]
 Subject: RE: [PHP] why is html code written like this? hr /


 Ok, but is this kind of html compliant with old browsers like Netscape
 4? Is it compliant with most new browsers?

 - Victor  www.argilent.com

 -Original Message-
 From: Adrian Murphy [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 02, 2002 7:13 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: [PHP] why is html code written like this? hr /

 thats xhtml - it's xml comliant html.
 tags must be closed so a tag like hr which didn't
 have a closing tag is written hr /
 so,for example in php the nl2br() function now produces
 br / instead of the old br
 - Original Message -
 From: Victor [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, September 02, 2002 12:16 PM
 Subject: [PHP] why is html code written like this? hr /


  When I learned html it was always written like this: /hr now I see
  people write it like this: hr /... why?
 
  - Victor  www.argilent.com
 
 
  __

  Post your free ad now! http://personals.yahoo.ca
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 

 __
   Post your free ad now! http://personals.yahoo.ca
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php