Forum Statistics

  • Forum Members: 4,499
  • Total Threads: 3,656
  • Total Posts: 22
There are 1 users currently browsing forums.

Partner Sites

Reply
Old 04-03-2007, 09:28 AM   #1 (permalink)
 
Status: Exiled From FG
Join Date: Mar 2007
Posts: 221

Rep Power: 0 randle is on a distinguished road



Default Whats the difference?

Whats the difference between Html and xhtml? Isn't that the same thing and if not what makes them so different. I ran into a site that does xhtml but all i know html for now.
randle is offline Add Infraction for randle   Reply With Quote
Old 04-04-2007, 12:46 AM   #2 (permalink)
 
Status: People Love Me
Join Date: Mar 2007
Posts: 308

Rep Power: 52 mtajim is on a distinguished road

Send a message via MSN to mtajim Send a message via Yahoo to mtajim


Default

HTML is older version and xHTML is a newer one based on XML , since in xml you have to maintain the disciple while coding , you cannot leave your tags open and there are many new issues with xml so xHTML was made on the base of XML so that sites can be more and more W3C compliant .
mtajim is offline Add Infraction for mtajim   Reply With Quote
Old 04-04-2007, 03:48 PM   #3 (permalink)
 
Status: Exiled From FG
Join Date: Mar 2007
Posts: 221

Rep Power: 0 randle is on a distinguished road



Default

So since you say that there is problems of some sort is xhtml better or worse than html?
randle is offline Add Infraction for randle   Reply With Quote
Old 04-04-2007, 11:46 PM   #4 (permalink)
 
Status: People Love Me
Join Date: Mar 2007
Posts: 308

Rep Power: 52 mtajim is on a distinguished road

Send a message via MSN to mtajim Send a message via Yahoo to mtajim


Default

There is not any problem in any language , i think you mis understood me ,

Main thing is that:

HTML is easy to code and you dont have to maintain the discipline while coding html
for example : you can open a tag in html and dont have to close it , this will work in html

but in Xhtml

if you open a tag you have to close it compulsorily else your whole site wont work , it will show a error

I hope you understand
mtajim is offline Add Infraction for mtajim   Reply With Quote
Old 04-05-2007, 12:08 AM   #5 (permalink)
 
Status: On a mission
Join Date: Apr 2007
Posts: 35

Rep Power: 24 10cents is on a distinguished road



Default

Quote:
Originally Posted by randle View Post
So since you say that there is problems of some sort is xhtml better or worse than html?
Hi!

In addition to what mtajim said, the web is supposed to go the way of XML, which is, well, a different beast from HTML. However, we can't go directly from HTML to XML, as that would leave 99% of the web in the dark.

So W3C developed a compromise to bridge that gap, XHTML. So it looks something like this:

HTML ==> XHTML ==> XML

If you are just starting to code in HTML, it would be better to start in the right footing and go with XHTML. Actually, there's not much of a difference between the two, XHTML only being unforgiving. :D

You can find a list of tags accepted by XHTML HERE.

For a more definitive differentiation of HTML and XHTML, go HERE.

Hope that helps.

:D
10cents is offline Add Infraction for 10cents   Reply With Quote
Old 04-05-2007, 10:20 AM   #6 (permalink)
 
Status: Exiled From FG
Join Date: Mar 2007
Posts: 221

Rep Power: 0 randle is on a distinguished road



Default

Ok ok ok I started out with a simple question and got a huge complex anser, I'm so confused lol. Great thanks guys.
randle is offline Add Infraction for randle   Reply With Quote
Old 04-05-2007, 10:20 PM   #7 (permalink)
 
Status: On a mission
Join Date: Mar 2007
Posts: 46

Rep Power: 25 britjojo is on a distinguished road



Default

The KISS version would be;

HTML is very forgiving, allowing you to break rules left right and center. The web is moving towards compliance with a set of standards set by W3org. XHTML is used to STOP you breaking the rules. You gotta get it right or your page won't work.

Any help?
britjojo is offline Add Infraction for britjojo   Reply With Quote
Old 04-06-2007, 02:31 AM   #8 (permalink)
 
Status: People Love Me
Join Date: Mar 2007
Posts: 308

Rep Power: 52 mtajim is on a distinguished road

Send a message via MSN to mtajim Send a message via Yahoo to mtajim


Default

Thats right , now you cannot break rules as before , html may be gone in few years then it will be the ugly XML ruling every place , aah i just hate to see that XML code , its all messed up , ,,. soory
mtajim is offline Add Infraction for mtajim   Reply With Quote
Old 04-06-2007, 12:04 PM   #9 (permalink)
 
Status: Exiled From FG
Join Date: Mar 2007
Posts: 221

Rep Power: 0 randle is on a distinguished road



Default

Aww man and just when I have gotten to know html. I have gotten so comfortable with html that I would go crazy if I had to learn xhtml. For which it comes off to be a little confusing.
randle is offline Add Infraction for randle   Reply With Quote
Old 04-06-2007, 06:33 PM   #10 (permalink)
 
Status: On a mission
Join Date: Mar 2007
Posts: 46

Rep Power: 25 britjojo is on a distinguished road



Default

Technically speaking, if you learn HTML well and correctly then XHTML isn't that hard. The problems come when what you have learned is full of short cuts and errors.
britjojo is offline Add Infraction for britjojo   Reply With Quote


Reply

Bookmarks

Tags
None


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may post new threads
You may post replies
You may post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.5.0 RC2