Lesson TwoObjectives:
|
Learning HTMLNext you are going to learn how to add additional formatting codes to your web page. Specifically, you are going to learn how to "refresh" your Browser, how to make line breaks, and how to create lists. We will use your text editor to add to the code you wrote in Lesson One. Did you see how when you clicked on View and then Source, you automatically opened up Notepad? That's how it works when you are working in Internet Explorer. Once you make a change to your HTML document in Notepad, you will need to click on the "refresh" button to see your document in the browser. The Web Browser will not know you have made changes until it's refreshed. When you looked at your list of friends in the last lesson, you may have noticed that they were all strung in a line like this: Joe, Dante, Maria. To make them form a vertical line you need to add the line break tag : <BR>after each name. When you type: Joe<BR> Dante<BR> Maria<BR> It will show up in your Web Browser like this: Joe Dante Maria The <BR> tag is also useful for creating an extra line between paragraphs. You can use as many you wish to create as many extra lines as you like. If you want an extra line, you need two break tags. Okay, now let's say you want a list with "bullet" points. Here is the code for making that type of list (called an unordered list): <UL> <Li>apples <Li>peaches <Li>oranges </UL> That's all there is to it. As you can see, it's not necessary to close the <Li>tag after each list item. This is how it will actually look in your browser:
<Li>apples <Li>peaches <Li>oranges </OL> This is how it looks in your browser:
|
Assignment #2
<< Back |