We add this one line at the top of our previous document. The line is.
Our updated helloworld document will be as:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
hello world html5
</body>
</html>
This line
<!DOCTYPE html>
inform the browser that the document is valid html5 document
live demo on codepen
<html>
<head>
</head>
<body>
hello world html5
</body>
</html>
See the Pen bNMVPy by aslam (@aslamwaqar) on CodePen.
No comments:
Post a Comment