PrepAway - Latest Free Exam Questions & Answers

What should you do?

You are analyzing a form that sends multiline comments to another page on the Internet. The following is the form’s markup:

No data is sent when the form is submitted.

You need to solve this problem so that the data in the text box is submitted.

What should you do?

A. Replace the textarea element with an input element.
B. Set the name attribute of the textarea element.

C. Change the value of the method attribute to get.

D. Set the id attribute of the form element.

References: https://www.w3schools.com/tags/att_form_action.asp


Leave a Reply