SlideShare a Scribd company logo
1 of 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.

More Related Content

Similar to Html intro for IML 295, week 11

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
Erin M. Kidwell
 
Dreamweaver Template
Dreamweaver TemplateDreamweaver Template
Dreamweaver Template
Evan 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 images
Rowena LI
 
Dreamweaver Notes
Dreamweaver NotesDreamweaver Notes
Dreamweaver Notes
smasi27
 
Designing for magento
Designing for magentoDesigning for magento
Designing for magento
hainutemicute
 

Similar to 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
 

More from Evan Hughes

Design and presenting with slides
Design and presenting with slidesDesign and presenting with slides
Design and presenting with slides
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
 
IML 140 Design - Basics
IML 140 Design - BasicsIML 140 Design - Basics
IML 140 Design - Basics
Evan Hughes
 
Remixand culture
Remixand cultureRemixand culture
Remixand culture
Evan Hughes
 
Mobile design patterns
Mobile design patternsMobile design patterns
Mobile design patterns
Evan Hughes
 
Weeks3 5 cs_sbasics
Weeks3 5 cs_sbasicsWeeks3 5 cs_sbasics
Weeks3 5 cs_sbasics
Evan Hughes
 

More from 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
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

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.