Page 2 of 2

Re: Text Code ?!

Posted: Wed Apr 13, 2011 2:00 pm
by Axel
Its html lol you can just use <br> but in xhtml you really need <br /> :P

Re: Text Code ?!

Posted: Wed Apr 13, 2011 2:14 pm
by mikethedj4
Axel wrote:
Its html lol you can just use <br> but in xhtml you really need <br /> :P
After reading that statement it looks to me as if you really need to read about HTML, and XHTML.

Additionally you should probably look at Differences Between XHTML And HTML by w3schools.com

Re: Text Code ?!

Posted: Wed Apr 13, 2011 2:53 pm
by Axel
mikethedj4 wrote:
Axel wrote:
Its html lol you can just use <br> but in xhtml you really need <br /> :P
After reading that statement it looks to me as if you really need to read about HTML, and XHTML.

Additionally you should probably look at Differences Between XHTML And HTML by w3schools.com
In html it shouldn't be that precisely
but in xhtml it should lol
oh and I'm a noob in web developing so don't judge me loll

Re: Text Code ?!

Posted: Wed Apr 13, 2011 3:34 pm
by mikethedj4
Dude <br> and <br /> both do the same thing, yes <br> is HTML (HyperText Markup Language), and <br /> is XHTML (Extensible HyperText Markup Language) however xhtml, and html both are closely related. Most of my coding is a mixture with HTML, and XHTML, but that's how I learned coding, and created my own style, it just depends on the user.

Re: Text Code ?!

Posted: Wed Apr 13, 2011 4:27 pm
by Napster1488
Ok Thanks Guys,ill try it.

Re: Text Code ?!

Posted: Wed Apr 13, 2011 5:01 pm
by Codex
xHTML:

Right-
Code: Select all
A break: <br />
A horizontal rule: <hr />
An image: <img src="happy.gif" alt="Happy face" />
Wrong-
Code: Select all
A break: <br>
A horizontal rule: <hr>
An image: <img src="happy.gif" alt="Happy face">
So, it needs to be <br /> in xHTML

Re: Text Code ?!

Posted: Wed Apr 13, 2011 5:33 pm
by mikethedj4
Your are correct as that is how it's suppose to be, however it does work either way. Just put it in bHTML, and mix them together, and they work, that's all I've been saying.

Re: Text Code ?!

Posted: Wed Apr 13, 2011 9:05 pm
by mandai
The idea of the XHTML standard is to ensure compatibility between different web browsers. A document should only use 1 standard, or else the output may be unpredictable between different browsers.

Re: Text Code ?!

Posted: Wed Apr 13, 2011 9:36 pm
by Napster1488
Thanks Guys,that <br /> Thing works like a Charm!
Now i can move on with my hp.
Big Thanks you Guys are the Best :)

Re: Text Code ?!

Posted: Wed Apr 13, 2011 10:59 pm
by mikethedj4
mandai wrote:
The idea of the XHTML standard is to ensure compatibility between different web browsers. A document should only use 1 standard, or else the output may be unpredictable between different browsers.
True!

Let me get this straight though, xHTML is an HTML, and XML hybrid, however it's a markup language written in XML, which makes it an XML language sort to speak. Right?
Napster1488 wrote:
Thanks Guys,that <br /> Thing works like a Charm!
Now i can move on with my hp.
Big Thanks you Guys are the Best :)
No problem bro