100% found this document useful (2 votes)
49 views2 pages

pg83 Hyperlinks

The document discusses the format of an HTML file and hyperlinks. It begins by explaining the basic structure of an HTML file with opening and closing tags for html, head, and body. It then provides examples of hyperlink code using the <a> tag, including linking to Google.com and Altavista.com. It demonstrates using the target attribute to open links in a new window, providing an example for Google.com. The document instructs the user to add 5 more links to their webpage using the target attribute.

Uploaded by

jayraguda
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
49 views2 pages

pg83 Hyperlinks

The document discusses the format of an HTML file and hyperlinks. It begins by explaining the basic structure of an HTML file with opening and closing tags for html, head, and body. It then provides examples of hyperlink code using the <a> tag, including linking to Google.com and Altavista.com. It demonstrates using the target attribute to open links in a new window, providing an example for Google.com. The document instructs the user to add 5 more links to their webpage using the target attribute.

Uploaded by

jayraguda
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

2.

1—HTML DAY 2 Worksheet Page 83


Warmup: FORMAT OF AN HTML FILE (Webpage).
A webpage always follows the following order:
Draw arrows pointing to where each element would be placed.
<html>

<head> </head>

<body> </body>

</html>

Activity #1: PRACTICE WORKING WITH MARKUP TAGS


(formattingactivity.html)
Activity #3: The HYPERLINK markup. (Hyperlink.html)
<a href=“URL”> LINK TEXT HERE </a>
On Off

I DO: Make a link to Google.com (http://www.google.com)

<a href=“http://www.google.com”>Google.com</a>

WE DO: Make a link to Altavista (http://www.altavista.com)

<a href=“_________________________________________”>_____________________________________</a>

YOU DO: Make the rest of the webpage. You’ve


already done the 1st 2 links.

The HYPERLINK markup (with TARGET)


<a href=“URL” target=“?”> </a>
On Off

“Blank,” “new”

I DO: Make a link to Google.com (http://www.google.com) that opens in a new window.

<a href=“http://www.google.com” target=“new”>Google.com</a>

WE DO: Make a link to Altavista (http://www.altavista.com)

<a href=“http://www.altavista.com” target=“new”>AltaVista.com</a>

YOU DO: Add the 5 more links to your webpage using the TARGET attribute.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy