Hosting Guide

HTML5 Valid Basic Page Structure

Summary

The following gives you the basic code to build an HTML5 compliant web page with meta tags.

The markup

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Example Title</title>
<link rel="index" title="Example Title" href="http://example.com">
<meta name="description" content="Description of the web page.">
<meta name="keywords" content="keyword1, keyword2, keyword3">
<meta name="generator" content="www.ecenica.com">
<meta name="author" content="John Smith">
<meta name="copyright" content="© 2024 - John Smith">
</head>
<body>
<header>
    <h1>Basic Page Structure HTML5 Valid</h1>
</header>
<main>
    <p>This is an example of a basic HTML5 valid page structure with meta tags.</p>
</main>
<footer>
    <p>&copy; 2024 - Ecenica</p>
</footer>
</body>
</html>

Was this guide helpful?

Need help with this?

Open a ticket and link to this guide so our team can see what you have tried.

View support tickets

Power your business with Ecenica Hosting

Built for WordPress and serious websites. Fast, secure and supported by real people in the UK.

Ecenica hosting services represented by a connected red route across London