Appendix A. Answers to Exercises
Q: | Style sheets are made of what? |
A: | Rules. |
Q: | What's the difference between when |
A: | A |
Q: | Complete the sequence: Declaration, Property,__________________________________ |
A: | Value. |
Q: | Convert the color RGB(234, 123, 45) to hexadecimal. |
A: | #EA7B2D. |
Q: | What is the shortened hexadecimal notation of #FFFFFF? |
A: | #FFF |
Q: | When does dithering occur? |
A: | When one or more colors are not supported by the operating system or display device, the operating system will attempt to make the nonsupported color by using one or more colors it does support. |
Q: | If I have a style sheet located at |
A: | <link rel="stylesheet" type="text/css" href="stylesheet.css" /> |
Q: | Does the selector |
A: | Yes, the selector applies to all descendants of the |
Q: | In the following HTML document, do the selectors <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtmll/DTD/xhtmll-strict.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' ... |
Get Beginning CSS: Cascading Style Sheets for Web Design, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.