programming-examples/css/Checkbox input.html
2019-11-15 12:59:38 +01:00

33 lines
1.1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:subLang="en" subLang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Checkbox Input</title>
</head>
<body>
<form method="post" action="">
<p>Choose your phones:</p>
<ul>
<li>
<label for="phone1"><input type="checkbox" id="phone1" name="phone1" value="Asus" checked="checked" />Asus</label>
</li>
<li>
<label for="phone2"><input type="checkbox" id="phone2" name="phone2" value="LG" />LG</label>
</li>
<li>
<label for="phone3"><input type="checkbox" id="phone3" name="phone3" value="Apple" />Apple</label>
</li>
<li>
<label for="phone4"><input type="checkbox" id="phone4" name="phone4" value="Nokia" />Nokia</label>
</li>
<li>
<label for="phone5"><input type="checkbox" id="phone5" name="phone5" value="Samsung" />Samsung</label>
</li>
</ul>
</form>
</body>
</html>