What is the difference between id and class attributes?
Answer Posted / nashiinformaticssolutions
• id: Unique identifier for an element (used once per page).
• class: Used to define a group of elements with the same style or behavior.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Where is dhtml used?
What is difference between html 4 and html 5?
What has the same effect as two br tags?
Explain formnovalidate attribute of html5?
What does dtd mean?
How we can create dropdown list control in html?
Describe html?
How many types of html tags are there?
Does html5 have enhanced comment lines?
Can we modify the attribute's value of the html tag dynamically?
What is meta html?
What is a tag in english?
What does tds stand for in texting?
How can tables be used inside a form? Explain with an example.
What is self closing tag?