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

In html5, onblur and onfocus are?

1077


What are two types of html tags?

783


What is opening tag and closing tag in html?

751


If the user's operating system does not support the needed character, how can the symbol be represented?

929


Is html still used for websites?

810


How do you create an index?

860


Do web developers use html?

793


What is html5 routing?

917


What is an image map in html ?

929


Which tag inserts a line horizontally on your web page?

906


What is application cache in HTML5?

894


Why is flash player needed?

938


What is istable?

860


What is server sent events?

840


What does yw mean?

869