Can a div have two IDs?

Query By: LAKSHAY GUPTA

G

Garima

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

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

LifeStyle & Fun

© 2024 GDATAMART.COM (All Rights Reserved)