0
what attributes name and id use for?
3 Answers
+ 1
Name and ID used for referring single or multiple elements and generally used in form elements like input,text area, search etc. It is also still there because of backwards compatibility as id's are old way of referring an element but due to lack of desired result they cam up with ID. ID's are used as unique identifier of any tag to help style or change contents of a particular tag dynamically without affecting other tags with same name.
0
happy to helpâș
- 1
thank you for your answers .đ