Difference between revisions of "Basic HTML5 Page Layout"

From TheBestLinux.com
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...")
 
Tag: visualeditor-switched
Line 1: Line 1:
Here is the basic framework I use to create a simple HTML5 web page on the fly.
+
Here is the basic framework I use to create simple HTML5 web pages on the fly.
There are of course thousand of options, but all modern web pages should include all of these elements as minimum.  I've use 3 dots(.) on blank lines to indicate possible lines below and above.
+
There are of course thousands of options, but all modern web pages should include all of these elements as minimum.  I've use 3 dots(.) on blank lines to indicate possible lines below and above.
 
<pre style="color:blue">
 
<pre style="color:blue">
 
<!DOCTYPE html>
 
<!DOCTYPE html>
Line 9: Line 9:
 
Web Page Title
 
Web Page Title
 
</title>
 
</title>
<style>
 
.center {
 
display: block;
 
margin-left: auto;
 
margin-right: auto;
 
width: 50%;
 
}
 
</style>
 
 
<body>
 
<body>
 
.
 
.

Revision as of 10:35, 16 January 2021

Here is the basic framework I use to create simple HTML5 web pages on the fly. There are of course thousands of options, but all modern web pages should include all of these elements as minimum. I've use 3 dots(.) on blank lines to indicate possible lines below and above.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" lang="EN">
<title>
Web Page Title
</title>
<body>
.
.
.
Web page content goes here...
.
.
.
</body>
</html>