Text Code ?!
Its html lol you can just use <br> but in xhtml you really need <br /> :P
Axel wrote:Its html lol you can just use <br> but in xhtml you really need <br /> :PAfter 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
mikethedj4 wrote:In html it shouldn't be that preciselyAxel wrote:Its html lol you can just use <br> but in xhtml you really need <br /> :PAfter 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
but in xhtml it should lol
oh and I'm a noob in web developing so don't judge me loll
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.
xHTML:
Right-
Right-
Code: Select all
Wrong-
A break: <br />
A horizontal rule: <hr />
An image: <img src="happy.gif" alt="Happy face" />
Code: Select all
So, it needs to be <br /> in xHTMLA break: <br>
A horizontal rule: <hr>
An image: <img src="happy.gif" alt="Happy face">
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
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.
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.
Thanks Guys,that <br /> Thing works like a Charm!
Now i can move on with my hp.
Big Thanks you Guys are the Best
Now i can move on with my hp.
Big Thanks you Guys are the Best

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!No problem bro
Now i can move on with my hp.
Big Thanks you Guys are the Best
Copyright Information
Copyright © Codenstuff.com 2020 - 2023