Basic HTML Document Structures
<HTML>...</HTML> <HEAD>...</HEAD> <BODY>...</BODY>

        <HTML>
                <HEAD>
                        <TITLE>, <BASE>, <META>, <LINK>
                </HEAD>
                <BODY>
                        Body of the document
                </BODY>
        </HTML>
Inline Comments
<!-- your comments here -->
To include comments in an HTML document that will be ignored by the HTML browser, surround them with <!-- and -->. After the beginning comment delimiter, all text up to the next occurrence of --> is ignored.

Include comments for your own benefit, to help make the HTML document more understandable.

Rule of Link
Having links to other pages and other web sites is a basic purpose of most web pages. The following section describes how you can make these links on your pages. The best way to learn HTML is by example. Feel free to cut and paste to produce your own site (even if just on your hard drive), which may then be viewed using a Web browser.
The basic format of the anchor " <A> " tag is shown below.

<A

NAME=TargetName HREF="TargetName" HREF=URL#TargetName

>

Some sort of visual representation (text or graphic)  for the user to click.

</A>

Example: To create a link Web homepage
Web Homepage

<A HREF="http://www.computersmiths.com">Web Homepage</A>

Creating Basic Links to Another File or Resource
<A HREF="URL"> . . . </A>     Link to another file or resource
Just a link back to this page <A HREF="this.htm" > Just a link back to this page </A>

The same link, but using a graphic image instead of text as the clickable item

A Gif image used as the links visual 
	component <A HREF="this.htm" > <IMG SRC="../images/madscien.gif"> </A>

Creating Links To Specific Locations In Documents
<A NAME="anchor_name"> . . . </A>     Define a target location in a document
This is a test anchor link in this page <A NAME="NameLink" > This is a test anchor link in this page </A>
<A HREF="#anchor_name"> . . . </A>     Link to a location in the same document
A Link to the test anchor above <A HREF="#NameLink" > This is a test anchor link in this page </A>
<A HREF="URL#anchor_name"> . . . </A>     Link to a target location in another document
A Link to the test anchor above <A HREF="this.htm#NameLink"> A Link to the test anchor above </A>
URL (Uniform Resource Locator)
The World Wide Web uses Uniform Resource Locators (URLs) to specify the location of files on other servers. You can initiate links to URLs from inside of a HTML document. A URL includes the type of resource being accessed (e.g., FTP, e-mail, gopher, WAIS), the address of the server, and the location of the file. They're:
<A HREF="file:[path/filename]"> Local File Access</A> Local file access. This method causes the browser to load a file from the locally accessible disk system. This is commonly used to preview Web pages being developed on a computer that has a browser, but does not have a server.

<A HREF="mailto:[e-mail address]"> Name/description</A> Send an e-mail
<A HREF="news:USENET News]"> USENET News</A> USENET News. Argument is either the USENET Newsgroup or its article name.

<A HREF="http://[WWW server address]/path/filename"> Access a WWW server</A> Access a World Wide Web server. [http=HyperText Transfer Protocol]

<A HREF="https://[WWW server address]/path/filename"> Access a WWW server via secure link</A> Access a World Wide Web server via secure link. Example would be an on-line transaction using a credit card. When you are connected to a site via secure link, the key icon at the lower left corner of of Netscape will appear intact rather than being broken. Secure link requires a data encryption of transmitted data both ways. This is the future of internet-based commerce. [https=HyperText Transfer Protocol Secured]

<A HREF="ftp://[ftp address]/path/filename"> Download</A> Download a file via FTP. [ftp= File Transfer Protocol]

<A HREF="gopher://[gopher address]/path/filename">gopher server</A> Access gopher resources
<A HREF="telnet://[telnet address]"> Telnet address</A> Start a telnet session. Arguments are the login arguments to the telnet session as user[:password]@host.

<A HREF="wais://[WAIS address]"> Access WAIS</A> Access WAIS server. [wais=Wide Area Information Servers]

<A HREF="nntp://[Local Network News]gt; Access local network news</A> Access local network news. [nntp=Local Network News Transport Protocol]


Send e-mail to randy@computersmiths.com

www.computersmiths.com
Return to   Top of this page | HTML Rosetta Page | caliber