83 shaares
5 private links
5 private links
Using the right HTML tag is important for semantic correctness and accessibility. Refer to section 4 of the HTML spec to pick the correct element for the purpose. Don't build a <div>
soup. Also, pay attention to the type
attribute of the <input>
tag.