O'Reilly logo

Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition by Harvey M. Deitel - Deitel & Associates, Inc., Paul J. Deitel - Deitel & Associates, Inc.

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

F.6. Linking

One of the most important XHTML features is the hyperlink, which references (or links to) other resources, such as XHTML documents and images. In XHTML, both text and images can act as hyperlinks. Web browsers typically underline text hyperlinks and color their text blue by default, so that users can distinguish hyperlinks from plain text. In Fig. F.5, we create text hyperlinks to four different Web sites.

Figure F.5. Linking to other Web pages.
					1
					<?xml version = "1.0"
					?>
					2
					<!DOCTYPE html PUBLIC
					"-//W3C//DTD XHTML 1.1//EN"
					3
					"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
					4
					5
					<!-- Fig. F.5: links.html       -->
					6
					<!-- Introduction to hyperlinks -->
					7
					8
					<html xmlns = "http://www.w3.org/1999/xhtml">
					9
					<head>
					10
					<title>Internet and WWW ...

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