HTML for sodales, LESSON 5

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 5

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

LESSON 5

FORMATTING YOUR PAGE


In this lesson we are only going to work with the opening body tag.


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

2) Replace the opening body tag (i.e. <body>), with this long line of code:

Code: Select all
<body bgcolor="white" text="black" link="red" alink="blue" vlink="black" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
Notepad should look like this:

Code: Select all
<html>

<head>

<title>
SocietasViaRomana
</title>

</head>

<body bgcolor="white" text="black" link="red" alink="blue" vlink="black" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">

<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>



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


Let's explain this:

bgcolor is the background color
text is the text color
link is the link color
alink is the active link color (you don't see this on fast computers)
vlink is the visited link color

marginheight is the height of the page margins
marginwidth is the width of the page margins
topmargin is the height of the page's top margin
leftmargin is the width of the page's left margin
rightmargin is the width of the page's right margin
bottommargin is the height of the page's bottom margin

You got that? These aren't necessary. They're just here to make your page pretty.
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 8 guests