Can somebody explain why this HTML document won't validate as HTML5 (using http://validator.w3.org/)? I get three errors:
- Line 1, Column 33: Element head is missing a required instance of child element title.
- Line 2, Column 16: Stray start tag html.
- Line 2, Column 16: Cannot recover after last error. Any further errors will be ignored.
<!DOCTYPE html> //Random comment
<html lang="sv"> //Random comment
<head>
<meta charset="utf-8" /> //Random comment
<title>Startsida - Läxhjälpen</title> //Random comment
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link href="laxhjalpen.css" rel="stylesheet" /> //Random comment
</head>
<body class="startpage"> //Random comment
<header> //Random comment
<div class="hwrap"> //Random comment
<a href="./"><img class="logo" alt="Startsidan" src="./Images/laxlogo.png" /></a> //Random comment
<h1>Läxhjälpen</h1> //Random comment
</div>
<p class="tagline">Vi hjälper dig att förstå!</p> //Random comment
</header>
//Random comment
<section class="menu"> //Random comment
<h2><a href="om-oss.html">Om oss <span style="color:blue;">〠</span></a></h2>
<p>Man måste inte vara plugghäst för att kunna plugga. Vi själva är exempel på det.</p>
</section>
<section class="menu"> //Random comment
<h2><a href="arbeten.html">Vad vi gör <span style="color:grey;">⌘</span></a></h2>
<p>Vi hjälper dig att plugga alla ämnen i skolan och förbereda dig för prov på bästa möjliga sätt.</p>
</section>
<section class="menu"> //Random comment
<h2><a href="blog.php">Blogg ✪</a></h2>
<p>Ta del av andra människors erfarenheter med vår tjänst.</p>
</section>
<section class="menu"> //Random comment
<h2><a href="contact.php">Kontakt ☎</a></h2>
<p>Kontaktformulär, telefonnummer och adresser för att kontakta oss.</p>
</section>
<footer>
<small>© Måns Nilsson AB</small> //Random comment
</footer>
</body>
</html>
//Random comments? - j08691