CLOSE

DOCTYPE Tag

The <!DOCTYPE> tag should be the first thing in your web pages. It is used to tell the browser which version of HTML to use.

<!DOCTYPE html>
<html>
    <head>
        <title>My page using HTML5</title>
    </head>
    <body>
        The browser knows to use HTML 5 here.
    </body>
</html>
Expand

The DOCTYPE in the above example tells the browser we're using HTML5.

Help Us to Help You

This website and it's tutorials are only made possible with your support. Support money goes towards keeping our servers online.

Amount

Link to Us

Spread the word! Let people know about our tutorials by placing links on blogs, websites, forums and other places.

HTML Link

Copyright 2019 Step By Step HTML. All Rights reserved.