Web Front-end Study Notes 3, Web Study Notes 3

Source: Internet
Author: User

Web Front-end Study Notes 3, Web Study Notes 3

1. meta tag.

1.1 <meta charset = "UTF-8">

Charset: Character Set

1.2 <meta name = "keywords" content = ""> role: SEO improves rankings for websites.

1.3 <meta name = "description" content = ""> Purpose: To optimize websites and improve SEO rankings. The description of the website.

1.4 <meta http-equiv = "refresh" content = "5; url =" https://www.baidu.com "> webpage redirection

2. link tag.

2.1 <link rel = "icon" href = "image. ico"> place a small icon in the webpage title.

2.2 <link rel = "stylesheet" href = "1.css"> introduce external style sheets. (Both meta and link tags are written in the head tag .)

3. table <table> </table>

Purpose: display data.

Composition: table: Define table tr: Row td: column (cell)

Property: border: set table border width: set table width height: set table height cellspacing: Set the cell table distance (2 by default) cellpadding: Set the distance between text and cell border

Bgcolor: Set the background color align = "center" (In td or tr, set the text to center table and set the text to center table)

<Th> </th>: Set the table title.

<Caption> </caption>: used to set the table header.

4. Table structure.

  

<table>    <thead></thead>    <tbody><tbody>    <tfoot></tfoot></table>

5. Merge cells.

  

Related Article

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.