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

What does dhmu mean in texting?

952


Is it possible to set specific colors for table borders?

775


What is the difference between b and br tag?

818


Login form located at the home page acepting the name of the customer and its address, credit card and name of the products, a customer wnats to purchase, after the form has been accepted the website will issue order number for knowing the status.

2312


When are comments used in html?

765


Can attribute values be set to anything or are there specific values that they accept?

940


How do I start a website?

779


When was xhtml created?

774


What is the Application Cache in HTML5 and why it is used?

827


What are the new api's provided by the html5 standard? Give a brief description of each.

778


What is a header in code?

808


How do you pronounce hermes?

813


What does a html stand for?

740


What is html text format?

813


What is doctype used for in html?

772