HTML or XHTML?
June 30, 2007 5:11pm CST
Which one should I use? HTML is easy and I've been using it for a while now but XHTML is a lot more advanced (or so I've heard) and you can do more with it! Can someone please help?
• United States
30 Jun 07
XHTML while maybe more advanced, it is more or less the same as HTML and not a whole new language. It's a little more strict and the documents have to be valid. I've noticed that with my own experience. There is nothing wrong with HTML and you can still use it if you prefer to do so. Does that help any?
5 Jul 07
XHTML 1.0 is a 'reformulation of HTML 4 as an XML 1.0 application', in other words, it is an XML-based markup language that has the same set of element types and attributes as HTML 4. For a Web designer, starting to use XHTML 1.0 will be helpful in some circumstances and will certainly help you to smoothly negotiate the future. XHTML 1.0 gives a wonderful opportunity to learn about XML languages and their possibilities without having to learn new semantics because you’re working with familiar tags and attributes.
1 Jul 07
In fact, HTML and XHTML are almost same. The differences between them really small, and using XHTML can be helpful for you website and for it's standards. In many ways, XHTML complites the HTML. XHTML is much more clean, punctilious than HTML but also similar. For example, in XHTML it's important to write all tags on lowercase etc... I think you might use any of the languages and HTML is good to, but if you want something more clean and punctilious you should use XHTML.