
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">
<head>
<meta charset="UTF-8">
<title>Example document</title>
</head>
<body>
<p>This is some text.</p>
<p>This is more text.</p>
</body>
</html>