Can I use the <caption> tag in a form?
3 answers
Did you try it first?
The answer is no. (Well, you can, but that breaks the standards).
The <caption> element is used to designate a table, not a form.
Alternative solution:
If you really want to use signature forms, just add a valid element to it, which may be in CSS style, for example:
<form> <div class="caption">This is my form caption</div> <input .../> </form> Another approach , which would probably be more semantically correct, would be to use <fieldset> to group your form:
<fieldset> <legend>This is my form caption</legend> <form> <input .../> </form> </fieldset> +14