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
How do I put text on the next line in html?
How comfortable are you with writing html entirely by hand?
What are the new api's provided by the html5 standard? Give a brief description of each.
What is the simplest html page?
List out the new features of html5?
Can you list the new input type attributes in html5?
What is the name of the website?
What is the current version of edge?