Novice learner, about HTML get started knowledge point, understand HTML?

Source: Internet
Author: User

First, what is HTML?

1) HTML is Hypertext Markup language;

2) The markup language is made up of a set of labels;

3) HTML is used to describe a Web page with tag tags.

Second, HTML tags:

1) <b></b>;

2) < tag name > content (tag body) </tag name >;

3) If the label has no content, it can be abbreviated < tag name/>;

4) The Web page file ends in HTML or HTM: such as xxx.html or xxx.htm.

Third, the basic structure of the Web page:

<title> Towers Rui Technology </title>
<body>
Welcome to Tao Rui Technology!!
</body>

1) Create a new text document (. txt)

2) Rename the document as a Web document, ending in. html

3) write HTML code (TAG)

4) Use the browser to open the view

Four, the tag grammar rules:

1) have start < tag name > must have end </Tag name > = + Label paired appearance

2) empty content label can be abbreviated < tag name/>

3) Label names are case insensitive. <p> = <P>

4) Most tags have attributes

< Tag Name Property name = attribute value > Content </Tag name >

Example: <body bgcolor= "Red" > Towers Rui Technology </body>

V. Display of special characters:

1) Space: &nbsp;

2) <: &lt;

3) >: &gt;

Six, the common simple label:

1) title tag: H1~h6

2) Horizontal:

3) Paragraph:<p> new line display, there are blank lines up and down

4) Wrap the contents of the:<br/> label to the next line to start showing, no blank line up and down

Vii. img Image Tags:

1)

2) src: Specify the location of the picture

3) Width: width

4) Height: high

5) Border: frame 1px

6) Alt: When the picture does not exist, replace it with text

7) Title: Explanatory text

Novice learner, about HTML get started knowledge point, understand 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.