0

Is it okay for one to use same id name on different HTML tags?

26th Apr 2020, 5:18 AM
David Ndung'u
David Ndung'u - avatar
2 Answers
+ 1
No. id must be unique. If you want to use for multiple tags you can use class attribute for that purpose
26th Apr 2020, 5:20 AM
Prince
0
Wow, thanks
26th Apr 2020, 10:21 PM
David Ndung'u
David Ndung'u - avatar