The following table summarizes the usages context and the version history of this tag.
Example of legend tag. The fieldset is a useful tool for organizing and grouping related items within a form and has been used for a long time in desktop applications. In this tutorial you will learn about the tag of the HTML. HTML5 legend example Define tag of HTML5.
This tag is used for adding the caption on the frameset. Syntax Text Example 1. The following sections contain information about the tag including an example of it in use and related attributes and browser compatibility.
The legend elements are the parent element. The basic tag is written like this with the titlecaption nested between the opening and closing tags. The following example shows the element in action.
37 lignes HTML tag used to add a caption title to a group of related form elements that. The element must be the first child of element. The tag can be used to provide a caption for a group of related form controls.
Form fieldset legend Personal Information. - Online HTML editor can be used to write HTML and CSS code and see results. The element can contain the following tags and.
Input type text size 10. It is a parent tag used for writing caption covering all fieldset or child content. Share this example with Facebook Twitter GmailPlease give us a Like if you find it helpfulLike if you find it helpful.