+ 2
To identify the elements
to identify elements there are many attribute for this purpose : name, class, id..so how we determine the appropriate, maybe as i know id and class are just for styling..isn't it ?
1 ответ
+ 3
id: unique identifier (one element must has one only id) for unique element (you cannot set same id to different elements)
class: non-unique identifier (you can set more class to same element) for not-unique element (you can set same class to different elements)