8
Getting Hyper with Links in HTML
In This Chapter
Creating simple links
Opening linked pages in new windows
Setting up links to locations within a web page
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
A web address (called a Uniform Resource Locator; URL) for the website or file that's your link target. This usually starts with http://
.
Some text in your web page to label or describe the link. Make sure ...
Get Beginning HTML5 and CSS3 For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.