Home > Web Front-end > HTML Tutorial > HTML checkbox Click the description text to select/uncheck the status_HTML/Xhtml_Web page production

HTML checkbox Click the description text to select/uncheck the status_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:39:20
Original
1936 people have browsed it

In web development, because the checkbox is relatively small, it is not very convenient for users to operate. In order to facilitate users to operate the checkbox, we can allow users to select/check the checkbox when they click on the description text

The following is used The simple way to implement

is as follows:

Copy the code
The code is as follows:




Copy code
The code is as follows:



label:
The description text label must be label
for specifies the id that needs to be linked to the checkbox
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template