boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

<br /> and <br>

 
Post new topic   Reply to topic    boardom Forum Index -> PHP help
View previous topic :: View next topic  
Author Message
Opal



Joined: 15 May 2003
Posts: 7

PostPosted: Fri May 16, 2003 2:29 am    Post subject: <br /> and <br> Reply with quote

I've been wondering about the different break tags.. they both appear to do the same thing to a php page visually, so what's the difference, and does it matter which one I use? I also noticed /> on the end of a form input tag on the cafelog.com index, so I'm thinking maybe that's just a php thing or something.
_________________
opal.idle.nu
Back to top
View user's profile Send private message Visit poster's website
Mister44



Joined: 31 Oct 2002
Posts: 237
Location: Philadelphia, PA, USA

PostPosted: Fri May 16, 2003 3:26 am    Post subject: Reply with quote

<br /> is valid for xhtml. <br> is not.
Back to top
View user's profile Send private message Visit poster's website
moose



Joined: 04 May 2003
Posts: 196
Location: Winnipeg Canada

PostPosted: Sun Jun 01, 2003 8:12 pm    Post subject: Reply with quote

With XML or XHTML, all tags that dont close themselves, like <input> or <br> or <hr> for example need to be closed to XML/XHTML knows that its closed. So you would need to change it to <input />, <br />, <hr /> and so on.
Back to top
View user's profile Send private message Visit poster's website
Opal



Joined: 15 May 2003
Posts: 7

PostPosted: Mon Jun 02, 2003 5:59 pm    Post subject: Reply with quote

PHP isn't XHTML...right? (I don't really really know much about scripting languages beyond HTML, lol.)
_________________
opal.idle.nu
Back to top
View user's profile Send private message Visit poster's website
blackbook



Joined: 19 Jun 2003
Posts: 9
Location: Cacem

PostPosted: Thu Jun 19, 2003 8:06 pm    Post subject: Reply with quote

PHP is a server-side scripting language
XHTML is the evolution of HTML, a client-side hypertext language

useful:
http://www.w3schools.com/xhtml/xhtml_html.asp
_________________
Blackbook
Main weblog: http://blackbook.pt-journal.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> PHP help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group