Download presentation
Presentation is loading. Please wait.
Published byHannah Russell Modified over 9 years ago
1
Click on CIS120/17 to go to website for course. The week of will tell you what is planned for the week and what has been assigned.
2
From the CIS120/17 page, click on examples in the left hand list to see this page. These are the HTML examples we will look at this week.
3
If you click on view and then select source or page source (depends on which browser), you will see the HTML code shown here.
4
Note that for most tags there is an open and close. The open tag has and the close tag has
5
Now I have opened notepad and am using it to write my own code following the model we just looked at.
6
I want to save it as first2.html. To make a web page, I need an html or htm extension. Note that the Save as type is set to All Files when I save.
7
After saving the page, I opened a browser window and found the page I just saved and opened it. Then I clicked on view and then on source to see the code that produced the page.
8
Now I am looking at the second example which deals with lists.
9
Note that Break can be written as just. A break moves down to the next line.
10
Here I set up a paragraph. It has a opening sentence, to tags to move down two lines and then another sentence before the paragraph ends.
11
This shows two kinds of lists: an ordered lists with numbers and an unordered list with bullets.
12
The tag is for list items.
13
Your assignment will be to make a page that includes and image. We will discuss images on Thursday.
15
This is the third example and it shows linking to another page.
16
To link you use the tag but you put the href and the name of the page inside the so you have. You then write the text you want to appear on the page. You then have the to close the anchor tag and a or to skip down to the next line. Note that the second page that I called anotherpage. html has to be in the same directory as the page we are looking at. If you put it somewhere else, you need a path. Note that anotherpage.html exists, but there is no newpage.html.
17
After I click on the Another page link, I bring up anotherpage.html from the same directory. The directory is the HTML directory which is inside the Cis17 directory which is at www.pgrocer.net.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.