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 / 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


Please Help Members By Posting Answers For Below Questions

Explain new form input types in html5.

1146


Write a program to include the custom button with the form

811


What is p tag?

818


How do you display a video in HTML 5?

846


Is html case sensitive?

823


What is empty tag and container tag?

825


List out the new input attributes in html5?

784


What is a hypertext link?

958


What is a benefit of using the label element?

844


How can I hide my source?

891


What tools to use to write xhtml documents?

891


How do you insert an email link in html?

830


Why doesn't my title show up when I click "check it out"?

804


What is the use of html?

832


Which browsers support dhtml and how will non-supporting browsers handle dhtml?

920