Example
<html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>
Copy after login
Copy after login
What is HTML?
HTML is a language used to describe web pages.
HTML refers to Hypertext Markup Language (Hyper Text Markup Language) HTML is not a programming language, but a markup language A markup language is a set of markup tags HTML uses markup tags to describe Web page
HTML tag
HTML markup tag is usually called HTML tag (HTML tag).
HTML tags are keywords surrounded by angle brackets, such as HTML tags usually appear in pairs, such as and The first tag in the tag pair is the opening tag and the second tag is the closing tag Opening and closing tags are also known as opening tags and closing tags
HTML document = web page
HTML document describes web page HTML document contains HTML tags and plain text HTML document is also called web page The role of a Web browser is to read HTML documents and display them in the form of web pages. Browsers do not display HTML tags, but use tags to explain the content of the page:
<html><body><h1>My First Heading</h1><p>My first paragraph.</p></body></html>
Copy after login
Copy after login
Example explanation
Text description between and Web page The text between and is visible Page content The text between
is displayed as title >