如何使用 html 5图像而不是表格的标签
我正在重做我的团队一直在处理的 html..我想知道是否可以修改 html 5 标签。具体来说,我想
在 w3schools 中使用图像而不是表格的标签:
*定义和用法: <标题>标签定义表格标题。 <标题>标签必须紧接在 之后插入。标签。 您只能为每个表指定一个标题。 通常标题将位于表格上方居中*。
如何从所有这些要求中删除此标签?
I'm redoing the html my team has been working on.. and i was wondering if I can modify html 5 tags. Specifically I would like to use the tag for images rather than tables..
in w3schools:
*Definition and Usage:
The <caption> tag defines a table caption.
The <caption> tag must be inserted immediately after the <table> tag.
You can specify only one caption per table.
Usually the caption will be centered above the table*.
How can I strip this tag from all these requirements?
我认为您所追求的是
I think what you're after is the
<figure>
and<figcaption>
tags, used to annotate images like you see in textbooks and the like. Caption is specifically for tables.