HTML tag

(*-*)浩
Release: 2019-11-14 15:13:44
Original
3419 people have browsed it

HTML tag

HTML <caption> tag

##All browsers support the tag.

# Definition and usage (Recommended learning: html tutorial )

& lt; caption & gt;

The label must immediately follow the table label. You can define only one title per table. Usually the title will be centered above the table.

Example

<html>

<body>

<h4>这个表格有一个标题,以及粗边框:</h4>

<table border="6">
<caption>我的标题</caption>
<tr>
  <td>100</td>
  <td>200</td>
  <td>300</td>
</tr>
<tr>
  <td>400</td>
  <td>500</td>
  <td>600</td>
</tr>
</table>

</body>
Copy after login

The above is the detailed content of HTML tag. For more information, please follow other related articles on the PHP Chinese website!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!