7B-XHTML-T02 - XP 7B-XHTML-T02 Creating Hyperlinks...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
XP 7B-XHTML-T02 Creating Hyperlinks
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
XP New Perspectives on Blended HTML, XHTML, and CSS, 2e 2 Objectives Understand communications technology Create a link to a named section on the same page Create a link to documents within the same Web site Create a link to other Web sites on the Internet
Background image of page 2
XP New Perspectives on Blended HTML, XHTML, and CSS, 2e 3 Objectives Use an image as a link Create links to other Web resources Create an e-mail link
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
XP Communications Technology Protocols Hypertext Transfer Protocol (HTTP) – standards for communications between servers and clients Transmission Control Protocol / Internet Protocol (TCP/IP) – bursts of information called packets Domain name system – uses server names rather than IP addresses (e.g., 102.111.65.0) Uniform Resource Locator (URL) – complete address of website and page you want to view Link - a reference to another place on the same Web page, another Web page, or another Web site New Perspectives on Blended HTML, XHTML, and CSS, 2e 4
Background image of page 4
XP Creating Links The text that users click for the link is called the link text A link can also be an image Image map An id attribute is HTML code that identifies a particular element on a Web page To create an anchor, use the following code: <element id=“ idvalue ">content</element> where < element> is the start tag for a block-level element , id is the id attribute , idvalue is the value for the id, content is the content for the element, and </element> is the end tag for a block-level element. New Perspectives on Blended HTML, XHTML, and CSS, 2e 5
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
XP Creating a Link to an id on the Same Page To create a link to an id on the same page, enter the following code: <a id="#idname">linktext</a> where a is the start anchor tag, id is the id attribute,
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 23

7B-XHTML-T02 - XP 7B-XHTML-T02 Creating Hyperlinks...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online