Computer Science, asked by pojadobhal1122, 4 months ago

a)     Harshita wants to create an HTML form. Which tag should she use to create this form? Her teacher has asked her to add a radio button to the form. How should she do this.

plz answer this fast​

Answers

Answered by motimanjhi5555
3

Answer:

HTML Forms are used to send data across the web and are often used as contact form to convert information input by a user into Leads.HTML forms are used to pass data to the server.

The elements used in HTML form are form tag as parent, input, textarea,, select, button and label.

HTML Form Tag

Form Tag defines the form and within this tag, there is action attribute which tells the form where its contents will be sent when it is submitted.

An HTML form can have input elements, checkbox, radio buttons, submit button and more.A form can also contain select dropdown, textarea, fieldset, legend, and label elements.

Create HTML Form

form is build inside <form> tag. See the code below

<form action="" method="get" name="formname">

/* Content */

</form>

Attributes

HTML Form Attributes

Attribute- Values -Use

method -get or post -http get method submit form data but is visible in url.

post includes data in body. more secure as data is not visible to user in url

action -path -the backend file collecting form data

name- any name- name of form control

Read it carefully

Answered by moujjppdgmailcom
0

Answer:

<input type="radio">....

Explanation:

This tag can be used in html to add a radio button to the form.

Similar questions