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

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

4/29/2020 1:29:00 AM

Miracle Ony.

2 Answers

New Answer

+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

+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!! ❤️🤪