|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Our Main Sponsor - FreelancerStore.com | |
|
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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.
|
| Sponsored Links |
|
|||
|
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 .
|
|
|||
|
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 |
|
|||
|
Quote:
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 |
|
|||
|
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? |
|
|||
|
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
|