So, you want to make a Web Page!
Lesson 7

adapted from Joe Barta's tutorials at- PageTutor.com

title


If you don't already have one, be sure to create a new folder titled Lesson_07 in your HTML folder


Start by creating another basic HTML page (don't forget the title)

<html> 
<head> 
<title>Lesson 7</title> 
</head> 
<body>
</body> 
</html>

Let's continue by learning something about the way a browser works.

First an example...

<body>   
Something really cool   
like an icecube!  
</body>  

Something really cool like an icecube!

 

<body>  
Hey!   
What's  
going  
on  
here??  
</body>  

Hey! What's going on here??

 

The browser doesn't recognize formatting. Unless you tell it otherwise, it just displays the characters in a steady stream. If you want to start a new line you have to use a line break <br>...

<body>  
Hey!<br>  
What's<br>  
going<br>  
on<br>  
here??  
</body>  

Hey!
What's
going
on
here??

 

<br> basically says - start a new line. (side note: the <br> tag is one of the few tags that doesn't have to be "closed" </br>)

Can you use <br> to skip a line? Sure.

<body>  
Hey!<br>  
What's<br>  
going<br>  
<br>  
on<br>  
here??  
</body>  

Hey!
What's
going

on
here??

 

Skip lots of lines? You betcha.

<body>  
Hey!<br>  
What's<br>  
going<br>  
<br>  
<br>  
<br>  
<br>  
<br>  
<br>  
<br>  
on<br>  
here??  
</body>  

Hey!
What's
going







on
here??

 

Save as: Lesson_07.html in your HTML/Lesson_07 folder

On to Lesson 8