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
Do search engines dislike frames?
What are the main features of html5?
What is doctype & why it is important?
What is the difference between server sent events and websockets in html5?
What is the function of the br tag?
What are the various elements provided by HTML 5 for media content?
What is the difference between the directory and menu lists and the unordered list?
Is xhtml deprecated?
What is html short answer?
What is innerhtml in jquery?
What are some html5 new tags?
What does a html stand for?
How many html tags are essential for a simple web page in html?
What does a div tag do?
What is frameset in html?