Knowledge Walls
Gopal Rao
Mumbai, Maharashtra, India
Passcode:
Simple example html5 in HTML5 Basics of HTML5 & CSS3 Examples
1030 Views
HTML5 
In HTML5 no need to follow strict code. if you write code without using <html>,<head>,<body> tags it remains work.But strict code recommened to follow, because It has some uniqueness.
HTML5 without <html>,<head>,<body>
<!DOCTYPE html>
<meta charset="UTF-8"/>
<title>Simple Example</title>
<p>Simple example in HTML5</p>
Demo 
HTML5 strict code
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8"/>
        <title>Strict HTML5</title>
    </head>
    <body>
        <p>Simple example in HTML5</p>
    </body>
</html>
Demo 
Next
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details