Combine <IMG SRC = " "> and <A HREF = "
"> elements

<A HREF = "http://www.mala.bc.ca"><IMG SRC="graphics/mallogo.gif" ALT="Malaspina University-College Logo" WIDTH=264 HEIGHT=123></A>
<A HREF = "http://www.mala.bc.ca"><IMG SRC="graphics/mallogo.gif" ALT="Malaspina University-College Logo" WIDTH=264 HEIGHT=123 BORDER=0></A>(For Right Hand Side Version)
(NOTE: Not every browser can display every bullet style)
A list with default bullets <UL> | A list with discs <UL TYPE= DISC> |
- First item
- Second item
- Third item
|
- First item
- Second item
- Third item
|
A list with circles <UL TYPE= CIRCLE> | A list with squares <UL TYPE= SQUARE> |
- First item
- Second item
- Third item
|
- First item
- Second item
- Third item
|
Or we can use a use a small graphic
-
First item
-
Second item
-
Third item
The above is structured as a Definition List, but without a <DT> line with HTML markup as follows:
<DL>
<DD> <IMG ALIGN=BOTTOM SRC="graphics/pencil.gif" > First item
<DD> <IMG ALIGN=BOTTOM SRC="graphics/pencil.gif" > Second item
<DD> <IMG ALIGN=BOTTOM SRC="graphics/pencil.gif" > Third item
</DL>
<A HREF = "mailto:neil@nmacmillan.com">neil@nmacmillan.com</A>
The above line will produce the following effect: neil@nmacmillan.com
Clicking on the link launches an e-mail program with the correct e-mail address entered in the 'To' field.
<!---Disables a line or section of text or HTML Code--->
Use this to test alternative ideas on your page without destroying a previous version
Use <FONT SIZE = "#"> </FONT>, where #
is from 1 to 7
This is size 1 text
This is size 2 text
This is size 3 text -------------------- The normal, default size
This is size 4 text
This is size 5 text
This is size 6 text
This is size 7 text
Instead of using Numbers 1 through 7 consider using text sizes greater than or smaller than default. In this method, one size larger than default is <FONT SIZE = "+1">, while one size smaller than default is <FONT SIZE = "-1">
Two sizes larger than default is <FONT SIZE = "+2">, while two sizes smaller than default is <FONT SIZE = "-2"> (which might not be readable at this size).
Numerical Code Method
Each character has a numerical code preceded with &# and terminated with ;
For example, e acute is é and is rendered as é
The copyright symbol is © and is rendered as ©
Entity Name Method
The character or entity name is prefixed by & and terminated by ;
For example, e acute is é and is rendered as é
The copyright symbol is © and is rendered as ©
Declare your intention to create a table by writing:
<TABLE BORDER CELLPADDING=2>
The default value of BORDER is 1 and specifies the thickness of the table border and lines separating rows and cells.
A borderless table can be made by setting BORDER=0 or leaving out the BORDER attribute altogether (The bulleted list examples above are in a borderless table).
Cellpadding defines space between cell data and the edges of the cell.
The tag </TABLE> defines the end of a table.
The body of the table contains rows and cells within the rows.
To start a Table Row: < TR ALIGN=CENTER > (ALIGN can also = LEFT or RIGHT). VALIGN specifies vertical positioning within cells and can be TOP, MIDDLE or BOTTOM
Alignment commands can be in the <TR> tag if they are to apply to the entire row. Individual data cells can be given alignment attributes which apply to only that cell.
To create a Table Data Cell: <TD> Data Cell Content </TD>
To end a Table Row: </TR>
An example of a simple 3-row table with three data cells on each row:
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 |
HTML Markup for this Table
<TABLE BORDER=1 CELLPADDING=2>
<TR ALIGN=CENTER><TD>Cell 1</TD><TD>Cell 2 </TD><TD>Cell 3 </TD></TR>
<TR ALIGN=CENTER><TD>Cell 4 </TD><TD>Cell 5 </TD><TD>Cell 6 </TD></TR>
<TR ALIGN=CENTER><TD>Cell 7 </TD><TD>Cell 8 </TD><TD>Cell 9 </TD></TR>
</TABLE>
The same table with some cells spanning rows and columns, cellpadding and cellspacing each set to 4 and background colors assigned to two cells. Older browsers will not display the background colors:
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 | Cell 5 |
| Cell 6 | Cell 7 |
HTML Markup for this Table
<TABLE BORDER CELLPADDING=4 CELLSPACING=4>
<TR ALIGN=CENTER>
<TD COLSPAN=2 BGCOLOR="#FFCCCC">Cell 1</TD>
<TD>Cell 2 </TD>
</TR>
<TR ALIGN=CENTER>
<TD>Cell 3 </TD>
<TD>Cell 4 </TD>
<TD ROWSPAN=2 BGCOLOR="#CCFFFF">Cell 5 </TD>
</TR>
<TR ALIGN=CENTER>
<TD>Cell 6 </TD>
<TD>Cell 7 </TD>
</TR>
</TABLE>
|