HTML表格标记教程(41):表头的宽度和高度属性WIDTH、HEIGHT_HTML/Xhtml_网页制作

WBOY
Release: 2016-05-16 16:44:37
Original
2145 people have browsed it

默认情况下,表头的宽度高度根据内容自动调整,我们也可以手动设置表头的宽度和高度。
基本语法

语法解释
通过属性定义表头的宽度,属性定义表头的高度,单位为像素或百分比。
文件范例:10-39.htm
设定表头的宽度和高度。
01
02
03
04
05
06
07 设定表头的宽度和高度
08
09
10

主流的网页设计软件


11
12
13
14
15
16
17
18
19
20
21
网页图像软件 Fireworks
网页制作软件 Dreamweaver
网页动画软件 Flash

22
23
文件说明
第11行定义了表格的宽度为400像素,高度为100像素。第13行定义了表头的宽度为300像素,高度为50像素。
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!