1. What is HTML
HTML is a language used to describe a Web page.
- HTML refers to Hypertext Markup Language (Hyper Text Markup Language)
- HTML is not a programming language, but a markup language (markup language)
- Markup language is a set of tag tags (markup tag)
- HTML uses tag tags to describe web pages
2.HTML Label
HTML tag tags are often referred to as HTML tags (html tag).
- HTML tags are keywords surrounded by angle brackets, such as
- HTML tags are usually paired up, such as <b> and </b>
- The first label in the pair is the start tag, the second is the end tag
- Start and end tags are also known as open tags and closed labels
3.HTML document = Web page
- HTML Document Description Web page
- HTML documents contain HTML tags and plain text
- HTML documents are also called Web pages
The purpose of a Web browser is to read HTML documents and display them as Web pages. Instead of displaying HTML tags, the browser uses tags to interpret the contents of the page:
Example explanation
- Text description page between
- The text between <body> and </body> is visible in the page content
- The text between
- Text between <p> and </p> is displayed as a paragraph
Introduction to the first class of HTML