HTML for sodales, LESSON 4

The main forum of the Societas Via Romana. Anything not covered by one of the Collegia is probably being discussed here!

Moderator: Aldus Marius

HTML for sodales, LESSON 4

Postby Lucius Tyrrhenus Garrulus on Sun Dec 05, 2004 9:24 am

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>
NOX EST PERPETVA VNA DORMIENDA
Lucius Tyrrhenus Garrulus
Eques
Eques
 
Posts: 158
Joined: Thu Aug 14, 2003 4:39 am
Location: PA, USA

Return to General

Who is online

Users browsing this forum: No registered users and 2 guests

cron