L'Element HTML <legend>
(o HTML llegenda element de camp) representa un t铆tol per al contingut del se element principal <fieldset>
.
Categories de contingut | Cap. |
---|---|
Contingut perm猫s | Phrasing content. |
Omissi贸 de l'etiqueta | Cap, tant l'etiqueta inicial com l鈥檈tiqueta final s贸n obligat貌ries |
Elements pares permesos | En un <fieldset> el primer fill 茅s aquest element <legend> |
Interf铆cie DOM | HTMLLegendElement |
Atributs
Aquest element nom猫s inclou els atributs globals.
Exemples
Veure <form>
exemples sobre <legend>
.
Especificacions
Especificaci贸 | Estat | Comentari |
---|---|---|
HTML Living Standard The definition of '<legend>' in that specification. |
Living Standard | Definici贸 d'un element legend |
HTML Living Standard | Living Standard | Suggerit la presentaci贸 per omissi贸 dels elements fieldset i legend |
HTML5 The definition of '<legend>' in that specification. |
Recommendation | |
HTML 4.01 Specification The definition of '<legend>' in that specification. |
Recommendation | Definici贸 inicial |
Navegadors compatibles
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!
Caracter铆stica | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Suport b脿sic | (Yes) | 1.0 (1.7 or earlier) | (Yes) | (Yes) | (Yes) |
Caracter铆stica | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Suport b脿sic | (Yes) | 1.0 (1.0) | (Yes) | (Yes) | (Yes) |
Veure
- Altres elements relacionats amb formularis:
<form>
,<option>
,<label>
,<button>
,<select>
,<datalist>
,<optgroup>
,<fieldset>
,<textarea>
,<keygen>
,<input>
,<output>
,<progress>
and<meter>
.