The best HTML DOM Fieldset objects Tutorial In 2024, In this tutorial you can learn Fieldset objects,Fieldset object properties,Standard properties and events,related articles,
Fieldset object represents an HTML <fieldset> element.
You can use getElementById () to access the <fieldset> element:
Tip: You can also search for form elements to access Fieldset collection of objects.
You can use the document.createElement () method to create a <fieldset> element:
属性 | 描述 |
---|---|
disabled | 设置或返回是否禁用 fieldset。 |
form | 返回一个包含 fieldset 的表单的引用。 |
name | 设置或返回 fieldset 的 name 属性的值。 |
type | 返回 fieldset 是哪一个类型的表单元素。 |
Fieldset objects also supports standard attributes and events .
HTML Tutorial: HTML Forms
HTML Reference Manual: HTML <fieldset> tag