Tech Junkie Blog - Real World Tutorials, Happy Coding!: HTML5 Page Template

Sunday, June 19, 2016

HTML5 Page Template

A little bit fancier, you want to specify the language and character set:

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title></title>
    </head>
    <body>
        
    </body>
</html>

This is the bare minimum you need to write a HTML5 page:

<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
</body>
</html>

Previous: HTML5 Tags

3 comments:

Search This Blog