Can a div have two IDs?

By: Lakshay Gupta | 13 June 2019

G

Garima

18 June 2019

No, a div cannot have to Id in HTML. Not only div any element in HTML cannot have more than one ID. It is possible to have more than one class for any HTML element.

0 votes

Your Answer

Advertise With Us

Email us for details: advertise@gdatamart.com

Legal Policy
Sitemap & Support
International
© 2021 GDATAMART.COM (All Rights Reserved)