Github and Website Workshop/HTML setup

From OpenHatch wiki
Revision as of 15:02, 6 March 2015 by imported>Auria
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Welcome to Challenge 3 of the Github and Website Workshop - setting up your html file!

All web pages have the following structure:

<!DOCTYPE html>
       <meta charset="UTF-8">
       <title>Welcome to my website!</title>
       <link rel="stylesheet" type="text/css" href="template.css">
        Hello world!

1. From the terminal (or git bash) type touch index.html - this creates a new file called index.html (opens, saves, and closes)

2. Open index.html in your text editor and copy the content above into it

By the end of this workshop your directory will look like this:


Any saved images should be placed under the images directory

Next: Challenge 4