Attributes in Forms | Sololearn: Learn to code for FREE!


Attributes in Forms

I’m not sure if this was addressed but, Can attributes in forms be used outside them? For example: <form> <input type=“text” name=“username”> <input type=“date” name=“birthday”> <form> Could I use type and name in another <tag> other than <form>? I feel like the answer could be yes but, I’m not sure.

4/29/2020 1:29:00 AM


2 Answers

New Answer


I feel like the answer could be yes also😁 HTML Attribute Reference HTML name Attribute HTML type Attribute


Thank you so much! I was so lost after clicking on tbe first link. Had a mini panic attack. But the last two links cleared everything up! Thank you!! ❤️🤪