For those of us who've been using HTML5 for a long time, it's been a bit frustrating to step back to those old divs. Now we finally have the element we've been waiting for <main>. Now look at our page.
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<header>
<h1>This is the header</h1>
</header>
<main>
<p>The main content</p>
</main>
<footer>Copyright mine</footer>
</body>
</html>
No comments:
Post a Comment