HTML Tutorial Part I: Creating A Homepage
HTML Tutorial Part I: Creating A Homepage
Creating a Homepage
Creating a Homepage involves creating a file coded with HTML (Hyper Text Markup Language). Within your file you can
put anything you like, text graphics, pictures, sound clips, movies and links to other sites. You must or ganize what you want
in your homepage before you start because the more content that you want in your homepage, (e.g., graphic, images..) the
easier it is for you to make mistakes.
The first part of the name can be anything (through "index", "homepage", or "home"), but the htm or .html is mandatory to
identify the file as a hyper text file that can be read by a Web browser.
Put these around your whole document, one at the beginning and the other at the end.
These go around the title of your page (they remain inside the <head> ... </head> portion of the page).
Headers
Headers (for subheads) range from H1 (biggest) to H6 (smallest). These are coded in pairs:
<br>
http://www.busi.mun.ca/buslab/html/html1.html 11/7/01
HTML TUTORIAL PART I Page 2 of 3
<hr>
To make text italic, place these around the text you want italicized.
To make text bold place these around the text that you want to bold.
Anchors
An anchor is a special type of tag that can link one document to another when an anchor is created around certain text, the
text is highlighted and allows you to click on it to bring you to highlighted area for example:
This will highlight "Faculty of Business" and let you click on it to bring you to the Faculty of Business homepage. the <a> ...
</a> specifies that the text is anchored.
NOTE: The anchors must only be around the text you want to highlighted.
Example
<html>
<head>
</head>
<body>
<body background="name.gif"></body>
<center><IMG SRC="construct.gif></center><br>
<center>
</center>
<center><IMG SRC="emailed.gif"></center>
http://www.busi.mun.ca/buslab/html/html1.html 11/7/01
HTML TUTORIAL PART I Page 3 of 3
<center>Mail me at
<a href=mailto:[email protected]>[email protected]</a>
</center>
</body>
</html>
http://www.busi.mun.ca/buslab/html/html1.html 11/7/01