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...")
(No difference)

Revision as of 10:33, 16 January 2021

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 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>
<style>
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
}
</style>
<body>
.
.
.
Web page content goes here...
.
.
.
</body>
</html>