We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

这篇翻译不完整。请帮忙从英语翻译这篇文章

总结

HTML的<legend>元素(也称为HTML的域说明元素(or HMTL
 Legend Field Element))代表一个用于表示它的父元素<fieldset>的内容的标题。

属性

这个元素只有全局属性

示例

 <form> 元素说明中关于 <legend>元素的例子.

规范

Specification Status Comment
HTML Living Standard
<legend>
Living Standard Definition of the legend element
HTML Living Standard Living Standard Suggested default rendering of the fieldset and legend elements
HTML5
<legend>
Recommendation  
HTML 4.01 Specification
<legend>
Recommendation (link)

浏览器兼容

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) 1.0 (1.7 or earlier) (Yes) (Yes) (Yes)
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support (Yes) 1.0 (1.0) (Yes) (Yes) (Yes)

另请参阅

文档标签和贡献者

此页面的贡献者: xingzhi
最后编辑者: xingzhi,