Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is meta charset utf8?

995


Do all HTML tags have end tag?

1103


What is the function of the br tag?

1054


Define application cache fallback?

919


What is the use of dhtml?

838


Explain cell padding and cell spacing.

810


How to increase the font size in html?

868


Are there instances where the text will appear outside of the browser?

907


How do I create a link?

867


What is meta html?

860


What is innerhtml in jquery?

885


What is the difference between xhtml, html 4 and html 5? Which one do you use typically?

787


What other ways can be used to align images and wrap text?

822


How do you create text on a webpage that allows you to send an email when clicked?

891


What is dhtml?

918