Difference between revisions of "Basic HTML5 Page Layout"

From TheBestLinux.com
Jump to navigation Jump to search
 
Line 4: Line 4:
 
<html>
 
<html>
 
<head>
 
<head>
<meta charset="UTF-8">
+
<meta charset="UTF-8" lang="EN">
 
<meta name="description" content="The Best Linux Wiki">
 
<meta name="description" content="The Best Linux Wiki">
 
<meta name="keywords" content="Linux Shell Free">
 
<meta name="keywords" content="Linux Shell Free">

Latest revision as of 23:32, 17 August 2021

Here are the most commonly used meta tags, which should be used as best practice. There are hundreds of other options, but these are the ones to use on a production website.

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" lang="EN">
<meta name="description" content="The Best Linux Wiki">
<meta name="keywords" content="Linux Shell Free">
<meta name="author" content="Jamie Rubinstein">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Web Page Title
</title>
<body>
.
.
.
Web page content goes here...
.
.
.
</body>
</html>