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

If you see a web address on a magazine, to which web page does it point?

842


Which tag specifies a key pair generator field in a form?

761


What methods are used to draw straight line using canvas?

1061


What is footer in html?

773


What is html5 tag?

747


How do you add a keyword in word?

807


What is istable?

815


What are elements and tags in html?

814


What are the features of xhtml?

796


What does the a tag stand for?

803


What can you do with html5?

805


What is a body tag?

738


What happens if doctype is not specified?

777


How many HTML tags are should be used for the most simple of web pages?

853


How we can change the size of image in html?

799