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



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

Answer / 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

More HTML DHTML Interview Questions

What is meta utf8?

1 Answers  


In HTML 5 we do not need DTD why?

1 Answers  


What does an xhtml document look like?

1 Answers  


What are the new input types provided by HTML 5 for forms?

1 Answers  


Is html a framework?

1 Answers  


Is it better to use iframe?

1 Answers  


Is colgroup deprecated?

1 Answers  


How do you insert an email link in html?

1 Answers  


How do you make a link open in a new tab?

1 Answers  


A joke of a question asked at Extentia by an extremely intelligent HUMAN. What is the difference between AJAX and Jquery ?

1 Answers  


What is fallback in Application cache?

1 Answers  


What is XHTML?

1 Answers  


Categories