|
TIP
Remember tags usually come in opening and closing pairs. The analogy of the structure of a HTML page as "onion skin" is good to remember when entering code for your webpage.
TIP
Glossary
|
|
| <HTML>...</HTML> | defines the page as an HTML document |
| <HEAD>...</HEAD> | head of the document |
| <TITLE>...</TITLE> | the document title |
| <BODY attribute= > ... </BODY> | body of the document |
| background=" ... " | background image |
| bgcolor="#rrggbb" | background colour |
| text="#rrggbb" | colour of page text |
| link="#rrggbb" | colour of links |
| vlink="#rrggbb" | colour of visited links |
| alink="#rrggbb" | colour of links while clicked on |
| <p attribute>...</p> | a paragraph |
| align=center | centres the paragraph |
| <center>...</center> | centres the elements |
| <br> | insert a line break |
| <hr attribute= > | insert a horizontal line |
| size= | thickness of the line |
| width= | length of the line as a % of screen width |
| <strong>...</strong> | strong type, commonly bold |
| <b>...</b> | bold type |
| <em>...</em> | emphasised text, usually italics |
| <i>...</i> | italic text |
| <kbd>...</kbd> | fixed width typewriter font |
| <tt>...</tt> | typewriter (courier) font |
| <basefont size= > | sets font size for the entire page |
| <font attribute=>...</font> | sets font attributes |
| size= | font size, range 1-7, default is 3, can use size=+5 |
| color="#rrggbb" | font colour |
| <blink>...<blink> | text blinks continually |
| <address>...</address> | small italic text used for author details |
| <blockquote>...</blockquote> | a long quote |
| <h1>...</h1> | heading text, level one (also h2-h6 are possible) |
| <!-- comment --> | a comment hidden in the document |
| <img src=" ... " > | filename or URL of an image |
| align= | align text to left, right, top, middle, center, bottom of image |
| vspace= | space above and below image |
| hspace= | space to the left and right of image |
| width= | width of image in pixels |
| height= | height of image in pixels |
| alt=" ... " | show text instead of image for text browsers |
| <a href="http://www.... "> ... </a> | creates hyperlink to another address or file |
| <ul>...</ul> | an unordered list |
| <ol>...</ol> | an ordered list |
| <li> | a list item |
| <dl>...</dl> | definition or glossary list |
| <dt> | definition term |
| <dd> | definition description |
| <table attribute>...</table> | defines a table |
| width= | width of the table on the page |
| cellpadding= | space between the table border and inside text |
| border= | width of the table border, 0 = no border. |
| <tr attribute>...</tr> | creates a table row |
| valign= | vertical alignment of the row's contents |
| <td attribute>...</td> | creates a table cell |
| valign= | vertical alignment of the cell's contents |
| colspan= | number of columns a cell will span |
| rowspan= | number of rows a cell will span |
| width= | width of the cell in the table |
| bgcolor="#rrggbb" | cell background colour |
Go to the previous page.
Go to the next page.
Go to the Home page.
Copyright © 1998 Schoolsnet Australia Pty Ltd. All rights reserved.