Presentation is loading. Please wait.

Presentation is loading. Please wait.

 The tag to create a link is called, which stands for anchor.  You put the address of the page to link to in quotes after href=, like the following:

Similar presentations


Presentation on theme: " The tag to create a link is called, which stands for anchor.  You put the address of the page to link to in quotes after href=, like the following:"— Presentation transcript:

1

2  The tag to create a link is called, which stands for anchor.  You put the address of the page to link to in quotes after href=, like the following: › cool videos! http://youtube.com  Href › Stands for hypertext reference and is called an attribute of the tag.

3  When you create a link from one page to another page on the same computer, it isn’t necessary to specify a complete Internet address. If the two pages are in the same directory folder, you can simply use the name of the HTML file: › salad oh!!

4  If you have many pages, you’ll want to put them in more than one directory folder. In this case, you still shouldn’t use the full Internet address to link between them. You can use relative addresses, which include only enough information to find one page from another.  Relative address describes the path from one page to another; instead of a full (or absolute) Internet address.

5  You want to include a link to a page named five.html, which is in subfolder named Hot. This link would look like the following: › Price  The five.html page might contain a link back to the main price.html page: › Home  The double dot (..) is a special code that indicates the folder containing the current folder.

6 TagAttributeFunction … With the href attribute, creates a link to another document or anchor hrefThe address of the document or anchor point to link to.

7

8  To make an HTML page part of the publicly accessible World Wide Web, you need to put it on a Web server (a computer permanently connected to the Internet and equipped to send out Web pages on request.

9  When a Web server computer sends Web pages to people through the Internet, it uses an information exchange standard called Hypertext Transfer Protocol (HTTP). To upload a page to your Web site, however, you usually need software that uses an older communication standard called File Transfer Protocol (FTP).  File Transfer Protocol › The standard that your file transfer software must adhere to when sending files to a Web server.

10  Many Web authors want to know how to make a file that isn’t a Web Page available for downloading from a Web site. › Example: zip, doc, exe file  Just upload the file to your Web site. For example, if the file was called salad.doc, the link would look like this: › Click to here to download

11  Your best friend from elementary school finds you on the Internet and says he wants to trade home page links. How do you put a link to his page at www.rowfour.com/ogag on your page? www.rowfour.com/ogag  Your home page will be at http://mysite.com/home.html when you put it on the Internet. Write the HTML code to go on the page so that when someone clicks the words all about me, they see the page located at http://www.mysite.com/mylife.html. http://mysite.com/home.html

12  You plan to publish a CD-ROM disk containing HTML pages. How do you create a link from a page in the \food directory folder to the \food\salad\hot.html page?  How about a link from \food\salad\hot.html to the \food\spaghetti\cold.html page?


Download ppt " The tag to create a link is called, which stands for anchor.  You put the address of the page to link to in quotes after href=, like the following:"

Similar presentations


Ads by Google