Computer Science, asked by ansh44132, 1 year ago

write Html tags to add 3 check boxes for selecting a hobby READING, LISTENING MUSIC AND PLAYING TENNIS

Answers

Answered by aditya4718
6
HTML Forms is most important future in HTML. HTML Forms use to get a users information. It is user interactive. HTML Forms is a information tools to get information from the web surfer, such as: name, email address, address, phone number etc.

A form use to get information about user and information store that data into a web server.

HTML Form Tag

TagDescription<form>Defines a form for user input.<input>Defines an input field data.<button>Defines a push button<textarea>Defines a text-area (a multi-line text input box).<label>Defines a label to the description.<fieldset>Defines a border to the input data.<legend>Defines a caption name write into fieldset.<select>Defines a drop-down select list box.<option>Defines an option value in the drop-down box.
Answered by StaceeLichtenstein
4

Following are HTML code is given below

Explanation:

<html>

<head> </head>

<body>

   <form method="post" action="" >

           <label>Hobbies</label>

           <input type="checkbox" value="READING"> READING </input>

           

           <input type="checkbox"  value=" LISTENING MUSIC"> LISTENING MUSIC</input>

           <input type="checkbox" value="PLAYING TENNIS">PLAYING TENNIS </input>

  </body>

</html>

Output:

Following are the attachment of output

Following are the description of statement:

  • <input type="checkbox" > it will used for creating the checkbox in the webpage .
  • In this we create the 3 checkbox by using the above tag.
  • <label> is used for creating the text in the web page .

Learn More :

  • brainly.in/question/6419608

Attachments:
Similar questions