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 footer used for?

848


What is a json string?

743


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

875


Does a hyperlink only apply to text?

866


Why is tag used?

1014


Why div tag is used in html?

763


What is session storage and how can you create one?

798


How do you anchor in html?

868


How do you turn on html5 on safari?

828


What is getelementbyid?

811


When are comments used in html?

757


How do I get form data emailed to me?

821


How to create nested web page in html?

790


What are the advantages of SVG over other image format like JPEG or GIF?

785


What is the use of a div tag?

765