adspace


How can tables be used inside a form? Explain with an example.

Answer Posted / Umesh Chandra Saini

Tables can be utilized within HTML forms to organize and display complex data in a structured format. To create a table within a form, simply place the <table> elements within the <form> element, as shown below: <form action="submit.php" method="post">n<table>nt<tr><th>Name</th><th>Age</th></tr>nt<tr><td><input type="text" name="name"></td><td><input type="number" name="age"></td></tr>n</table>nt<input type="submit" value="Submit">n</form>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I put text on the next line in html?

871


How comfortable are you with writing html entirely by hand?

876


What are the new api's provided by the html5 standard? Give a brief description of each.

899


What is the simplest html page?

944


List out the new features of html5?

871


Can you list the new input type attributes in html5?

862


What is the name of the website?

922


What is the current version of edge?

947