Difference between revisions of "Basic HTML5 Page Layout"
Jump to navigation
Jump to search
(Created page with "Here is the basic framework I use to create a simple HTML5 web page on the fly. There are of course thousand of options, but all modern web pages should include all of these e...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Here | + | 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. |
− | There are of | ||
<pre style="color:blue"> | <pre style="color:blue"> | ||
<!DOCTYPE html> | <!DOCTYPE html> | ||
<html> | <html> | ||
<head> | <head> | ||
− | <meta charset=" | + | <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> | <title> | ||
Web Page Title | Web Page Title | ||
</title> | </title> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<body> | <body> | ||
. | . |
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>