<label> Tag in HTML 5

In this article I am going to explain about <label> tag in Html 5
  • 2101

The <label> tag use for display any text heading , description or message on html document. it provides a usability improvement for mouse users, because if the user clicks on the text within the <label> element, it toggles the control.

Browser that supports <label> tag

 Internet explorer, Mozilla firefox, Google chrome, Opera and Safari browsers.

Lets take an example of <label> tag

    <label for="male">Welcome</label><br />
    <label for="female">Hello</label>


Further Readings

You may read more about HTML 5 Tags:  here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.