0

what attributes name and id use for?

18th Aug 2016, 1:53 AM
Nget Sothearith
Nget Sothearith - avatar
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.
18th Aug 2016, 5:09 AM
shadow1435
0
happy to helpâ˜ș
18th Aug 2016, 5:58 AM
shadow1435
- 1
thank you for your answers .😊
18th Aug 2016, 5:33 AM
Nget Sothearith
Nget Sothearith - avatar