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

HTML study notes 05_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:04:50
Original
1266 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template