Is it necessary to write <html>, <head> and <body> tags?

For example, I can make such a page:

<!DOCTYPE html>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <title>Page Title</title>
    <link rel="stylesheet" type="text/css" href="css/reset.css">
    <script src="js/head_script.js"></script><!-- this script will be in head //-->


<div>Some html</div> <!-- here body starts //-->

    <script src="js/body_script.js"></script>

And Firebug correctly separates head and body:

Enter image description here

The W3C validator says it’s valid.

But I rarely see this practice on the web.

Is there a reason to write these tags?

6 Answers
6

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *