Home  >  Article  >  Web Front-end  >  What does label label mean?

What does label label mean?

云罗郡主
云罗郡主Original
2019-02-01 16:40:2831464browse

What does the label label mean?

What does label label mean?

The label label defines the label (mark) for the input element. The label label does not present any special effects to the user. It The effect is to improve usability for mouse users. This control will be triggered if you click on the text inside the label. [Recommended tutorial: HTML tutorial]

html label tag syntax

Function: Define labels (marks) for input elements.

Note: The label element will not present any special effects to the user. However, it improves usability for mouse users. This control is triggered if you click on the text inside the label element. That is to say, when the user selects the label, the browser will automatically turn the focus to the form control related to the label.

Note: The "for" attribute can bind label to another element. Please set the value of the "for" attribute to the value of the id attribute of the relevant element.

html label label example



请点击文本标记之一,就可以触发相关控件:



The above is the detailed content of What does label label mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What does keygen mean?Next article:What does keygen mean?