The Basics

Once you have the essential tags sorted out, there are a couple of things you will use on most web pages:

  • Headings and Subheadings
  • Paragraphs of Text
  • Links to other Pages
  • Images or Photograpsh

Headings

<h1> A Heading </h1>
Use headings for titles and subtitles on your website, to make them stand out from all the text.

Paragraphs

<p> Some text </p>
Most text on a basic web page will appear in paragraphs, even if it is just a single line of text.

Links

<a href="home.html"> My homepage </a>
Links are necessary for users to jump from one page of you website to another.

Images

<img src="photo.jpg">
Adding your holiday photos or other images to your web page is fairly simple.

Example:

Below is an example of some of the tags explained above. Show the example in a new browser window.

<html>
 <head>
  <title>this is the title</title>
 </head>
 <body>
  <h1>My Heading</h1>
  <p>This is the first paragraph of text.</p>
  <p>This is the second paragraph of text.</p>
  <p>An image: <img src="photo.jpg"> </p>
  <p>A link: <a href="http://htmlguide.drgrog.com"> html guide </a></p>
 </body>
</html>