Help Files and Tutorials for Computer Users | ||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
Code |
Example |
|||||||||||||||||
<a NAME="anchor_at_top"></a> | This is where I put the "Top of Page" bookmark. You can link to this spot from the bottom of the page. | |||||||||||||||||
|
||||||||||||||||||
<a href="#anchor_at_bot">Links to Bottom of page</a> | Links to Bottom of page where I placed the bookmark named "#anchor_at_bot". | |||||||||||||||||
|
||||||||||||||||||
<img src="images/racecar.jpg" width="312" height="224"> | ![]() |
|||||||||||||||||
The code shows the source of the image to be in a folder named "images" on the same directory level as the page itself. | ||||||||||||||||||
|
||||||||||||||||||
![]() |
This is a sample web page demonstrating some random aspects of html. Compare the html code to the left with what you see in the actual page.
|
|||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
A Frame page uses a "Frameset" to enclose other html pages into one visual page. The procedure is being replaced with CSS (Cascading Style Sheets). |
||||||||||||||||||
<HTML> <HEAD> <TITLE>THIS IS MY FIRST FRAMES DEMO PAGE</TITLE> </HEAD> <FRAMESET ROWS="33%,33%,*"> <FRAME SRC="frames1.html"> <FRAME SRC="frames2.html"> <FRAME SRC="frames3.html"> </FRAMESET> </HTML> |
This page uses three frames. Each frame links to a separate page.
|
|||||||||||||||||
<HTML> <HEAD> <TITLE>THIS IS MY FIRST FRAMES DEMO PAGE</TITLE> </HEAD> <BODY BGCOLOR="#0080FF"> <PRE> <FONT SIZE="+2">This is PAGE 1 sample of a page using frames. </font></PRE> </BODY> </HTML> |
This is the "frames1.html" page. The other example pages have similar coding.
|
|||||||||||||||||
|
||||||||||||||||||
<HTML> <HEAD> <TITLE>THIS IS MY SECOND FRAMES DEMO PAGE</TITLE> </HEAD> <FRAMESET COLS="33%,*,33%"> <FRAME SRC="frames1.html"> <FRAME SRC="frames2.html"> <FRAME SRC="frames3.html"> </FRAMESET> </HTML> |
This page uses three vertical frames. Each frame links to a separate page.
|
|||||||||||||||||
|
||||||||||||||||||
An image map uses a defined graphic image with specified coordinates as "hotspots" in place of buttons or text links. Move the mouse over the doors and windows of the house image to see the "hotspot" links. The code for the page is shown below with the coordinates identified. |
|
|||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
The coordinates are similar to working with a graph, except that the "y" axis is positive as you move down. For example, the corner of the window outlined in RED starts 32 pixels to the right of zero and 220 pixels Down from zero. The following line of HTML code defines the hotspot for the living room window, which links to the lr.html page: <AREA SHAPE=rect COORDS="32,220,102,330" HREF="rooms/lr.html"> The top left corner of the rectangle starts at 32 pixels to the right, and 220 pixels down from zero. The bottom right corner of the rectangle is the next set of coordinates, so the rectangle ends at 102 pixels to the right, and 330 pixels down from zero. The following defines the hotspot for a circular hotspot: <AREA SHAPE=circle COORDS="338,114,16" HREF="rooms/bath.html"> The center of the circle is located 338 pixels to the right and 114 pixels down from zero, and has a radius of 16 pixels. A polygon hotspot has a pair of coordinates for each point of the polygon. |
||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||
A table can be used to help organize text and graphics on your website. Below is an example of a table with one column, and three rows.
Below is a simple web page with the html tags for the table shown above.
This is a table with one row and three columns:
Below is the html coding for this example:
Here is an example of a table with rows and columns: Below is the html coding for this example:
|
||||||||||||||||||
Continuation of Bookmarks... |
||||||||||||||||||
This is where I put the "Bottom of Page" bookmark. | This is where I put the "back to top " bookmark. | |||||||||||||||||
...which looks like this: <a name="anchor_at_bot"> | ...which looks like this: <a href="#anchor_at_top"> | |||||||||||||||||
Back to Top of Page (Bookmark) | ||||||||||||||||||
|
||||||||||||||||||
© T. Carson 2021 |
||||||||||||||||||