"3-20" HTML basics/Tables/hyperlinks

Source: Internet
Author: User

First, the HTML

(i), HTML definition

HTML: Refers to Hypertext Markup Language, a file opened with a browser

Hypertext Markup Language: Refers to a computer programming language that contains text, images, video, audio, and other elements on a page

(ii), basic format:

<body>

</body>

(iii), basic marks and attributes

(1) Comment:<!--comments--

(2) Six basic text tags:

A, <b> content </b>-----content Bold

B, <i> content </i>------content Tilt

C, <u> content </u>-----Underline

D, <font color= "color" size= "size (1-7)" face= "Font" > Content </font>

Picture Tags:

Basic format:

Second, form

(i) Several regular format tags:

(1) Space Mark:&nbsp;

(2) newline tag: <br/>

(3) Paragraph mark:<p></p>

(ii) Form basic format:

<table>----Overall Form

<tr>--------Line

<td> Content </td>----Columns

</tr>

</table>

(c) Form basic properties

1, Border---border thickness (can be used for tables, rows, columns)

2. Width----table widths (available for tables, rows, columns)

3, Height---table height (can be used for tables, rows, columns)

4, align----horizontal arrangement format (written in the table, written in the column action on the content)

5, valign---Vertical arrangement format (written in the table, written in the column action on the content)

6, bgcolor---background color (action on body, table, row, column)

7. Background---Background image (action on body, table, row, column)

8, cellspacing-----The spacing between cells (outer spacing acting on single table, rows, nested columns)

9, cellpadding----The spacing between the content and the cell (the spacing is written in tables, rows, columns, for secondary tables, rows, columns)

Third, hyperlinks

(a) Definition: An element that allows us to connect with other Web pages or sites.

Basic format: <a href= "url" target= "_blank"-(minus underline) > content (text, picture) </a>

"3-20" HTML basics/Tables/hyperlinks

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.