How can you judge whether one rule is more specific than another?

What will be an ideal response?


You can assign numeric values to each component in a selector name to
determine whether one rule is more specific than another. Tags get 1 point each,
classes 10 points, ids 100, and inline-style attributes 1000. The selector with
the higher total value typically wins. If two rules are equal in value, the cascade
position will determine the winner. Even when one rule wins, properties can
still be inherited from the other rules and style sheets.

Computer Science & Information Technology

You might also like to view...

What are the steps to creating database-driven pages for a Linux server?

What will be an ideal response?

Computer Science & Information Technology

____ provides a framework and a Java implementation for the SSL and TLS protocols.

A. java.security.spec B. JSSE C. Java Cipher class D. java.security.cert

Computer Science & Information Technology

When convergence on a routed network occurs, which of the following is true?

A. All routers are using hop count as the metric B. All routers have the same routing table C. All routers learn the route to all connected networks D. All routers use route summarization

Computer Science & Information Technology

A query can be written using a(n) _____, which is simply an XPath expression that retrieves element and attribute nodes from a source document based on specified criteria.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology