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. Can only be used once per page. Example: <div id="main">.
• class: Used to group multiple elements with similar styling or behavior. Example: <div class="container">.

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 html4?

866


How do I find meta tags?

827


What is the difference between an

and
in html5?

873


What is a web tag?

774


What is the difference between standard mode and quirks mode?

866


What is new meta?

826


Can I use any html in the box?

851


How to add video in background in HTML

1304


What is the use of

tag in html?

951


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

788


How we can change the size of image in html?

832


What is the purpose of ? Explain

997


What is the use of dhtml?

840


Difference between and tag?

880


How to insert a picture into a background image of a web page?

783