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 alt text word?

804


What is d full meaning of url?

910


List out the new form attributes in html5?

824


What is http and html?

875


What is

tag and why it is used for?

773


What is content in html?

887


Explain the layout of html?

807


what is the status of the development of the html 5 standard?

768


What is param tag in java?

823


What bullet types are available?

934


How do tags work?

817


How many tags are defined in xhtml 1.0?

824


What is an xhtml element?

875


How do I make flash always enabled?

831


What is difference between @Html.Partial and @Html.RenderPartial ?

834