Basic HTML5 Page Layout
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>