To identify the elements | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 ?

4th May 2018, 7:52 PM
De Vinci
1 Resposta
+ 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)
4th May 2018, 7:59 PM
KrOW
KrOW - avatar