What is the difference between the CLASS and ID when you are
writting CSS?

Answer Posted / yathindra

In CSS we can call id with '#' and can be used only one time
for one page. When coming to the case of class in CSS it can
be used infinite number of times in the same page as well as
in the whole site.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is microdata in html5?

459


What are logical and physical tags in html?

495


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

485


Does html5 native support for local storage?

453


What is a HTML helper?

511






What is the use of

tag?

483


Explain Canvas?

538


What is the limit of keywords meta tag?

522


What is demo in html?

481


Explain formnovalidate attribute of html5?

481


Why does not my title show up when I click check it out?

446


explain the difference between html and html5

474


What is the major improvement with HTML5 in reference to Flash?

408


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

434


What are the different types of Headings supported by HTML?

478