| Objective: You will be able to add links on your web pages to (1) external web pages, (2) your email, and (3) a different place or section on the same page (an anchor). | ||
|
The Steps Using HTML or Dreamweaver, you can make links to any other web page accessible on the Internet. You will often make links to your own pages, and you can even make a link to a particular section of a page. Open a new window in a browser and go to the class assignment page. The URL (Universal Resource Locator) of the page, this is the technical term for the web address, appears in the top section of the browser window as: http://www.lsrhs.net/departments/computer/berryj/WebPublishing/assignments.htm The name of the html file you are looking at is "assignments.htm." "www.lsrhs.net" identifies the server. "departments" is a folder, "computer" is a folder within that, and "berryj" is a folder within that. For your documents you will use something like this. http://webpublishing.lsrhs.net/LastNameFirstinitial/nameoffile Create a "homepage" for your website. Title this page YourName's Homepage. Example: Jim's Homepage. Save the file as index.html in your folder on the web server. Type "Lincoln Sudbury Regional High School." Highlight the text you typed. In the properties window, type "http://www.lsrhs.net" into the Link field, and hit return. The text should change color and become underlined. It is now a link. Preview the page in a browser and try the link. The browser should have an option in the View menu so you can see the HTML source code for a link (e.g., View Source or Page Source). To create a link to one of your own pages, use the Browse for File icon next to the Link box and choose the file you want to link to. Only the name of that file should appear in the Link box (unless the page you are linking to is in a different folder than the page you are linking from). To create an email link, use the icon you discovered while doing Assignment2.html. Type "Click here to email me" in the Text box and add your email address in the E-Mail box. View the page source to determine the HTML source code needed for a link. The Assignment 1. Create a homepage, index.html, so that:
2. Create a page called assignments.html, so that
From this point on, any webpage you develop as part of this class should be linked to your Assignments Page (assignments.html). 3. Create a new web page and save it as Links.html. Add links to Links.html, so that:
4. Modify your contract.html document, such that:
Note regarding email links and the school's computers: You may not be able to easily use email links on the computer lab computers. Why? 5. Set an anchor, and make a link to that anchor. This allows you to have a link to a specific part of a page. You may do this on any page you've created so far. On Links.html, explain
|
||