Uncategorized

Answer the lab sheet Research Paper

Answer the lab sheet Research Paper

DCS150 Lab sheet for week 5 Exercise 1 Practice writing simple style rules. In the following exercises, make use of the following declarations (one per line): background-color: silver; font-size : 24pt; These will be referred to as the background declaration and the text declaration respectively. 1. Write CSS style rules that apply the background declaration to div elements and the text declaration to strong elements. 2. Write a single style rule that applies both the background and text declarations to both p and ul elements. 3. Document Preview: DCS150 Lab sheet for week 5 Exercise 1 Practice writing simple style rules. In the following exercises, make use of the following declarations (one per line): background-color: silver; font-size : 24pt; These will be referred to as the background declaration and the text declaration respectively. 1. Write CSS style rules that apply the background declaration to div elements and the text declaration to strong elements. 2. Write a single style rule that applies both the background and text declarations to both p and ul elements. 3. Write a single style rule that applies the background declaration to HTML elements having a value of cool for their id attributes as well as to elements belonging to the shiny class 4. Write a style rule that applies the text declaration to span elements that belong to the bigger class. 5. Write a style rule that applies the text declaration to span elements that are descendants of other span elements. 6. Write a style rule that applies the background declaration when the cursor hovers over a hyperlink. Exercise 2 Create three external style sheets, using a different subset of the style rules you wrote for the previous exercise in each style sheet. Save them as s1.css, s2.css, and s3.css respectively. Then write a complete XHTML document that uses all of your style rules and validate it. 1. Your document should treat your style sheets as being of three different types: a. A non-persistent and preferred style sheet b. An alternative style sheet c. A style sheet used only if the XHTML document is printed 2. Use the @import rule to have the first of your style sheets import the second, which imports the third. Your XHTML document should treat the first style sheet as a persistent style sheet. Exercise 3 Locate a website that displays the colors of the so-called browser-safe color palette (a hint: goolge browser-safe color palette), a collection of colors that can reliably be displayed even using video cards that are capable of showing Attachments: 18029-2-secon.pdf

Is this the question you were looking for? If so, place your order here to get started!

×