Html-5 is the next version of Html-4, this is completed in October 2014.
Why use Html5
Html5 provides following features due to these lot of websites use Html5.
- Html5 is more power full and easier than Html4.
- It allows to play audio and video on browser
- Using Html5 you can draw shapes like circle, rectangle, triangle. Which is not possible in Html previous version
- In Html5 direct you can use header and footer tag for define Header and footer section
- Here <nav> tag are available for declare navigation.
- It provides local storage in place of cookies.
<!DOCTYPE> <html> <body> <h1>Html5 code.</h1> <p>This is my first Html5 code.</p> </body> </html>
This is my first Html5 code