My First Webpage Page

Copy and paste the example and give it a try.

<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8" />
<meta name="author" content="your name goes here" />
<title>My First Webpage</title>
</head>

<body>
<center>
<h1>My h1 Heading</h1>
<h2>My h2 Heading</h2>
<h3>My h3 Heading</h3>
</center>
This is some text.
This is the next line of text.
This is the another line of text.
Should they be on the same line or seperate lines?
</body>

</html>

Try the following. What happens? Why?

  1. Put several blank lines in the header or body
  2. Move </center> to above the <h3> line in the body
  3. Add several spaces (blank characters) together in the lines of text in the body
  4. Put a <br/> between the lines of text in the body
  5. Put <p> </p> around one or more lines of text in the body