What is the functions of id? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the functions of id?

24th Dec 2018, 12:36 PM
Cesarrio Maheswara
Cesarrio Maheswara - avatar
2 Answers
+ 5
Cesarrio Maheswara The id attribute specifies a unique id for an HTML element (the value must be unique within the HTML document). https://www.w3schools.com/html/html_id.asp Next time search for such straight question on www.google.com Happy coding...😉😉😉
24th Dec 2018, 3:14 PM
Ikechukwu Okonkwo
Ikechukwu Okonkwo - avatar
+ 1
I'd is used to identify a element. (It's like giving a identity card to a element).
24th Dec 2018, 7:43 PM
Adarsh.n. Bidari
Adarsh.n. Bidari - avatar