+ 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 Answers
+ 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