HTML versions
Since its creation, there have of course been several different versions and flavors of HTML. The most notable are HTML4, XHTML, and HTML5:
- HTML4: This is the last of a series of versions of HTML and is what most people will implicitly refer to when they talk about HTML.
- XHTML: This is a different definition of HTML and an attempt to make HTML a member of the XML family, giving it more strict rules. An advantage is that it would be easier to use tools and languages that are intended to manipulate and translate XML documents. However, interest in maintaining that standard seems to have faded.
- HTML5: This is the newest kid on the proverbial HTML block. A lot of books have been published about it and, if you have read one of them, you will have discovered that HTML5 is more than just a new version of the markup language. Granted, it comes with quite a few new tags, such as the
<nav>
or<section>
tags. HTML5 also features the use of custom data attributes such asdata...