Creating Your First Page

Activating your publish space

Western provides us with personal space on their "publish" web servers. You have to fill out an online form using your UWO username and password to activate your webspace. We'll do this first, so that we can make our page "live" at the end of the tutorial.

Downloading Filezilla and Brackets

If you are doing this course online, or following along at home, you'll need these two pieces of open source (free) software: Brackets and Filezilla (the client version NOT the server)

Create a folder for your website

Use the finder to create a folder for your website. Let's call it "exercises" (and use your own name to replace "yourname". Open up that folder, and create another folder inside it called "images".

Download a "starter" page

Rather than start from scratch, we'll download this HTML5 boilerplate.(NB: If you're following along in OWL, this is in the week 1 lesson folder.)

To download the page, open the page, and right-click (ctrl-click) on the page. In the dropdown, click on "save as" (Chrome) or "save page as" (Safari).

Navigate to the "exercises" folder and click on it. Save it as "index.html" in your "exercises" folder.

When you do, it's important to ensure you save as an html file, not as an archive. In Chrome change the pulldown, to Webpage, HTML only, like this:

In Safari, you'll see it here, as Page Source:

Next, download the most awesome picture on the internet (below), and save it in your "images" folder. (Again, if you're following along in OWL, it will be in the lesson folder, and you can move it from there.)

Let's mark this up!

Follow along with the tutorial in class. We'll use Brackets to code this directly.

Tags we'll use:

  • Headings
  • Paragraphs
  • Breaks
  • Links
  • Images
  • Lists

We'll also look at a few attributes that go with the tags.

Let's publish it!

We'll use an FTP client (Filezilla) to upload the website to the Western server. Think of the server as another computer that we need to save the files to, in order to get them on the web. We use the FTP client to "save" the file to this server.

Server settings
  • Server Name: Publish Server
  • Address: sftp.uwo.ca
  • Port: 22
  • Username: your Western email prefix
  • Password: your Western email password

Check it online

Your new page will be located at http://publish.uwo.ca/~username/exercises/