HTML <legend> tagHTML <legend> tag is used to insert a title or caption to its parent element such as <fieldset>. The <legend> element must be the first child of <fieldset > element. By using <legend> tag with <form> elements, it is easy to understand the purpose of grouped form elements. SyntaxFollowing are some specifications about the HTML <legend> tag
ExampleTest it NowOutput: ![]() Attribute:Tag-specific attributes:
Global attribute:The <legend > tag supports the global attributes in HTML Event attribute:The <legend> tag supports the event attributes in HTML. Supporting Browsers
Next TopicHTML lists
|
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week