Hyperlinks


The easiest link to learn is the hyperlink to another location. The <a> tag with the HRef attribute and its closing tag, </a>, surround any text that you want to highlight. The default hyperlink highlighting in HTML is underlined blue text. In the following example, you would click on the words click here to jump (hyperlink) to the document found at the URL inside the quotes (http://www.microsoft.com).

Please <a href="http://www.microsoft.com">click here</a> to open the Microsoft Web site.


Tip

Did you know that you can copy the URL of any Web page from your browser? Just highlight the address in the Address box (or Location box) and select Edit, Copy (or press Ctrl+C). Then, select Edit, Paste (or press Ctrl+V) to paste the address between the quotes of the href attribute.




Sams Teach Yourself HTML in 10 Minutes
Sams Teach Yourself HTML in 10 Minutes (4th Edition)
ISBN: 067232878X
EAN: 2147483647
Year: 2004
Pages: 151
Authors: Deidre Hayes

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net