From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/html/element%2Flegend.html | 78 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 devdocs/html/element%2Flegend.html (limited to 'devdocs/html/element%2Flegend.html') diff --git a/devdocs/html/element%2Flegend.html b/devdocs/html/element%2Flegend.html new file mode 100644 index 00000000..e5aea484 --- /dev/null +++ b/devdocs/html/element%2Flegend.html @@ -0,0 +1,78 @@ +

<legend>: The Field Set Legend element

The <legend> HTML element represents a caption for the content of its parent <fieldset>.

+

Try it

+
+

Attributes

+

This element only includes the global attributes.

+

Examples

+

See <form> for examples on <legend>.

+

Technical summary

+
Content categories None.
Permitted content Phrasing content and headings (h1–h6 elements).
Tag omission None, both the starting and ending tag are mandatory.
Permitted parents A <fieldset> whose first child is this <legend> element
Implicit ARIA role No corresponding role
Permitted ARIA roles No role permitted
DOM interface HTMLLegendElement
+

Specifications

+
+ + +
Specification
HTML Standard
# the-legend-element
+

Browser compatibility

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariWebView AndroidChrome AndroidFirefox for AndroidOpera AndroidSafari on IOSSamsung Internet
legend11216≤12.134.4184≤12.111.0
align11216≤12.1≤44.4184≤12.1≤3.21.0
+

See also

+
+

+ © 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
+ https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend +

+
-- cgit v1.2.3