O'Reilly logo

Beginning HTML5 and CSS3 For Dummies by Chris Minnick, Ed Tittel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8

Getting Hyper with Links in HTML

In This Chapter

arrow Creating simple links

arrow Opening linked pages in new windows

arrow Setting up links to locations within a web page

arrow Creating links to things other than web pages

Hyperlinks, or simply links, connect HTML pages and other resources on the web. When you include a link on your page, you enable visitors to travel from your page to another website, another page on your site, or even another location on the same page. Without links, a page stands alone, disconnected from the rest of the web. With links, that page becomes part of the almost boundless collection of information that is the World Wide Web.

Basic Links 101

To create a link, you need

check.png A web address (called a Uniform Resource Locator; URL) for the website or file that's your link target. This usually starts with http://.

check.png Some text in your web page to label or describe the link. Make sure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required