Page 1 of 1

HTML for sodales, LESSON 4

PostPosted: Sun Dec 05, 2004 9:24 am
by Lucius Tyrrhenus Garrulus
LESSON 4

CREATING LINKS


Creating links in HTML is easy.

Here is the basic format for a link:

Code: Select all
<a href="http://www.societasviaromana.org/">Go to SocietasViaRomana</a>



1) Open up the document you created in LESSON 3 in Notepad.

2) After your last sentence within the body tags (i.e. I am a member of <u>SocietasViaRomana</u>.), type two break tags.

3) Then type the link above. Notepad should look like this:

Code: Select all
<html>

<head>

<title>
SocietasViaRomana
</title>

</head>

<body>

<b>Hello</b> my name <i>is</i> Lucius.
<br>
I am a member of <u>SocietasViaRomana</u>.
<br>
<br>
<a href="http://www.societasviaromana.org/">Go to SocietasViaRomana</a>

</body>

</html>



4) Save this page and view it according to the instructions in Step 6 of LESSON 1.


Note: If you want the link to open in a blank browser window, you need to add a target attribute. Like this:

Code: Select all
<a href="http://www.societasviaromana.org/" target="_blank">Go to SocietasViaRomana</a>