logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the difference between class selector and ID selector?


  • Correct Answer
  • - Class selector can be given to an overall block This is sometimes termed as block element as well, whereas ID selector identifies a unique name and a style for a specific element - ID selector declares the style for only one particular element which can be differentiated from other element, whereas Class selector is being given for the whole complete block 


  • Technology problems


    Search Results


    • 1. What are the rules in CSS ruleset?
    • Discuss
    • 2. What is the use of CSS sprites?
    • Discuss
    • 3. What is CSS selector?
    • Discuss
    • 4. What are different ways to integrate a CSS into a Web page?
    • Discuss
    • 5. Differentiate different types of Doctypes from one another.
    • Discuss
    • 6. What is the purpose of pseudo-elements?
    • Discuss
    • 7. What is the use of Media Types in CSS?
    • Discuss
    • 8. What are the advantages of the external over inline style methods?
    • Discuss
    • 9. JavaScript vs. Jscript
    • Discuss
    • 10. What is the difference between Client side JavaScript and Server side JavaScript.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment