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>© 2024 - Ecenica</p> </footer> </body> </html>