Saturday, 17 March 2018

Checkbox creation in html

Checkbox creation in html

In this chapter we are learning about input type - checkbox. Let us see the HTML code written below. The output is in the following figure :

checkbox in HTML
checkbox in HTML5

  • Here <br /> means Line Break.
  • <p> Paragraph Start and </p> Paragraph end.

<title>My Website</title>
<input type="checkbox" />First Term<br />
<input type="checkbox" />Second Term<br />
<input type="checkbox"/>Third Term <br />
<input type="submit" value="SUBMIT"></p>

Please write in comment box, if find any problem.

No comments:

Post a Comment