end of password protection experiment -->
| <!-- COMMENTS: my first html document! --> | 
| < html > | 
| 
		 | 
| < body > | 
| 
		 | 
| < /body > | 
| < /html > | 
Click HERE to see what the browser displays for this example.
QUESTION: why do you care about comment lines? After all, it has no effects on the output/display!
ANSWER: because a html file (like most documents) is a living document that will change over time, and the author and its readers need a place to annotate the source file. Upshot: this is one of the FIRST commands you want to learn.
| <HEAD > | 
| <TITLE > ...title here... </TITLE> | 
| <BASE HREF="...URL..." TARGET="..." > | 
| </HEAD> | 
<LINK REL="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
	   
   <TABLE>                                     <== start of table 
   <CAPTION> caption contents </CAPTION>       <== optional 
   <TR>                                        <== row 1
      <TH> cell contents </TH>                    <== cell 1 in row 1 (a head)
      ...
      <TH> cell contents </TH>                    <== last cell in row 1
   </TR>                                       <== end of first row definition
    
   <TR>                                        <== start of second row definition
      <TD> cell contents </TD>                    <== cell 1 in row 2
      ...
      <TD> cell contents </TD>                    <== last cell in row 2
   </TR>                                       <== end of second row definition
   ...
   ... 
   </TABLE>                                    <== end of table definition
	   
	    | 
TRICK: most browsers require a cell to have some content. So, if you really want the cell to be empty, make its contents be the nonbreaking space (&160; or  ).
| Attribute | Description | 
|---|---|
| BORDER | draws a border | 
| BORDER=10 | draws a border of width 10 | 
| BGCOLOR=#ffdaff | background color of #ffdaff (lilac) for whole table | 
| NOTE: Attributes defined within <TH> ... </TH> or <TD> ... </TD> cells override the default alignment set in a <TR> ... </TR>. | |
| Attribute | Description | 
|---|---|
	   
  | 
	   
	   
  | 
	   
	   <FRAMESET ROWS = 60%,*> <NOFRAMES> THIS IS WHAT YOU PUT HERE if THERE NO SUPPORT FOR FRAMES </NOFRAMES> <FRAME SRC="http:main-frame.html" NAME=main> <FRAMESET COLS = 25%,75%> <FRAME SRC=http:left-frame.html NAME=link1> <FRAME SRC=http:right-frame.html NAME=link2> </FRAMESET> </FRAMESET>  | 
	   
| MARGINHEIGHT=10: | sets margin height to 10 | 
| MARGINWIDTH=5 | sets margin width to 5 | 
| SCROLLING="yes" or "no" | Defaults to "yes" | 
| NORESIZE | unclear | 
| Symbol | Interpretation | 
|---|---|
| & or & | gives & (ampersand sign) | 
| &#60; or < | gives < ("less than sign") | 
| &#62; or > | gives > ("greater than sign") | 
| &#8804; or ≤ | gives ≤ ("less-than or equal to sign") | 
| &#8805; or ≥ | gives ≥ ("greater-than or equal to sign") | 
| " | gives " (quote character) | 
| ° | gives ° (degree symbol). | 
| ² or ² | gives ² (superscript two). | 
| ³ or ³ | gives ³ (superscript three). | 
| 	 | gives a horizontal tab. | 
| ± or ± | gives ± (plus-minus sign). | 
| × or × | gives × (multiplication sign). | 
| ÷ or ÷ | gives ÷ (division sign). | 
| ¦ or ¦ | gives ¦ (broken vertical bar). | 
| ¬ or ¬ | gives ¬ (not sign). | 
|   or   | gives the ``nonbreaking space''. | 
| &#nn; |    gives the ISO Latin-1 character number "nn".
                For a complete list, see source link or local copy .  | 
	
More detailed discussion of the font face issues: Mathematical formulas in HTML 4.0 from Andreas Prilop | Math in HTML and CSS and How to Write Style Sheets from Jukka Korpela |
Other useful links: For font list in mathematical typography (with some links to HTML math fonts) see Luc Devroye. The code chart from www.unicode.org. Useful tutorials from Web Design Group .
| code | color achieved | 
|---|---|
| FF0000 | RED | 
| 00FF00 | GREEN | 
| 0000FF | BLUE | 
| 059905 | dull green | 
| CLICK HERE | For more color examples | 
Chee Yap