What is HTML?
HTML is actually the abbreviation of Hypertext Markup Language, Hypertext Markup Language
How do I rename a file?
- Right-click Rename
- Click F2
First, use Notepad to save a title and a two paragraph description, and then modify the plain text file with the. html extension, and then use the browser to open
Open after found that the format is not correct, the reason is that all the text in a plain text file is a sibling, the browser does not know what the meaning of the text, that is, the browser does not know which text is the title, which text is the paragraph ... , resulting in incorrect formatting of the display
Because of this, so HTML came into being, HMTL has only one function, it is specifically used for text semantics, that is, we can use HTML to tell the browser which is the title, which is the paragraph
These are used to describe other text semantics, which we call tags, and the tags used to describe other text semantics will not be displayed in the browser in the future.
So because these tags are specifically used to describe other text semantics, and are not displayed in the browser, we call these text "hypertext", which is also called "tags", so html is called "Hypertext Markup Language".
Precautions:
Although we use
What does it do with HTML tags?
Error: H1 tags can be used to modify the size of the text, and you can also bold text
Correct: The function of the H1 tag is to tell the browser which text is the title, that is, the H1 tag is specifically used to add title semantics to the specified text.
Lesson 8. html function (mastering)