Need help? We are here

CTS 1800 – Summer 2024 Assignment # 2 A – Chapter 3 Hands-on Exercises: # 1, 5, and 8 in page

CTS 1800 – Summer 2024 Assignment # 2

A – Chapter 3 Hands-on Exercises: # 1, 5, and 8 in page 123. See below:

1. Write the HTML for a paragraph that uses inline styles to configure the background color of green and the text color of white.
5 pts

5. Write the HTML and CSS code for an embedded style sheet that configures links without underlines; a background color of white; text color of black; is in Arial, Helvetica, or a sans-serif font; and has a class called new that is bold and italic.
10 pts

8. Practice with the Cascade.  In this exercise, you will create two web pages that link to the same external style sheet. After modifying the configuration in the external style sheet, you will test your pages again and find that they automatically pick up the new style configuration. Finally, you will add an inline style to one of the pages and find that it takes effect and overrides the external style.
15 pts

a. Create a web page that includes an unordered list describing at least three CSS properties that can be used to format text. The text “CSS Properties” should be contained within <h1> tags. Write the HTML code so that one of the properties is configured to be a class called favorite. Place an e-mail link to yourself on the web page. The web page should be associated with the external style sheet called ex8.css. Save the page as properties.html.

b. Create an external style sheet (call it ex8.css) to format as follows: document background color of white; document text color of #000099; and document font family of Arial, Helvetica, or sans-serif. Hyperlinks should have a background color of gray (#CCCCCC). <h1> elements should use the Times New Roman font with black text color. The favorite class should use red italic text.

c. Launch a browser and test your work. Display the properties.html page. It should use the formatting configured in ex8.css. Modify the web page or the CSS file until your page displays as requested.

d. Change the configuration of the external style sheet (ex8.css) to use a document background color of black, document text color of white, and <h1> text color of gray (#CCCCCC). Save the file. Launch a browser and test the properties.html page. Notice how it picks up the new styles from the external style sheet.

e. Modify the properties.html file to use an inline style. The inline style should be applied to the <h1> tag and configure it to have red text. Save the properties.html page, and test in a browser. Notice how the <h1> text color specified in the style sheet is overridden by the inline style.

B. Chapter 4 Hands-on Exercises: # 2, 7, and 8 in page 187. See below:

2. Write the HTML to create an image for the schaumburgthumb.jpg image. It is 100 pixels high by 150 pixels wide. The image should link to a larger image called schaumburg.jpg. There should be no border on the image.
10 pts

7. Practice with CSS.

1. Write the CSS for an HTML selector footer with the following characteristics: a light-blue background color, Arial font, dark-blue text color, 10 pixels of padding, and a narrow, dashed border in a dark-blue color.

2. Write the CSS for an id named notice that is configured to 80% width and centered.

3. Write the CSS to configure a class that will produce a headline with a dotted line underneath it. Choose a color that you like for the text and dotted line.

4. Write the CSS to configure an h1 element selector with drop-shadow text, a 50% transparent background color, and sans-serif font that is 4em in size.

5. Write the CSS to configure an id named feature with small, red, Arial font; a white ​background; a​ width of 80%; and a drop shadow.
20 pts

8. Design a new web page about you. Use CSS to configure a background color and text color for the page. Include the following on your web page:

· Your name

· A description of your favorite hobbies and activities

· A photo of yourself (be sure to optimize the image for display on the Web) Save the page as yourlastname.html.
15 pts

C. Chapter 6 Hands-on Exercise: 14 in page 255. See below:

14. Create a single page website about a favorite location—it could be somewhere you have gone on vacation or somewhere you would like to visit. Use the coding techniques in
Hands-On Practice 6.11 and
6.12 as a guide. Make a list of things to do (activities) at this location. Make a list of things to see or famous places (sights) to visit at this location. The single page website should include three “pages”—Home, Activities, and Sights. Either use your own vacation photos or select relevant royalty-free photos from the Web (refer to
Chapter 4). Use one photo for each “page”. If you use photos from the Web, be sure to provide appropriate credit in the footer area. Include your name in an e-mail address in the page footer area. Save the file as location.html
. 25 pts

Share This Post


Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Odoo development is taking a new direction with the emergence of citizen developers—business users with some technical skills—who can use

Odoo development is taking a new direction with the emergence of citizen developers—business users with some technical skills—who can use low-code/no-code features to automate tasks, customize modules, and generate reports. This citizen development brings agility, improved collaboration, and reduced costs. Yet, there is still a need for Odoo developers for