# Learning HTML

By [Tresa](https://paragraph.com/@melson) · 2021-12-18

---

Surround the entire html with and , tell the browser that the content of the file is html

Then add the tags. The head includes the tags and all the content between them. The function is to tell the browser information about the Web page, such as the title of the page.

The tags are placed in the head tag and displayed as the name of the tab page

The main body of the page includes the and tags and all the content between them. It displays the content and structure of the Web page and is the part that can be seen directly in the browser.

Use and tags to mark the title, and all the text between the two tags is the specific content of the title

and
---

tags surround a subheading

The and tags surround a block of text, which is a paragraph, which can contain one or more sentences

PS: It is not necessary to put the matching tags on the same line. You can put as many content as you need between the tags, such as

The fox likes drinking tomato juice made by aunt Lily, and because of the tasty juice The fox stayed at aunt Lily's home and finally becomes her pet.

When writing HTML, separate the head and the body of the page.

Detailed markup

A tag consists of a tag name and angle brackets <> around it, such as

---

*Originally published on [Tresa](https://paragraph.com/@melson/learning-html)*
