Skip to content

Commit 6a80bd6

Browse files
committed
corrected typos etc
1 parent a407003 commit 6a80bd6

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

_sessions/c1s1/4_first_page.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Creating an HTML page
33
---
44

5-
One of the nice things about HTML is you don't need a lot to test it out on your laptop: all you need is a text editor and a web browser.
5+
One of the nice things about HTML is you don't need any fancy software to test it out on your laptop: all you need is a text editor and a web browser.
66

77
{% exercise %}
88
1. Inside your `coding_course` folder create another folder called `first_site`.
@@ -17,15 +17,15 @@ One of the nice things about HTML is you don't need a lot to test it out on your
1717

1818
### Why index.html?
1919

20-
In the old days of the web, navigating a website was a lot more like moving around the folder system on your laptop. You'd go to a base site and there would just be a list of the files and folders available: an index. Because of this `index.html` is still the default file that a server will serve when you navigate to a folder in the web browser.
20+
In the old days of the web, navigating a website was a lot more like moving around the folder system on your laptop. You would go to a base site and there would just be a list of the files and folders available: an index. Because of this `index.html` is still the default file that a server will serve when you navigate to a folder in the web browser.
2121

2222
{% exercise %}
2323
1. Go back to 'index.html' in Sublime Text.
2424
2. Change the text to
2525
{% highlight html %}
2626
<h1>Hello</h1>
27-
{% endhighlight %}
27+
{% endhighlight %}
2828
3. Go back to 'index.html' in Chrome and refresh the page (Cmd-R)
2929
{% endexercise %}
3030

31-
This is your first real html tag. It has an open and a close. It tells it to be a heading.
31+
This is your first line of HTML. It has an open tag and a close tag. They tell your browser to display the text in-between as a heading.

_sessions/c1s1/5_more_html.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Now we will look at some slightly more interesting things you can do with HTML.
1919

2020
* The doctype tells you what sort of html you're using (html5, html4 ...). With html5 it's simple - you just write `html`.
2121
* Everything is wrapped in an `<html> ... </html>` tag
22+
* Things within the `<head> .. </head>` are used to provide information about the page
2223
* Only things within the `<body> ... </body>` tags are displayed on the page
23-
* Things within the `<head> .. </head>` are used to provide more information about the page
24-
* .. for exmple the thing within `<title> ... </title>` will be displayed in the browser bar
24+
* ... for example the text within `<title> ... </title>` will be displayed in the browser bar
2525

2626
### Headings
2727

@@ -31,7 +31,7 @@ Now we will look at some slightly more interesting things you can do with HTML.
3131
<h3>Lower level heading</h3>
3232
{% endhighlight %}
3333

34-
* There are six levels of heading `h1` .. `h6`
34+
* There are six levels of heading `h1` ... `h6`
3535
* The higher numbers are more important
3636
* It's usual to only have one `h1` on a page
3737
* You rarely see anything below `h4` in real pages
@@ -82,8 +82,8 @@ Now we will look at some slightly more interesting things you can do with HTML.
8282
* absolute external link e.g. "http://www.facebook.com"
8383
* absolute local link e.g. "/about". This links to a file relative to the root of your webserver. For example if your site is at `www.example.com` the link will point to `www.example.com/about`
8484
* relative local link e.g. "about". This links to a file relative to the current html document. In this case it will link to the file called `about` in the same folder as your current html file.
85-
* You can also link to places in the same document using `href="#my_tag"`. This
86-
* You can get the link to open in a new tag like this: `<a href="http://www.facebook.com" target="_blank">`
85+
* You can also link to places in the same document using `href="#my_tag"`. More on this later.
86+
* You can get the link to open in a new tab like this: `<a href="http://www.facebook.com" target="_blank">`
8787

8888
### Images
8989

0 commit comments

Comments
 (0)