Click to skip over navigation
 

lecture 1: playing with tags

<< previous slide

return to lesson 1 index

next slide >>


In the last exercise we changed only the text of the web page. I want you now to play around with some of the tags. This is not only further practice in making changes in the editor and reviewing them in the browser, but it should help you understand how tags work in general terms. Don't worry yet about exactly why the browser "knows" to make particular tags behave the way they do: this will be covered in lecture 2.

For now we will deal only with the tags between the comments, in other words all the tags between the opening and closing <body> tags. There are four of these:

<h1>

<blockquote>

<p>

<b>

Try making each of the following changes in turn. Edit the text and save the file within Notepad, then go back to the browser window and press Refresh or Reload. Then return to the editor to make the next change. When you've done each one you can either change it back, or leave it in place when you do the next change. Remember to change both the opening and closing tag.

  • Change <h1> to <h3> (or any other number between 1 and 6 inclusive).
  • Change <p> to <blockquote> or vice versa.
  • Change <b> to <i>.

When you're happy with what you've done, move onto the next slide.




<< previous slide

return to lesson 1 index

next slide >>