Home > Web Front-end > HTML Tutorial > HTML Notes_html/css_WEB-ITnose

HTML Notes_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:56:57
Original
874 people have browsed it

Label tag and input in form

<form action="">  <label for="male">Male</label> //for and id should be same  <input type="radio" name="sex" id="male" value="male"><br>  <label for="female">Female</label>  <input type="radio" name="sex" id="female" value="female"><br><br>  <input type="submit" value="Submit"></form>
Copy after login

 

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