Added Explanation. (#23748)

* Added Explanation.

* corrected title syntax
pull/32212/head
Eme-rald 2018-10-29 15:47:58 -07:00 committed by Randell Dawson
parent 7bdc11fc5a
commit 93b31248a4
1 changed files with 9 additions and 14 deletions

View File

@ -1,28 +1,23 @@
---
title: Basic HTML
---
## Basic HTML
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/html/tutorials/basic-html/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
Structure of a basic HTML file:
## Basic Page Structure:
```html
<!doctype html>
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
</html>
```
#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->
## 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>`.
The `<body></body>` is were the tags that will display on the page are such as `<h1></h1>` or `<p></p>`.