Initial knowledge of HTML

Source: Internet
Author: User

A good web page that requires HTML, CSS, and JavaScript.

HTML is the content that hosts Web pages (just to put content)

CSS is the style of Web content (for aesthetics)

JavaScript is the behavior of Web pages (to achieve the dynamic nature of Web pages)

The following is a basic HTML structure:

<! DOCTYPE html>//Tell the browser which version of HMTL is used

<meta charset= "UTF-8"/>//Encoding Set
<title>Document</title>//Site tab title
<body>
The content of this is the main battlefield of the programmer.
</body>

First introduce the sub-tags in the head tag:

First title tag:

    

A second META tag:

      

      

The third link tag:

      

Here is the label in the body, the main battlefield of the programmer

1. Classification of Tags: block-level labels (shown as blocks, front and back lines) and row-level labels (displayed by row)

2. Common block-level tags: title tags:

3. Layout-based block-level tags:

        

      

4. Common line-level labels:

        

             

      

  

Initial knowledge of HTML

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.