HTML Beginner Tutorial-table

Source: Internet
Author: User
Beginners | tutorials

Site original content, reproduced please indicate the source Web page teaching network .

Web sites around the world basically use HTML tables to plan the page area, and now the Web Standard site to promote the discard table, I think that table planning is really simple, but it will increase the volume of your files, we can use the standard to create a Web page is to discard the table, then you can skip this section of the content. You can go to the CSS section of this site to learn CSS to layout the page. For beginners still like to use the form, so I am here to introduce you to the use of the table.

There are many tags in the table, and the various tags in the table struggle has become the hardest part of beginners.

Let's look at a simple example and add the following to your page:

Table elements define tables.

The TR element defines the rows of the table.

The TD element defines a cell of data. These must be enclosed in the TR tag, as shown in the row.

If you want to define a 4 x 3 table then it should be four TR elements that define three TD elements in each row, with a total of 12 TD elements and 12 cells.



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.