What is the difference between id and class attributes?
Answer Posted / hr@tgksolutions.com
• 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
What is meta charset utf8?
Do all HTML tags have end tag?
What is the function of the br tag?
Define application cache fallback?
What is the use of dhtml?
Explain cell padding and cell spacing.
How to increase the font size in html?
Are there instances where the text will appear outside of the browser?
How do I create a link?
What is meta html?
What is innerhtml in jquery?
What is the difference between xhtml, html 4 and html 5? Which one do you use typically?
What other ways can be used to align images and wrap text?
How do you create text on a webpage that allows you to send an email when clicked?
What is dhtml?