SlideShare une entreprise Scribd logo
1  sur  11
1.

Create a folder to serve as the “directory” for
your website

1.

Put an “images” folder in your directory folder
(name it in all lowercase letters)

1.

Add the background image and your head
shot image to the images folder

1.

Make sure that you rename all images in
simple and contextual language with no
spaces or special characters.
For example, my head shot might be
evanHead.png
1.

Open a text editor (we used
TextWrangler)

1.

Create your basics HTML page
structure
<html>
<head>
</head>
<body>
Hello World!
</body>
</html>
1.

Click file  save as  index.html  make sure you
save the file into your directory folder.

1.

Right click on your saved file and open with a
browser (make sure your browsers are up-to-date!)

1.

Now change the tab name by adding a title tag
<html>
<head>
<title> Race, Class, and Gender in Digital Culture </title>

</head>
<body>
Hello World!
</body>
</html>
1.

Save your document

1.

Right click on your saved file and open with a browser
(were the changes you made reflected?)

1.

Now let’s add the image of you with the <img> tag. We
will also need to add an attribute.
<html>
<head>
<title> Race, Class, and Gender in Digital
Culture </title>
</head>
<body>
Hello World!
<img src=“images/imageName.png” />
</body>

</html>
1.

Open a new file in Text Wrangler (or
your preferred text editor)
File  New  Text Document (don’t save yet)

2.

Write your CSS declarations using
selectors (the html tag name),
properties, and values.
body {
background-image: url(“imgName.jpg”);
{
1.

Save the file as a css stylesheet
File  save as  style.css (and make sure it’s in
your directory folder

2.

The background image will not show up
yet because you haven’t linked your
html page (index.html) to your CSS
page (style.css)
1.

In index.html add the link to style, css with
the <link> tag and attributes.
<html>
<head>
<title> Race, Class, and Gender in
Digital
Culture </title>
<link rel=“stylesheet” type=“text/css”
href=“style.css” />
</head>
<body>
Hello World!
<img src=“images/imageName.png” />
</body>
</html>
1.

Save your document

1.

Right click on your saved index.html file
and open with a browser (were the
changes you made reflected?)

1.

If you can’t see the background image
then something didn’t work, either in the
way you wrote your CSS or the link you
created on your index.html document.
So check it for mistakes and try again if
you can’t find them!
1.

Add more declarations to your CSS
document so the background scales in
size with the size of your browser
window
body

{
background-image: url(“imgName.jpg”);
background-attachment: fixed;
background-size: cover;
}
1.

Make sure everything is saved

1.

Open your index.html document in a
browser. If you change the size of the
browser windor does the image scale?
If it does work, congratulations! If not,
then something didn’t work. Delete the
commands and try again.

Contenu connexe

Similaire à Html intro for IML 295, week 11

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLMeghan Frisco
 
46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello worldhemi46h
 
Class 2 handout (1) adding a css stylesheet
Class 2 handout (1) adding a css stylesheetClass 2 handout (1) adding a css stylesheet
Class 2 handout (1) adding a css stylesheetErin M. Kidwell
 
Joomla Beginner Template Presentation
Joomla Beginner Template PresentationJoomla Beginner Template Presentation
Joomla Beginner Template Presentationalledia
 
Miami media-party-html-css
Miami media-party-html-cssMiami media-party-html-css
Miami media-party-html-cssRachel Schallom
 
Firstborn child theme word camp presentation - atlanta 2013
Firstborn child theme   word camp presentation - atlanta 2013Firstborn child theme   word camp presentation - atlanta 2013
Firstborn child theme word camp presentation - atlanta 2013Evan Mullins
 
Dreamweaver Template
Dreamweaver TemplateDreamweaver Template
Dreamweaver TemplateEvan Hughes
 
Week 2 HTML lists, hyperlinks, tables, and images
Week 2 HTML lists, hyperlinks, tables, and imagesWeek 2 HTML lists, hyperlinks, tables, and images
Week 2 HTML lists, hyperlinks, tables, and imagesRowena LI
 
Dreamweaver Notes
Dreamweaver NotesDreamweaver Notes
Dreamweaver Notessmasi27
 
Designing for magento
Designing for magentoDesigning for magento
Designing for magentohainutemicute
 

Similaire à Html intro for IML 295, week 11 (20)

Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Hpage
HpageHpage
Hpage
 
Web 101 intro to html
Web 101  intro to htmlWeb 101  intro to html
Web 101 intro to html
 
46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world
 
Class 2 handout (1) adding a css stylesheet
Class 2 handout (1) adding a css stylesheetClass 2 handout (1) adding a css stylesheet
Class 2 handout (1) adding a css stylesheet
 
Joomla Beginner Template Presentation
Joomla Beginner Template PresentationJoomla Beginner Template Presentation
Joomla Beginner Template Presentation
 
Creating a basic joomla
Creating a basic joomlaCreating a basic joomla
Creating a basic joomla
 
Artistic Web Applications - Week3 - Part 3
Artistic Web Applications - Week3 - Part 3Artistic Web Applications - Week3 - Part 3
Artistic Web Applications - Week3 - Part 3
 
Rd.Html
Rd.HtmlRd.Html
Rd.Html
 
Miami media-party-html-css
Miami media-party-html-cssMiami media-party-html-css
Miami media-party-html-css
 
Firstborn child theme word camp presentation - atlanta 2013
Firstborn child theme   word camp presentation - atlanta 2013Firstborn child theme   word camp presentation - atlanta 2013
Firstborn child theme word camp presentation - atlanta 2013
 
Cashcading stylesheets
Cashcading stylesheetsCashcading stylesheets
Cashcading stylesheets
 
Dreamweaver Template
Dreamweaver TemplateDreamweaver Template
Dreamweaver Template
 
Joomla Templates101
Joomla Templates101Joomla Templates101
Joomla Templates101
 
Lecture 2 - HTML Basics
Lecture 2 - HTML BasicsLecture 2 - HTML Basics
Lecture 2 - HTML Basics
 
Week 2 HTML lists, hyperlinks, tables, and images
Week 2 HTML lists, hyperlinks, tables, and imagesWeek 2 HTML lists, hyperlinks, tables, and images
Week 2 HTML lists, hyperlinks, tables, and images
 
CSS
CSSCSS
CSS
 
Dreamweaver Notes
Dreamweaver NotesDreamweaver Notes
Dreamweaver Notes
 
CSS.pdf
CSS.pdfCSS.pdf
CSS.pdf
 
Designing for magento
Designing for magentoDesigning for magento
Designing for magento
 

Plus de Evan 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
 
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 weekEvan 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
 
Iml140 cs sbasics_week5
Iml140 cs sbasics_week5Iml140 cs sbasics_week5
Iml140 cs sbasics_week5Evan Hughes
 
Week 4 css basics
Week 4 css basicsWeek 4 css basics
Week 4 css basicsEvan 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
 
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
 
IML 140 Design - Basics
IML 140 Design - BasicsIML 140 Design - Basics
IML 140 Design - BasicsEvan Hughes
 
Remixand culture
Remixand cultureRemixand culture
Remixand cultureEvan Hughes
 
Mobile design patterns
Mobile design patternsMobile design patterns
Mobile design patternsEvan Hughes
 
Weeks3 5 cs_sbasics
Weeks3 5 cs_sbasicsWeeks3 5 cs_sbasics
Weeks3 5 cs_sbasicsEvan 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
 

Plus de Evan Hughes (20)

Blog HTML example for IML 295
Blog HTML example for IML 295Blog HTML example for IML 295
Blog HTML example for IML 295
 
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
 
Iml140 cs sbasics_week5
Iml140 cs sbasics_week5Iml140 cs sbasics_week5
Iml140 cs sbasics_week5
 
Week 4 css basics
Week 4 css basicsWeek 4 css basics
Week 4 css basics
 
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
 
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
 
IML 140 Design - Basics
IML 140 Design - BasicsIML 140 Design - Basics
IML 140 Design - Basics
 
Remixand culture
Remixand cultureRemixand culture
Remixand culture
 
Mobile design patterns
Mobile design patternsMobile design patterns
Mobile design patterns
 
Weeks3 5 cs_sbasics
Weeks3 5 cs_sbasicsWeeks3 5 cs_sbasics
Weeks3 5 cs_sbasics
 
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
 

Dernier

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 

Dernier (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 

Html intro for IML 295, week 11

  • 1.
  • 2. 1. Create a folder to serve as the “directory” for your website 1. Put an “images” folder in your directory folder (name it in all lowercase letters) 1. Add the background image and your head shot image to the images folder 1. Make sure that you rename all images in simple and contextual language with no spaces or special characters. For example, my head shot might be evanHead.png
  • 3. 1. Open a text editor (we used TextWrangler) 1. Create your basics HTML page structure <html> <head> </head> <body> Hello World! </body> </html>
  • 4. 1. Click file  save as  index.html  make sure you save the file into your directory folder. 1. Right click on your saved file and open with a browser (make sure your browsers are up-to-date!) 1. Now change the tab name by adding a title tag <html> <head> <title> Race, Class, and Gender in Digital Culture </title> </head> <body> Hello World! </body> </html>
  • 5. 1. Save your document 1. Right click on your saved file and open with a browser (were the changes you made reflected?) 1. Now let’s add the image of you with the <img> tag. We will also need to add an attribute. <html> <head> <title> Race, Class, and Gender in Digital Culture </title> </head> <body> Hello World! <img src=“images/imageName.png” /> </body> </html>
  • 6. 1. Open a new file in Text Wrangler (or your preferred text editor) File  New  Text Document (don’t save yet) 2. Write your CSS declarations using selectors (the html tag name), properties, and values. body { background-image: url(“imgName.jpg”); {
  • 7. 1. Save the file as a css stylesheet File  save as  style.css (and make sure it’s in your directory folder 2. The background image will not show up yet because you haven’t linked your html page (index.html) to your CSS page (style.css)
  • 8. 1. In index.html add the link to style, css with the <link> tag and attributes. <html> <head> <title> Race, Class, and Gender in Digital Culture </title> <link rel=“stylesheet” type=“text/css” href=“style.css” /> </head> <body> Hello World! <img src=“images/imageName.png” /> </body> </html>
  • 9. 1. Save your document 1. Right click on your saved index.html file and open with a browser (were the changes you made reflected?) 1. If you can’t see the background image then something didn’t work, either in the way you wrote your CSS or the link you created on your index.html document. So check it for mistakes and try again if you can’t find them!
  • 10. 1. Add more declarations to your CSS document so the background scales in size with the size of your browser window body { background-image: url(“imgName.jpg”); background-attachment: fixed; background-size: cover; }
  • 11. 1. Make sure everything is saved 1. Open your index.html document in a browser. If you change the size of the browser windor does the image scale? If it does work, congratulations! If not, then something didn’t work. Delete the commands and try again.