Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Animal List Animals & Wildlife Meet some amazing animals that inhabit our world, and learn what The Nature Conservancy is doing to help protect their
Animals & Wildlife
Meet some amazing animals that inhabit our world, and learn what The Nature Conservancy is doing to help protect their habitats.
Wild Animals
- Wolf
- Fox
- Lion
Domestic Animals include a list of animals which are or may be undergoing the process of domestication and animals that have an extensive relationship with humans beyond simple predation.
Domestic Animals
- Cow
- Sheep
- Pig
File ToolsViw CTI110-Lab06(1) Protected Virw Savrd to this PC PROTECTED VIEW Re carefi files frerm the Internet can contain vinuses. UIniles ynu need to edit, it's safer to stay in Protected Vilew. Fnable Fditing - Use the style attribute to define CSS declarations Create an internal style sheet using the style element - Use type selectors to style the document CTI 110 WEB, PROGRAM, AND DATABASE Create an external style sheet - Link the style sheet to the HTML document FOUNDATIONS INSTRUCTION AND PROBLEMS LAB 06 CASCADING STYLE SHEET (CSS) Exercise 1: Creating inline styles 1. Download the animal list.html file from BlackBoard. Assume ( your flash drive is D: drive. Move the file D: xampp\htdocs\webtech\coursework\chapter04 OBJECTIVES In this lab assignment, students will learn - How to use the style attribute to define CSS declarations - How to create an internal style sheet using the style element - How to use type selectors to style the document - How to create an external style sheet - How to link the style sheet to the HTML document 2. Go to: http://localhost/webtech/coursework/chapter04/anim al list.html GOALS In this lab assignment, students will demonstrate the abilities to Screens 1-2 of 14 +147% 1:42 PM O Type here to search File ToolsViw CTI110 Lab06() Protected View Saved to this PC PROTECTED VIEW Re carefi files frerm the Internet can contain vinuses. UIniles ynu need to edit, it's safer to stay in Protected Vilew. Fnable Fditing 4. Go to File > Save As. Save the file animal list.html into animal list01.html Animals & Wildlife 5. Within the file animal 1ist01.html, locate the h3 element on line 12. To the opening h3 tag, add the style attribute Mul wsue amazing animals llal inlabit our world, and leam wlal Nature Couscr vancy is doing to liclPF Wild Animals 6. Set the style attribute's value to the following declaration: Wolf color: #1B75BB * Lion Domestic Animals inchde a list of animals which are or may be uderpoing the peocess of domestication and Domestic Animals 7. Locate the span element on line 14. To the opening span tag, add 1. Cow 2 Sheet 3. Pig the style attribute 8. Set the style attribute's value to the following declaration: 3. Back to your editor, open the animal list.html file o font-weight: bold chead> title>Animal Lists/title an tyle-"ant-wight: bola"> 5/head> 7 9. Locate the p element on line 21. To the opening p tag, add the
tag. (approximately on line 25) . Wolf Fox Licn the style attribute from the span tag. (approximately on line 27) Domestic Animals include a list oCmimals which ae or may the style attribute from the p tag. (approximately on line 34) Domestic Animals 16. Save the file animal_list02.html again. Refresh your L. Com browser at http://localhost/webtech/coursework/chapter04/anim al list02.html This is the file that you originally downloaded from the BlackBoard 3. Return to Brackets 4. Go to File > Save As. Save the file animal list.html into 17. The text in the Animal List web page should now have styles animal list03.html applied Screens 9-10 uf 14 +147% 1:43 O Type here to search File Tools View CTI110 Lab06() Protected View Saved to this PC PROTECTED VIEW Re carefi files frerm the Internet can contain vinuses. UIniles ynu need to edit, it's safer to stay in Protected Vilew. Fnable Fditing Di/xampplite/htdocs/Webtech/coursework/Chapter04/styles.css (Getting Started) 5. Again, File > New. You see an Untitled empty content document. 6. Still, File>Save As the empty file to your flash directory at: bug Help 17 h3 D \xampp\htdocs\webtech\coursework\chapter04 7. Name the file styles.css 8. Open the animal list02.html file and copy the contents of the color: #1875BB; span { font-weight: bold style element block in the document head. 9. Now, open the styles.css file and paste the CSS rules. Save the color: 585858 10. FTP the styles.css to your apollo server 11. Return to the animal list03.html 12. Still in the document head, add a link tag with the following 3 attributes pan o href: styles.css o rel: stylesheet font weight: bold; color : #5e5836 Famad Screens 11-12 of 14 +147% 1:43 O Type here to search
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started