SlideShare ist ein Scribd-Unternehmen logo
1 von 30
1) Review your "Web" 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
5) Now try it between the <head> </head> tags
6) Create a link: <a href=&quot;http://www...&quot;>text</a>
7) Create an email link:   <a href=&quot;mailto:ehughes@usc.edu&quot;> contact me </a>
8)  Create an &quot;unordered&quot; list in header: <ul> </ul>
9)   Link list contents to other pages:   <ul> <a href=&quot;about.html&quot;> about </a> <a href=&quot;media.html&quot;> media </a> </ul>
CSS & next phase in the evolution of Web development:  
10)   use basic HTML documents for CSS stylesheet
11)   open new unformatted text document
12)   structure of CSS tags
13)   structure of CSS tags body { background-color: #FF0000; }
14)   save CSS document as: style.css
15)   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; />
16)   add more attributes: body { background-color: #FF0000; } h1 { color: yellow; background-color: black; }
17)   add more attributes: h1 { color: yellow; background-color: black; font-family: arial, sans-serif; font-size: 48; font-variant: small-caps; }
18)   add more attributes: h2 { color: blue; background-color: yellow; font-family: &quot;times new roman&quot;, serif; font-size: 32; font-variant: small-caps; }
19)   add background image: body { background-color: #FF0000; background-image: url(&quot;&quot;); }
20)   fix image location upon scroll: body { background-color: #FF0000; background-image: url(&quot;&quot;); background-attachment: fixed; }
21)   fix image location in browser: body { background-color: #FF0000; background-image: url(&quot;&quot;); background-attachment: fixed; background-position: 15% 35%; }
22)   repeat image: body { background-color: #FF0000; background-image: url(&quot;&quot;); background-attachment: fixed; background-position: 15% 35%; background-repeat: no-repeat; }
23)   create paragraph attributes: p { text-indent: 50px; }
24)   create link attributes: a { color: white; }
24)   create link attributes: a:link { text-decoration: none; }
25)   create link attributes: a:hover { color: orange; font-style: italic; }
25)   float images: in stylesheet: # { float: right; width: 350; } in html document: <div id=&quot;&quot;> </div>
26)   other <div id=&quot;&quot;> attributes: # { text-align: justify; font-style: italic; }
26)   other <div id=&quot;&quot;> attributes: # { text-align: justify; font-style: italic; background: 5e6363; color: ffffff; padding: px px px px; }

Weitere ähnliche Inhalte

Ähnlich wie Weeks3 5 cs_sbasics

Ähnlich wie Weeks3 5 cs_sbasics (20)

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_
 
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
 
Webpages And Dynamic Content
Webpages And Dynamic ContentWebpages And Dynamic Content
Webpages And Dynamic Content
 
Various Ways of Using WordPress
Various Ways of Using WordPressVarious Ways of Using WordPress
Various Ways of Using WordPress
 
ARTDM 170, Week 16: Publishing
ARTDM 170, Week 16: PublishingARTDM 170, Week 16: Publishing
ARTDM 170, Week 16: Publishing
 
Fast by Default
Fast by DefaultFast by Default
Fast by Default
 
WordPress Development Confoo 2010
WordPress Development Confoo 2010WordPress Development Confoo 2010
WordPress Development Confoo 2010
 
Web design
Web designWeb design
Web design
 
Filling the HTML5 Gaps with Polyfills and Shims
Filling the HTML5 Gaps with Polyfills and ShimsFilling the HTML5 Gaps with Polyfills and Shims
Filling the HTML5 Gaps with Polyfills and Shims
 
Day of code
Day of codeDay of code
Day of code
 
Download Workshop Lecture
Download Workshop LectureDownload Workshop Lecture
Download Workshop Lecture
 
Html5
Html5Html5
Html5
 
3 coding101 fewd_lesson3_your_first_website 20210105
3 coding101 fewd_lesson3_your_first_website 202101053 coding101 fewd_lesson3_your_first_website 20210105
3 coding101 fewd_lesson3_your_first_website 20210105
 
Class11
Class11Class11
Class11
 
EPiServer Web Parts
EPiServer Web PartsEPiServer Web Parts
EPiServer Web Parts
 
HTML 5
HTML 5HTML 5
HTML 5
 
A More Perfect Union with CSS
A More Perfect Union with CSSA More Perfect Union with CSS
A More Perfect Union with CSS
 
HTML5
HTML5HTML5
HTML5
 

Mehr von Evan Hughes

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 BusinessEvan Hughes
 
Blog HTML example for IML 295
Blog HTML example for IML 295Blog HTML example for IML 295
Blog HTML example for IML 295Evan Hughes
 
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 11Evan Hughes
 
Media for business_commercials
Media for business_commercialsMedia for business_commercials
Media for business_commercialsEvan Hughes
 
Design and presenting with slides
Design and presenting with slidesDesign and presenting with slides
Design and presenting with slidesEvan Hughes
 
Iml140 web week_1
Iml140 web week_1Iml140 web week_1
Iml140 web week_1Evan Hughes
 
Dreamweaver Template
Dreamweaver TemplateDreamweaver Template
Dreamweaver TemplateEvan Hughes
 
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)Evan Hughes
 
Web and creative cultures week 2
Web and creative cultures week 2Web and creative cultures week 2
Web and creative cultures week 2Evan Hughes
 
Dreamweaver template
Dreamweaver templateDreamweaver template
Dreamweaver templateEvan Hughes
 
Remixand culture
Remixand cultureRemixand culture
Remixand cultureEvan Hughes
 
Mobile design patterns
Mobile design patternsMobile design patterns
Mobile design patternsEvan Hughes
 
Color Theory Basics
Color Theory BasicsColor Theory Basics
Color Theory BasicsEvan Hughes
 
Iml140 web week_1
Iml140 web week_1Iml140 web week_1
Iml140 web week_1Evan Hughes
 
Digital portfolio
Digital portfolioDigital portfolio
Digital portfolioEvan Hughes
 

Mehr von 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
 
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
 
Word Press Site
Word Press SiteWord Press Site
Word Press Site
 
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
 
Dreamweaver template
Dreamweaver templateDreamweaver template
Dreamweaver template
 
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
 
Remix
RemixRemix
Remix
 
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
 

Kürzlich hochgeladen

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEaurabinda banchhor
 
EMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docxEMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docxElton John Embodo
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 

Kürzlich hochgeladen (20)

ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSE
 
EMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docxEMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docx
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 

Weeks3 5 cs_sbasics

  • 1.
  • 2.
  • 3. 3) Get embed code for video
  • 4. 4) Paste embed code into <body> </body> tags
  • 5. 5) Now try it between the <head> </head> tags
  • 6. 6) Create a link: <a href=&quot;http://www...&quot;>text</a>
  • 7. 7) Create an email link:   <a href=&quot;mailto:ehughes@usc.edu&quot;> contact me </a>
  • 8. 8) Create an &quot;unordered&quot; list in header: <ul> </ul>
  • 9. 9) Link list contents to other pages:   <ul> <a href=&quot;about.html&quot;> about </a> <a href=&quot;media.html&quot;> media </a> </ul>
  • 10. CSS & next phase in the evolution of Web development:  
  • 11. 10) use basic HTML documents for CSS stylesheet
  • 12. 11) open new unformatted text document
  • 13. 12) structure of CSS tags
  • 14. 13) structure of CSS tags body { background-color: #FF0000; }
  • 15. 14) save CSS document as: style.css
  • 16. 15) 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; />
  • 17. 16) add more attributes: body { background-color: #FF0000; } h1 { color: yellow; background-color: black; }
  • 18. 17) add more attributes: h1 { color: yellow; background-color: black; font-family: arial, sans-serif; font-size: 48; font-variant: small-caps; }
  • 19. 18) add more attributes: h2 { color: blue; background-color: yellow; font-family: &quot;times new roman&quot;, serif; font-size: 32; font-variant: small-caps; }
  • 20. 19) add background image: body { background-color: #FF0000; background-image: url(&quot;&quot;); }
  • 21. 20) fix image location upon scroll: body { background-color: #FF0000; background-image: url(&quot;&quot;); background-attachment: fixed; }
  • 22. 21) fix image location in browser: body { background-color: #FF0000; background-image: url(&quot;&quot;); background-attachment: fixed; background-position: 15% 35%; }
  • 23. 22) repeat image: body { background-color: #FF0000; background-image: url(&quot;&quot;); background-attachment: fixed; background-position: 15% 35%; background-repeat: no-repeat; }
  • 24. 23) create paragraph attributes: p { text-indent: 50px; }
  • 25. 24) create link attributes: a { color: white; }
  • 26. 24) create link attributes: a:link { text-decoration: none; }
  • 27. 25) create link attributes: a:hover { color: orange; font-style: italic; }
  • 28. 25) float images: in stylesheet: # { float: right; width: 350; } in html document: <div id=&quot;&quot;> </div>
  • 29. 26) other <div id=&quot;&quot;> attributes: # { text-align: justify; font-style: italic; }
  • 30. 26) other <div id=&quot;&quot;> attributes: # { text-align: justify; font-style: italic; background: 5e6363; color: ffffff; padding: px px px px; }