Introduction (Introduction)
Our current HTML tour is very smooth and has learned:
1. How to create the basic structure of HTML files
2. Title, paragraph, pictures and links
3. Font color, size and type
4. Background color, text alignment, bold and italic
In this lesson, we will learn the important part of HTML:<table>,<div> and <span>
Tables (table)
Tables are useful, and we use tables to store data that can be made into tables to make it more readable.
If you want to divide the data into rows and columns, you'll need to use <table>.
There are many other tags to work with <table>, they are included in <table></table>:
<tr> </tr> (tr = table row) adds one line:
We use <tr> to create a row for the table. In fact, we are not directly divided into columns, but in each row to add some more lattice (cell).
<td> </td> (TD = Table data) Adds a lattice (cell) to a row with several <td>, and the line is divided into columns.
For example:
<span style= "FONT-SIZE:14PX;" >
Effect: