This is a series of tutorials provided to you, mainly to explain the application of forms on web pages to beginners, including the most basic knowledge, some tips on forms, etc. I hope everyone can support it.
Tables are the best way to arrange content. In HTML pages, most pages are typesetted using tables. However, in the current technology, some people have proposed to use DIV CSS to create web pages. The main purpose is to simplify the code of web pages. Many websites have now implemented the DIV CSS layout, but it is still very necessary for us to learn how to make forms during the web page production process, so we will explain it specifically to you.
In HTML syntax, tables are mainly composed of three tags, table tags, row tags, and cell tags. As shown in the following table:
Table marking
| Mark | describe |
| <TABLE>…</TABLE> | Table marking |
| <TR>…</TR> | Row mark |
| <TD>…</TD> | Cell tags |
01 <TABLE>
02 <TR>
03 <TD> …</TD>
04 …
05 </TR>
06 <TR>
07 <TD> …</TD>
08 …
09 </TR>
10…
11 </TABLE>
Syntax explanationThe <TABLE> tag represents the beginning of the table, the <TR> tag represents the beginning of the row, and the content of the cell is between <TD> and </TD>. These marks contain relationships from large to small, layer by layer, from the largest table to the smallest cell. A table can have multiple <TR> and <TD> tags representing multiple rows and multiple cells, respectively.
File example: 10-1.htmCreate a three-row and two-column table with <TABLE>, <TR>, <TD> tags.
01 <!-- ------------------------------ -->
02 <!-- File example: 10-1.htm -->
03 <!-- Document description: Make a table-->
04 <!-- ------------------------------ -->
05 <HTML>
06 <HEAD>
07 <TITLE>Making a Form</TITLE>
08 </HEAD>
09 <BODY>
10 <H1>Mainstream web design software</H1>
11 <TABLE>
12 <TR>
13 <TD>Web Image Software</TD>
14 <TD>Fireworks</TD>
15 </TR>
16 <TR>
17 <TD>Web page production software</TD>
18 <TD>Dreamweaver</TD>
19 </TR>
20 <TR>
21 <TD>Web animation software</TD>
22 <TD>Flash</TD>
23 </TR>
24 </TABLE>Total 2 pages Previous page 12 Next page