Home  >  Article  >  Web Front-end  >  HTML study notes 05_html/css_WEB-ITnose

HTML study notes 05_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:04:501248browse

1. HTML images

1. In HTML, images are defined by the tag.

url refers to the location where the image is stored.

2. alt replacement text attribute

figure one

figure one

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 tag.

row 1, cell 1 row 1, cell 2
row 2, cell 1 row 2, cell 2

Each table has several rows (defined by tags), and each row is divided into several cells (defined by tags).

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.

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
2. Border Attribute border Use the border attribute to display a table with a border, as shown in the code above. 3. Table header The table header is defined using the tag.
>
Heading Another Heading
row 1, cell 2
row 2, cell 1 row 2, cell 2
4. Empty cells Table cells without content sometimes cannot display borders, you can add them A space placeholder.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn