Register now or log in to join your professional community.
HTML5 is compatible with all types of browsers but the maintenance of XHTML is easier as well as it is easy to teach and learn as to HTML5. In HTML5 elements name are case insensitive while elements names are case sensitive and lower-case in XHTML. HTML5 provides the users with an ease of integrating different media as compared to XHTML. HTML5 allows like its predecessor developers to for more lenient code much to developers disappointment as compared to XHTML which reinforces strict and proper coding practises. HTML5 works better on various devices such as mobile phones and tablets while XHTML is best for computer screens.
So what is the right tool for the job? There is no conclusive answer to the question of HTML5 being superior to XHTML. The advantages and benefits depend on how one uses both languages. For a web content having media elements that should display well on various devices HTML5 supersedes XHTML but if web content has to be seen only for computer screens XHTML is a better choice as it is already known to the developers.
you could find your answer here
hello
html is old one for web devlope
now we use html5 that have alot of new codes like {aside-section-content-header-footer]
and that to make the website work for all browsers
i prefer sure to use html5
then if you need to know what is xhtml
it is very simple to know
that language is the mix between the php and html5 to use it in php
Html5 is the latest version in HTML family, Its latest and rich in features thats why HTML5 is mostly used by web developers.
HTML5 allows you the option to use Custom attributes in your project and it's the most recommended to use from the web developers
Dear,
HTML5 have new tags and new element like ( nav - header - footer - artical - aside - etc......) it is fast to build your own code much better then html,xhtml.
all new web site or portals must contain html5 coding.
XHTML 1.0 is a transposition in XML syntax of HTML 4. The difference si only on the syntax, which is more strict un XML (and then in XHTML 1.0) than in HTML 4.0
HTML5 inherits many similarities with HTML4, and sees in parallel many elements redefined in their semantics. Also new elements are added to this new version which accepts an HTML or XHTML syntax.
On July 2, 2009 the W3C officially announced the abandonment of the development of the XHTML 2 in order to devote itself entirely to its new successor: the HTML 5.
So, to resume, XHTML is deprecated since 7 years and developers have to use HTML 5.0.