SlideShare uma empresa Scribd logo
1 de 26
1) Review "frenchie" folder contents: ,[object Object],[object Object],[object Object],[object Object],[object Object]
2) Change some attributes of other pages ,[object Object],[object Object],[object Object]
3) Get embed code for video
4) Paste embed code into <body> </body> tags of “about” page
5) Create an email link:   <a href=&quot;mailto:ehughes@usc.edu&quot;> contact me </a> in contact page
CSS & next phase in the evolution of Web development:  
6)  The  CSS stylesheet creates the scripting commands for your HTML pages. You will link to the CSS stylesheet in the <head> </head> tag of each page you want linked. But let's not get ahead of ourselves….first…
7)   open new unformatted text document
8)   structure of CSS tags
9)   structure of CSS tags body { background-color: #c29c6b; }
10)   save CSS document as: style.css
11)   Link your style sheet to your .html documents in the <head> </head> tags:   <link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style.css&quot; />
12)   add more attributes: body { background-color: #c29c6b; } h1 { color: #c5b288; background-color: #724f21; }
13)   add more attributes: h1 { color:  #c5b288 ; background-color:  #724f21 ; font-family: arial, sans-serif; font-size: 48; font-variant: small-caps; }
14)   add more attributes: h2 { color: #9f2325; font-family: &quot;times new roman&quot;, serif; font-size: 32; font-variant: small-caps; }
15)   add background image: body { background-color: #c29c6b; background-image: url(&quot;&quot;); }
16)   repeat image: body { background-color: #c29c6b; background-image: url(&quot;&quot;); background-attachment: fixed; background-position: 100% 10%; background-repeat: no-repeat; }
17)   create paragraph attributes: p { text-indent: 50px; }
18)   create paragraph attributes: ul, li { list-style-type: none; }
19)   create paragraph attributes: ul, li { list-style-type: none; display: inline; }
20)   create paragraph attributes: ul, li { list-style-type: none; display: inline; margin-right: 35px; }
21)   create link attributes: a { color: #ffffff; }
22)   create link attributes: a { color: #ffffff; text-decoration: none; }
23)   create link attributes: a:hover { color:  #f56dc1 ; font-style: italic; }
24)   float images: in stylesheet: #madison { float: right; margin-left: 10px; } in html document: <div id=”madison&quot;> image</div>
25)   other <div id=&quot;&quot;> attributes: # { text-align: justify; font-style: italic; }

Mais conteúdo relacionado

Semelhante a Week 4 css basics

IML 140 Design - Basics
IML 140 Design - BasicsIML 140 Design - Basics
IML 140 Design - Basics
Evan Hughes
 
Iml 140 web_week_2_html_basics_
Iml 140 web_week_2_html_basics_Iml 140 web_week_2_html_basics_
Iml 140 web_week_2_html_basics_
Evan Hughes
 
Webpages And Dynamic Content
Webpages And Dynamic ContentWebpages And Dynamic Content
Webpages And Dynamic Content
maycourse
 
Download Workshop Lecture
Download Workshop LectureDownload Workshop Lecture
Download Workshop Lecture
webhostingguy
 
Css tutorial
Css tutorialCss tutorial
Css tutorial
vedaste
 

Semelhante a Week 4 css basics (20)

IML 140 Design - Basics
IML 140 Design - BasicsIML 140 Design - Basics
IML 140 Design - Basics
 
Iml140 cs sbasics_week5
Iml140 cs sbasics_week5Iml140 cs sbasics_week5
Iml140 cs sbasics_week5
 
Css by tanbircox
Css by tanbircoxCss by tanbircox
Css by tanbircox
 
Webtech File.docx
Webtech File.docxWebtech File.docx
Webtech File.docx
 
Iml 140 web_week_2_html_basics_
Iml 140 web_week_2_html_basics_Iml 140 web_week_2_html_basics_
Iml 140 web_week_2_html_basics_
 
HTML & CSS Workshop Notes
HTML & CSS Workshop NotesHTML & CSS Workshop Notes
HTML & CSS Workshop Notes
 
Webpages And Dynamic Content
Webpages And Dynamic ContentWebpages And Dynamic Content
Webpages And Dynamic Content
 
Download Workshop Lecture
Download Workshop LectureDownload Workshop Lecture
Download Workshop Lecture
 
WordPress Development Confoo 2010
WordPress Development Confoo 2010WordPress Development Confoo 2010
WordPress Development Confoo 2010
 
Various Ways of Using WordPress
Various Ways of Using WordPressVarious Ways of Using WordPress
Various Ways of Using WordPress
 
Stylesheets for Online Help - Scott DeLoach, ClickStart
Stylesheets for Online Help - Scott DeLoach, ClickStartStylesheets for Online Help - Scott DeLoach, ClickStart
Stylesheets for Online Help - Scott DeLoach, ClickStart
 
Class 2: CSS Selectors, Classes & Ids
Class 2: CSS Selectors, Classes & IdsClass 2: CSS Selectors, Classes & Ids
Class 2: CSS Selectors, Classes & Ids
 
How cgi scripting works
How cgi scripting worksHow cgi scripting works
How cgi scripting works
 
WordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute WorkshopWordPress Theme Design - Rich Media Institute Workshop
WordPress Theme Design - Rich Media Institute Workshop
 
Modifying your themes design - Learning CSS - Atlanta WordPress users group
Modifying your themes design - Learning CSS - Atlanta WordPress users groupModifying your themes design - Learning CSS - Atlanta WordPress users group
Modifying your themes design - Learning CSS - Atlanta WordPress users group
 
Basic html structure
Basic html structureBasic html structure
Basic html structure
 
Css tutorial
Css tutorialCss tutorial
Css tutorial
 
HTML 5
HTML 5HTML 5
HTML 5
 
Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01Cascading Style Sheets - Part 01
Cascading Style Sheets - Part 01
 
Fast by Default
Fast by DefaultFast by Default
Fast by Default
 

Mais de Evan Hughes

Media for business_commercials
Media for business_commercialsMedia for business_commercials
Media for business_commercials
Evan Hughes
 
Design and presenting with slides
Design and presenting with slidesDesign and presenting with slides
Design and presenting with slides
Evan Hughes
 
Dreamweaver Template
Dreamweaver TemplateDreamweaver Template
Dreamweaver Template
Evan Hughes
 
Web and creative cultures week 2
Web and creative cultures week 2Web and creative cultures week 2
Web and creative cultures week 2
Evan Hughes
 
Web and creative cultures week 2
Web and creative cultures week 2Web and creative cultures week 2
Web and creative cultures week 2
Evan Hughes
 
Remixand culture
Remixand cultureRemixand culture
Remixand culture
Evan Hughes
 
Mobile design patterns
Mobile design patternsMobile design patterns
Mobile design patterns
Evan Hughes
 

Mais de Evan Hughes (20)

IML 140 - The Art of the Storytelling Business
IML 140 - The Art of the Storytelling BusinessIML 140 - The Art of the Storytelling Business
IML 140 - The Art of the Storytelling Business
 
Blog HTML example for IML 295
Blog HTML example for IML 295Blog HTML example for IML 295
Blog HTML example for IML 295
 
Html intro for IML 295, week 11
Html intro for IML 295, week 11Html intro for IML 295, week 11
Html intro for IML 295, week 11
 
Media for business_commercials
Media for business_commercialsMedia for business_commercials
Media for business_commercials
 
I ml 140 digital media for business - final week
I ml 140  digital media for business - final weekI ml 140  digital media for business - final week
I ml 140 digital media for business - final week
 
Design and presenting with slides
Design and presenting with slidesDesign and presenting with slides
Design and presenting with slides
 
Iml140 web week_1
Iml140 web week_1Iml140 web week_1
Iml140 web week_1
 
Dreamweaver Template
Dreamweaver TemplateDreamweaver Template
Dreamweaver Template
 
Html basics IML 140 (weeks 2-3)
Html basics IML 140 (weeks 2-3)Html basics IML 140 (weeks 2-3)
Html basics IML 140 (weeks 2-3)
 
Web and creative cultures week 2
Web and creative cultures week 2Web and creative cultures week 2
Web and creative cultures week 2
 
Web and creative cultures week 2
Web and creative cultures week 2Web and creative cultures week 2
Web and creative cultures week 2
 
Remixand culture
Remixand cultureRemixand culture
Remixand culture
 
Mobile design patterns
Mobile design patternsMobile design patterns
Mobile design patterns
 
Color Theory Basics
Color Theory BasicsColor Theory Basics
Color Theory Basics
 
Iml 295 week
Iml 295 weekIml 295 week
Iml 295 week
 
Iml140 web week_1
Iml140 web week_1Iml140 web week_1
Iml140 web week_1
 
Digital portfolio
Digital portfolioDigital portfolio
Digital portfolio
 
Rule of thirds
Rule of thirdsRule of thirds
Rule of thirds
 
Rule of thirds
Rule of thirdsRule of thirds
Rule of thirds
 
Week 3 html_css_basics
Week 3 html_css_basicsWeek 3 html_css_basics
Week 3 html_css_basics
 

Último

Último (20)

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 

Week 4 css basics

  • 1.
  • 2.
  • 3. 3) Get embed code for video
  • 4. 4) Paste embed code into <body> </body> tags of “about” page
  • 5. 5) Create an email link:   <a href=&quot;mailto:ehughes@usc.edu&quot;> contact me </a> in contact page
  • 6. CSS & next phase in the evolution of Web development:  
  • 7. 6) The CSS stylesheet creates the scripting commands for your HTML pages. You will link to the CSS stylesheet in the <head> </head> tag of each page you want linked. But let's not get ahead of ourselves….first…
  • 8. 7) open new unformatted text document
  • 9. 8) structure of CSS tags
  • 10. 9) structure of CSS tags body { background-color: #c29c6b; }
  • 11. 10) save CSS document as: style.css
  • 12. 11) Link your style sheet to your .html documents in the <head> </head> tags:   <link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style.css&quot; />
  • 13. 12) add more attributes: body { background-color: #c29c6b; } h1 { color: #c5b288; background-color: #724f21; }
  • 14. 13) add more attributes: h1 { color: #c5b288 ; background-color: #724f21 ; font-family: arial, sans-serif; font-size: 48; font-variant: small-caps; }
  • 15. 14) add more attributes: h2 { color: #9f2325; font-family: &quot;times new roman&quot;, serif; font-size: 32; font-variant: small-caps; }
  • 16. 15) add background image: body { background-color: #c29c6b; background-image: url(&quot;&quot;); }
  • 17. 16) repeat image: body { background-color: #c29c6b; background-image: url(&quot;&quot;); background-attachment: fixed; background-position: 100% 10%; background-repeat: no-repeat; }
  • 18. 17) create paragraph attributes: p { text-indent: 50px; }
  • 19. 18) create paragraph attributes: ul, li { list-style-type: none; }
  • 20. 19) create paragraph attributes: ul, li { list-style-type: none; display: inline; }
  • 21. 20) create paragraph attributes: ul, li { list-style-type: none; display: inline; margin-right: 35px; }
  • 22. 21) create link attributes: a { color: #ffffff; }
  • 23. 22) create link attributes: a { color: #ffffff; text-decoration: none; }
  • 24. 23) create link attributes: a:hover { color: #f56dc1 ; font-style: italic; }
  • 25. 24) float images: in stylesheet: #madison { float: right; margin-left: 10px; } in html document: <div id=”madison&quot;> image</div>
  • 26. 25) other <div id=&quot;&quot;> attributes: # { text-align: justify; font-style: italic; }