COMPUTER LECTURES

HOME About us HTML ONLINE CODE EDITOR CONTACT US
HTML | INPUT TYPE "CHECKBOX"

SYNTAX

OPENING TAG CLOSING TAG
<input>

input type checkbox Tag in HTML

<input type="checkbox" size=" " name=" " maxlength=" ">

Example : input type checkbox.html

<!DOCTYPE html>
<html>
<title>Computer lectures | input type checkbox</title>
<body>
<form>

Lecture 1<input type="checkbox" name="computerlectures_selection1">
Lecture 2<input type="checkbox" name="computerlectures_selection2" checked>
Lecture 3<input type="checkbox" name="computerlectures_selection3">
Lecture 4<input type="checkbox" name="computerlectures_selection4" checked>
Lecture 5<input type="checkbox" name="computerlectures_selection5">
Lecture 6<input type="checkbox" name="computerlectures_selection6" checked>

<form>
</body>
</html>

The output on the web broswer

Input type checkbox