Introduction to HTML and introduction to html
Instance
What is HTML?
HTML is a language used to describe web pages.
- HTML refers to the hypertext markup language (HYperTExtMArkupLAnguage)
- HTML is not a programming language, but a markup language)
- A markup language is a set of markup tags)
- HTML uses tag to describe Web pages
HTML Tag
HTML tag is usually called HTML tag ).
- HTML tags are keywords surrounded by Angle brackets, such as
- HTML tags are usually paired, such as <B> and </B>.
- The first tag in the tag pair is the start tag, and the second tag is the end tag.
- The start and end labels are also known as open and closed labels.
HTML document = webpage
- HTML document description webpage
- HTML documents include HTML tags and plain text
- HTML documents are also called Web pages
Web browsers read HTML documents and display them as webpages. The browser does not display HTML tags, but uses tags to explain the content of the page:
Example
- Text description webpage between
- The text between <body> and </body> is visible on the page.
- The text between
- The text between <p> and </p> is displayed as a paragraph