Text Code ?!

20 posts Page 2 of 2
Contributors
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: Text Code ?!
Axel
Its html lol you can just use <br> but in xhtml you really need <br /> :P
http://vagex.com/?ref=25000
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

Re: Text Code ?!
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
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: Text Code ?!
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
http://vagex.com/?ref=25000
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

Re: Text Code ?!
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.
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

Re: Text Code ?!
Napster1488
Ok Thanks Guys,ill try it.
YouTube Downloader v3.0
Image
Image
Image
User avatar
Codex
Coding God
Coding God
Posts: 2028
Joined: Wed Mar 31, 2010 5:50 pm

Re: Text Code ?!
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
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
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

Re: Text Code ?!
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.
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: Text Code ?!
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.
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

Re: Text Code ?!
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 :)
YouTube Downloader v3.0
Image
Image
Image
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

Re: Text Code ?!
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
20 posts Page 2 of 2
Return to “Tutorials”