HTML a tag img tag ul list, OL list, DL list label, table Table label, lable

Source: Internet
Author: User

A tag is actually used to make a jump.

The role of a tag: page jump, anchor (page is a bookmark-like thing, in the URL to show #)

<a href= "http://www.baidu.com" traget = "_blank" > Hyper-connected text </a>

Traget = "_blank" This property means that after clicking on the new window opens the connection, if no change is meant to be opened directly on this page.

<a href= "#i3" traget = "_blank" > Hyper-connect text </a>. Note that the code after the # number here indicates the ID of the tag that jumps to a label, and the page is set an ID in the table so that a tag jumps directly to the label.

href=# Plus Tag number

IMG Tags

If clicking on the image requires a hyper-connected jump function, the implementation is as follows:

<a href= "http://www.baidu.com" >

</a>

Property:

Src

Title

Alt

Style

UL Label: A point is shown in front of the list content.

<ul>

<li> content 1</li>

<li> content 2</li>

<li> content 3</li>

<\ul>

The number of numbers displayed before the OL label list content

<ol>

<li> content 1</li>

<li> content 2</li>

<li> content 3</li>

<\ol>

DL Tags:

<dl>

<dt> Main Title </dt>

<dd> content 1</dd>

<dd> content 2</dd>

</dl>

Table tag: TR is line, TD is Column

<table board=1>. After adding board=1, the table automatically adds a border.

<tr>

<td> first Row first column </td>

<td> first row, second column </td>

</tr>

</table>

The table label also has a <thead></thead> representative column

<tbody></tbody> representing rows in a table

Merge cells:

<TD colspan = "2" ></td> represents a cell with 2 cells for the column being changed. The cell merge on the line,

<TD rowspan = "2" ></td> represents a row that occupies 2 cells. That is, the cell merge on the column.

HTML a tag img tag ul list, OL list, DL list label, table Table label, lable

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.