Basic HTML5 Page Layout

From TheBestLinux.com
Revision as of 10:33, 16 January 2021 by Jamie (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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>