Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML tag

HTML tag

Example

Grouping related elements in a form:

 

    Personalia:

    Name:

    Email:

    Date of birth:

 

Try it »


Browser support

Internet Explorer Firefox Opera Google Chrome Safari

Currently most browsers support the tag.


Tag Definition and Usage Notes

The The element provides a

the element.


Differences between HTML 4.01 and HTML5

In HTML 4.01 the "align" attribute is deprecated and is not supported in HTML5. Its use is discouraged. Use CSS to set the alignment of the element.


property

property Value Description
align top
 bottom       

 left       

 right | HTML5 does not support。 HTML 4.01 已废弃。不建议使用。 请使用样式代替。 为 fieldset 中的标题定义对齐方式。 |


Global Attributes

The tag supports global attributes; see the full list in [HTML Global Attributes](/tags/ref-standardattributes.html).

Event attribute

The tag supports all [HTML Event Attributes](/tags/ref-eventattributes.html).