Home > Article > Web Front-end > HTML study notes 05_html/css_WEB-ITnose
1. HTML images
1. In HTML, images are defined by the tag.
|
The alt attribute is used to define a string of prepared replaceable text for the image.
2. HTML tables 1. In HTML, tables are defined by the
|
The letters td refer to table data, that is, the contents of data cells. Data cells can contain text, pictures, lists, paragraphs, forms, horizontal lines, tables, and more.
2. Border Attribute border Use the border attribute to display a table with a border, as shown in the code above. 3. Table header
row 1, cell 1
Heading Another Heading
row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2 row 1, cell 2 row 2, cell 1 row 2, cell 2 The table header is defined using the tag.
4. Empty cells Table cells without content sometimes cannot display borders, you can add them A space placeholder.
Heading Another Heading > row 1, cell 2 row 2, cell 1 row 2, cell 2