HTML self-study road-Basics

Source: Internet
Author: User

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 tags

HTML tags are often used as HTML SD (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 also become open labels 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

Example:

<body>
<p>this is a paragraph.</p>
<a href= "http://www.w3school.com.cn" >this is a link</a>

</body>

Explain:

      • 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
      • <a> define the HTML connection in the HREF attribute specify the address of the connection,<a> the text between the </a> and the page connection content is visible
      • Define HTML image, specify image connection address in src attribute, width and height are picture size properties

HTML self-study road-Basics

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.