Creating a Hypertext Document. Hypertext documents contain hypertext links , items that you can select to view another topic or document, often called the destination of the link.
Hypertext documents contain hypertext links, items that you can select to view another topic or document, often called the destination of the link.
These links can point to: another section, the same document, to a different document, to a different Web page, or to a variety of other Web objects
Adding Hypertext Links
You can place hypertext links at the top of a web page to make it easier for the user to navigate to a particular section of the document instead of scrolling.
Tutorial 2: Adding Hypertext Links to a Web Page
to the anchor
at the top of the page
When the user clicks one of the hypertext links, the link will go directly to that section (anchor, which is the destination of the link) within the web page.
You should be careful to make each anchor name unique within a document.
¤ <A HREF="#tests">Exams & Outside Exercises</A>
¤ <A HREF="#ordlist">See an example of an Ordered List</A>
¤ <A HREF="#deflist">Example of a Definition List</A>
The following code is down toward the middle of the page:
<H3><A NAME="tests">Tests and Exams</A></H3>
There will be two tests, each making up 35% of your final grade. Tests and exams must be taken at the
designated times. If you are ill or called away on a family emergency, it is your responsibility to notify the
professor before the test. A written excuse will be required in this event.
<A HREF="#Top">Click here to return to the top of this page.</A>
The name "Top" used in the HREF will always take you to the top of the current page. You do not need a <A NAME> tag at the top of the page!
The HREF tag will load the Page2.HTML file in the browser when the user clicks on the text between <A> and </A> tags.
The next slide shows how this page looks in the browser.
This is the hypertext reference back to the first page.
<A HREF="http://jcollins.cox.smu.edu/2308/2308.html">Course Information</A>.
Example web page with URL to the 2308 web site.
The 2308 web page opened in a separate window.
<a href="url" target="new_window">Hypertext</a>
<A HREF="http://jcollins.cox.smu.edu/2308/2308.html" TARGET="_blank">Hypertext</A>.