Html4 tag sorting

Source: Internet
Author: User

 


Html4 tag Summary

 

I,
Lists

1) ol is ordered, with 1, 2 in front; and UL with dots in front,

2) dL content block, DT content block title, DD content, and ol ul Li and P can be added to DT and DD.

This can be written as follows:

<DL>

<DT> title </DT>

<DD> content 1 </DD>

<DD> content 2 </DD>

</Dl>

 

II,
Table

1) the length of the border. cellpadding specifies the white space between the cell edge and its content, and cellspacing specifies the white space between cells. There are also frame, rules, summary

2) Table directionality, Dir = "RTL" enables the table to be directed from the right to the left.

3) caption, table description

4) thead, tbody, tfoot, and table header can be printed simultaneously on the split screen. tfoot must be before the tbody.

5) COL defines attribute values for one or more columns in the table. colgroup can define attributes of a group of columns.

6) Th is the cell that defines thead, while TD is the cell that defines data to be put, but TD is actually used. The abbreviation of abbr cell content. Axis classifies cells. Main attributes: align, Char, colspan, rowspan, valign

7) Border
Styles, horizontal and vertical alignment

 

III,Links

1) Description of the title property Link

2) tag a can define external links or internal bookmarks. Target: _ blank, _ parent, _ Self, _ top, and other charset, coords, href, herflang, Rel, Rev

3) link labels define the relationship between documents and external resources. They are often used in link style sheets. The attributes include charset, href, hreflang, and type.

 

IV,
Form

1) The form attributes include action, Accept, accept-charset, enctype, and method.

2) Input
Types include button, checkbox, file, hidden, image, password, radio, rest, submit, and text. Other attributes: Accept, ALT, checked, disabled, maxlength, name, readonly, size, SRC, Type

3) button types include button, reset, submit, and disable, name, and value.

4) Select
You can create one or more menus for tags, such as attri: Disable, multiple (multiple options can be selected), name, and size. An option in the drop-down list uses Option and optgroup to group the option, but it cannot be selected.

5) textarea can define text box controls for multi-line Input. attributes include cols, rows, disable, and readonly.

 

 

5. Important labels

Table, Form


6. Several Important Concepts

1. Differences between DT, DL ul, Li ol, And oi

2. What should I do if the form does not have the accept charset attribute in IE?

3. Types of input

 

 

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.