HTM33


BACK

DESCRIPTION

OUTPUT

SOURCE CODE






DESCRIPTION:

     To make a link, give the tag an HREF (hypertext reference) attribute. A link typically looks something like this:          <A HREF = �Welcome.html�>Welcome Page</A>      In this example, the HREF attribute is set to the name of a document called welcome.html. It is recommended to use QUOTES when calling a file or document, although technically you don�t need them unless the name contains spaces, slashes, or other funny characters. The text between the <A> and </A> tags, �Welcome Page� becomes the link. Clicking it will reference the user to the �Welcome.html� file. Although <A></A> tags are most frequently placed around chunks of text, they can just as easily be placed around other page elements, such as in-line graphics. When you provide a filename in the HREF attribute, you can use either an absolute or a relative path name. The example just given used a relative path name: welcome.html is stored in the same directory as the current document. File path names follow the Unix filename conventions:./document.html and ./document2.html both look for file in the same directory as the current one, whereas chapters/section.html refers to a document in the directory above the current one. Absolute path names are distinguished form relative ones by a leading slash as in /ama/welcome.html. These file naming conventions will be familiar to DOS users: just be sure the slash (�/�) rather than the DOS backslash (�\�) is used. Absolute paths are interpreted slightly differently depending on whether the document is being read locally or over the net. If the document is opened locally, the absolute path name is the actual physical path of the file on your system, starting with the topmost (�root�) directory �/� and working its way down.


..Back to the top..



OUTPUT:


HTM33. My Web Page

WELCOME TO MY WEB PAGE

Name goes here
Address goes here
Phone Number goes here

Let me introduce myself, I have love to write HTML.
I have been working with many people. This is my personal
Web page, in case you want to know more about me.

Resume
Professional
Personal
Copyright © 2008
Yuan Salcedo
Please e-mail me
Revised � April 2008


..Back to the top..



SOURCE CODE:



<HTML>
<HEAD><TITLE>HTM33. My Web Page</TITLE></HEAD>
<BODY>
<H2<B><CENTER><FONT COLOR=red>WELCOME TO MY WEB PAGE</FONT></CENTER></B></H2>
<B><CENTER><FONT COLOR = red>Name goes here</FONT></CENTER></B>
<B><CENTER><FONT COLOR = blue>Address goes here</FONT></CENTER></B>
<B><CENTER><FONT COLOR = pink>Phone Number goes here</FONT></CENTER></B>
<P>
Let me introduce myself, I have love to write HTML.<BR>
I have been working with many people. This is my personal<BR>
Web page, in case you want to know more about me.
</P>
<A HREF = resume.html>Resume</A><BR>
<A HREF = professional.html>Professional</A><BR>
<A HREF = personal.html>Personal</A><BR>
<ADDRESS>
Copyright © 2008

Yuan Salcedo

<A HREF = mailto:[email protected]>Please e-mail me</A><BR>
Revised � April 2008

</ADDRESS>
</BODY>
</HTML>


..Back to the top..