<HTML> Beginner Basics

Source: Internet
Author: User
Tags rfc

will continue to update ...

one, basic common tags and properties

Since to learn this knowledge, it must first know what this can do, HTML: is a Hypertext Markup language, what do you mean, I take a look, super (HYPERLINK) text (like txt) mark (change to look like) language, like translation, computer is very powerful, he can not understand the human language, Human beings created HTML to communicate human meaning through HTML to the computer to enable him to fulfill the commands that humans gave him, the first edition published as a working group on Internet Engineering (IETF) in June 1993 (not standard): HTML 2.0--November 1995 as RFC 1866 released , after the release of RFC 2854 in June 2000 was declared obsolete, HTML 3.2--January 14, 1997, the recommendation standard, HTML 4.0-December 18, 1997, the recommended standard, HTML 4.01 (small improvement)-- December 24, 1999, html5--2014 October 29, the World Wide Web Consortium announced that after nearly 8 years of hard work, the standard specification has finally been finalized, and now the mainstream of HTML5 will be a matter of time.

The first tab <body> just like the body contains everything </body> There are several more commonly used properties 1.bgolor page background color 2.text text color 3.topmargin upper margin 4.letmargin left margin 5.rightmargin right page margin 6.bottomargin next page margin 7.background background wallpaper, etc.

The rest of me is straight out, because the first <body></ody> is a bit special, so for a single paragraph, the following tags are contained within the body:

General label
One.
1.<font></font>

There are several properties of color: text colors; face: Font style; Size: Font size, etc These are more commonly used
2.<a></a>

Hyperlinks can be used for text images and so on, target this property has two choices of self is opened in this window connection, blank is opened in a new window link;
3.

Insert Picture relative path and absolute path (not here to find out)
4.<table></table>

The table has these properties width: Widths can be expressed in pixels such as 100px;border: The border is generally 0;cellpadding: the margin of content and cell borders, commonly used is 0;cellspacing: the spacing between cells is commonly used as 0 ; align: alignment; bgcolor: background color; background: Background image
5.<p></p>

A paragraph of text occupies a line automatically empty (this thing I feel better than <br/>)
6.<br/>

Equivalent to another line in the carriage return language
7.<del></del>

Remove the line, the teacher to expand, I think can be used for funny, interested can try.
8.<ul></ul>

Unordered list each line in this tag is added <li></li>
9.<ol></ol>

There are sequence lists (these two distinctions are simple and orderly refers to 1234 ...). Abcd...... Sort of sort, and unordered all content preceded by just the same symbol) This also has to add <li></li>
10.<tr></tr>

A row inside the table, a more common attribute align: horizontal alignment of the bank; valign: Vertical alignment of the bank height: Row height bgcolor: background color background: background image
11.<td></td>

A row for each cell colspan= "n" here represents the number of cells you want and how many, this represents the same row as the rowspan= "n" which is the same column. (Remember, be sure to remove the code from the deleted cells)
12.<th></th>

This is the same nature as <td></td>, the difference is that it is like its upgraded version because <th></th> is directly the table header, the automatic play bold.
13.<u></u>

Underline
14.<b></b>

Font Bold
15.<i></i> Tilt <em></em>

Both of these can be
16.<strong> Strength </strong>

After this substitution <b></b> bold
17.<sup></sup>

Superscript
18.<sub></sub>

Subscript these two although not commonly used with interesting to belong to the extension bar
19.&nbsp; This is a space, because the immune space immunity return, so this represents a space, the above <br/> represents a carriage return, SP is a simple spell of the space, after this can be remembered cattle (n) than (b) space.
20. Anchor point, first do Anchor point label <a name= "" ></A> and then do anchor link <a href= "Target Link Name value" ></a>

For the time being, I have found these tags that I think are more commonly used, with explanations of my own and a note to the basics.

In this way, the first lesson is done, these labels have to try it yourself, everyone's understanding is not the same so you have to use it to know exactly what it is, well, on the sauce, worship ~

                                                                  

June Mo,

<HTML> Beginner 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.