What is the difference between id and class attributes?
Answer Posted / hr@tgksolutions.com
• id: Unique identifier for an element. Can only be used once per page. Example: <div id="main">.
• class: Used to group multiple elements with similar styling or behavior. Example: <div class="container">.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is html4?
How do I find meta tags?
What is the difference between an
What is a web tag?
What is the difference between standard mode and quirks mode?
What is new meta?
Can I use any html in the box?
How to add video in background in HTML
What is the use of