Little Web Hut

HTML5 Video Tutorial

Part 1 - The Basics

HTML5 Tutorial part 1

The following code is from the Video.

Basic HTML5 Document.

This HTML5 example starts with a DOCTYPE followed by an html element. The html element has a lang attribute that specifies the language of the document. Inside the html element there is a head element followed by a body element. The head element contains information about the HTML document. The body element contains the main content of the HTML document.

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <title>Example document</title>
    <p>This is some text.</p>
    <p>This is more text.</p>
Test It HTML5 Style