7B-XHTML-T02 - 7B-XHTML-T02 Creating Hyperlinks XP New Per spectives on Blended H TM L XH TM L and CSS 2e 2 Objectives • Understand

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 7B-XHTML -T02 Creating Hyperlinks XP New Per spectives on Blended H TM L, XH TM L, 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 I nternet XP New Per spectives on Blended H TM L, XH TM L, and CSS, 2e 3 Objectives • Use an image as a link • Create links to other Web resources • Create an e-mail link XP Communications Technology • Pr otocols – H yper text Tr ansfer Pr otocol (H TTP) – standar ds for communications between ser ver s and clients – Tr ansmission Contr ol Pr otocol / I nter net Pr otocol (TCP/I P) – bur sts of infor mation called packets • Domain name system – uses ser ver names r ather than I P addr esses (e.g., 102.111.65.0) • Unifor m Resour ce Locator (URL) – complete addr ess of website and page you want to view New Per spectives on Blended H TM L, XH TM L, and CSS, 2e 4 XP Creating Links • The text that users click for the link is called the link text • A link can also be an image – I mage map • An id attr ibute 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 New Per spectives on Blended H TM L, XH TM L, and CSS, 2e 5 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, #idname is the name of the id to which you are linking (preceded by the # flag...
View Full Document

This note was uploaded on 06/22/2011 for the course COMPUTER S 1B03 taught by Professor Dr.dotler during the Spring '10 term at McMaster University.

Page1 / 23

7B-XHTML-T02 - 7B-XHTML-T02 Creating Hyperlinks XP New Per spectives on Blended H TM L XH TM L and CSS 2e 2 Objectives • Understand

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