+ 3

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.

29th Apr 2020, 1:29 AM
MiracleOny
MiracleOny - avatar
2 Respuestas
+ 4
I feel like the answer could be yes also😁 HTML Attribute Reference https://www.w3schools.com/tags/ref_attributes.asp HTML name Attribute https://www.w3schools.com/tags/att_name.asp HTML type Attribute https://www.w3schools.com/tags/att_type.asp
29th Apr 2020, 1:49 AM
ODLNT
ODLNT - avatar
+ 2
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!! ❤️🤪
29th Apr 2020, 1:56 AM
MiracleOny
MiracleOny - avatar