Block-level labels

Source: Internet
Author: User

Characteristics:

1, front and rear line display, the default state occupies a whole row

2, with a certain width and height, you can set the block-level label width, height properties to control

3, block-level label commonly used as a container, that can be "accommodated" other block-level labels or row-level labels

Row-level labels are typically used to organize content, which can only be used to "hold" text, pictures, or other line-level labels

Differentiate: page Layout angle

(1, the basic block-level label

1), title tag

2), paragraph label <p> Wrap

3), horizontal line label

(2. block-level labels commonly used for layouts

1), ordered list label <ol>-<li>

2), unordered list tags <ul>-<li>

3), define list label <dl>-<dt>-<dd>

4), form labels <table>-<tr>-<td>

5), form labels <form>-<input>

6), partition label <div>

Summary: Common block tags

1),Div-ul (OL)-li: Often used for category navigation or menus, etc.

2),div-dl-dt-dd: Commonly used in text and graphics mixed occasions

3),table-tr-td:: Often used for graphic layout or display data

4),form-table-tr-td: Commonly used for layout forms

Block-level labels

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.