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

What is a tag in html5?

823


What is bulleted and numbered lists?

837


How do I create a link that sends me email?

870


What is simple html?

916


How do you make decision when to use use HTML & xHTML ?

830


What is a nest in html?

826


What is a meta word?

893


What is layer in html?

815


What are the steps of server side scripts for SSE?

808


What is difference html4 and html5?

820


Do you know what is the sessionstorage object in html5? How to create and access?

792


Should I end my urls with a slash?

853


Does html5 have enhanced comment lines?

2078


What tools to use to write xhtml documents?

872


What is semantic elements in html5? List some semantic elements

766