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
HTML tags
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
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:
<HTML><Body> <H1>Guangrao County</H1> <H2>Guangrao in one</H2> <P>Information Science Orsay</P> <P>Chemistry Odyssey</P></Body></HTML>
Demo Result:
Code 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
Learning content transfer from: http://www.w3school.com.cn/html/html_basic.asp
HTML Learning----------DAY1 first section