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 a deprecated tag?

444


How do I turn off quirks mode in internet explorer?

444


Are html tags case sensitive?

508


tell me do you know new input type attribute in html5

445


Why xhtml?

536






Why is a div called a div?

471


What are the features of dhtml?

458


What are the new FORM elements which are available in HTML5?

491


What is the purpose of iframe in html?

448


How do I set the focus to the first form field?

474


What is the meaning of ?

487


What is the default border size of a canvas?

533


Explain various html list tags.

460


What is an example of syntax?

454


What does a href tag mean?

424