2018-10-12 19:37:13 +00:00
|
|
|
---
|
|
|
|
title: Basic HTML
|
|
|
|
---
|
|
|
|
|
2018-10-29 22:47:58 +00:00
|
|
|
## Basic HTML
|
2018-10-12 19:37:13 +00:00
|
|
|
|
2018-10-29 22:47:58 +00:00
|
|
|
## Basic Page Structure:
|
2018-10-12 19:37:13 +00:00
|
|
|
```html
|
2018-10-29 22:47:58 +00:00
|
|
|
<!DOCTYPE html>
|
2018-10-12 19:37:13 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
</body>
|
2018-10-29 22:47:58 +00:00
|
|
|
</html>
|
2018-10-12 19:37:13 +00:00
|
|
|
```
|
|
|
|
|
2018-10-29 22:47:58 +00:00
|
|
|
## Explanation:
|
|
|
|
The `<!DOCTYPE html>` is to tell the browser you want the page to be rendered using HTML5.
|
|
|
|
|
|
|
|
The `<head></head>` is were you want to put things that help the browser and search engines such as `<title></title>` and `<meta>`.
|
2018-10-12 19:37:13 +00:00
|
|
|
|
2018-10-29 22:47:58 +00:00
|
|
|
The `<body></body>` is were the tags that will display on the page are such as `<h1></h1>` or `<p></p>`.
|