What is the difference between id and class attributes?
Answer Posted / nashiinformaticssolutions
• 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
In html5, onblur and onfocus are?
What are two types of html tags?
What is opening tag and closing tag in html?
If the user's operating system does not support the needed character, how can the symbol be represented?
Is html still used for websites?
How do you create an index?
Do web developers use html?
What is html5 routing?
What is an image map in html ?
Which tag inserts a line horizontally on your web page?
What is application cache in HTML5?
Why is flash player needed?
What is istable?
What is server sent events?
What does yw mean?