"HTML5". It's currently a buzzword when it comes to web development; but what is it really? A radical transformation from HTML as we know it? Not exactly. The syntax and core concepts of HTML remain the same, but the advent of HTML5 has added some interesting and useful tweaks while eliminating some outdated practices. Let's take a look at some of the major changes.
New DOCTYPE
Starting from the top of your document, one of the first changes you'll encounter is the HTML5 doctype declaration; it's been simplified. Gone are the days of worrying about whether your code needed to follow STRICT or TRANSITIONAL standards; now if you want to tell the browser that your document is HTML you just need to start it with a declaration.
New Elements
One of the goals of HTML5 was a move toward more of a "semantic HTML", which means having your code be almost self-explanatory. This is accomplished by the addition of some new elements.
A basic, pre-HTML5, site layout might look something like this:
Wants to see how the code looks like?
<!DOCTYPE html><html><head><meta charset="UTF-8"><title>Title of the document</title></head><body>Content of the document......</body></html>
Open and text editor of your choice and paste the code above into it, save it with test.html as the file name and select all text file.
Wants to view it on the web?
simply follow this link HTML5 Introduction