 |
|
<center> centers things </center>
<p align=right> aligns things right.. align is to align things sideways. and valign is to align things upways. valign="top" align="right" or valign="bottom" and align="center" this is how to align tables.
<b> bold font </b> <i> italic font </i>
<u> underline font </u> <br> breaks a line
<body bgcolor="color" alink="color" vlink="color" link="color" background="picture.jpg" text="color">
body is the body of a page.. bgcolor is background color, alink is active link when you first click on a link it is active.. a vlink is a visited link one thats already been to with this computer and your cookie has it saved. link is just a normal link that has not been clicked.. background is a background picture that you keep behind everything.. and text is there to set the default color of the page. but you can allways change it with font tags..
<font size="3" color="red" face="font style">
font is for fonts yeah really it is =) (for words).. color is the color of the font size is the size of the font and face is what style of font you want for example times new roman or arial..
<a href="http://www.website.com">website.com</a>
that is a link code taking you to website.com i wonder if thats a real site??? checking.... heh it is you can get a somthing.website.com website address for 9.99 a month i think or was it a year? maybe year..
<a href="#label">click</a> skips to <a name="label">
when you click on the first one it will take you to the second one.. test it out put one of these at the top of your page and one at the bottom youll see it will skip to it.. like for example click here.. to goto the table code section
<marquee width="000" height="000" behavior="alternate" bgcolor="color" direction="right" loop="5">
marquee is scrolling text width controls the width of the scroll to be on the page.. height is the height of the text to be youll need to make it large if the text is very large.. behavior this controls what you want it to do alternate is for it to goto the end of the width then turn around over and over without it.. it will just go off the page and come back on the other side.. bgcolor is the background color of it direction="right" makes it go right instead of left. loop tells it how many times you want it to loop you can have it loop 1 time to what ever then it will stop. if you put infinite it wont stop..
<a href="mailto:emailadress@server.com?subject="subject goes here">
this is a email link code mailto: starts it put the email address then ? starts the subject
<img src="picture.jpg" width="000" height="000" border="0" bordercolor="color" alt="some kinda caption">
this is a picture code src is where the picture is at width is how wide you want it height is how tall you want it border is if you want a border around it how ever big you want it.. bordercolor is what color you want the border.. alt will give a caption on the picture when you put your mouse over it..
<embed src="sound.wav" loop="000" autostart="true">
thats a sound thats hidden in the background src is where the sound is, if its in another folder it would be folder/sound.wav, loop is how many times you want it played..
<hr width="00" color="color" size="00">
hr is a line across the page or you can make a box out of it the width is how wide it is.. color is the color you want the line size is how high you want it..
|
<table bordercolor="blue" border=10 cellpadding=20">
<tr>
<td>o</td>
<td>x</td>
<th>x</th>
</tr>
<tr>
<td>x</td>
<td>o</td>
<th>x</th>
</tr>
<tr>
<td>o</td>
<td>x</td>
<th>x</th>
</tr>
</table>
|
this is the table code for the tick tack toe board. table starts the table bordercolor is the color of the table, border is the size of the border on the table.. cellpadding is the size of the cell around the item inside... pretend its a prison cell the more cell padding the bigger the cell is around the person.. there are nine cells when you increase the cellpadding of the table it increases all the cells the code cellspacing= will make spaces between the cells, and you can add bgcolor= to change the color of the background of the table.. you are able to put a table within a table and make that table less cellpadding.. see the box that has the word tables in it .. that has very low cell padding and its a single cell .
a <th> is for the heading and, <td> is a cell .. if you notice where i use TH instead of TD on the winning X's.. they are bold because its a heading. a <tr> is basically like the <br> is except it creates a new row in the table <br> breaks a line down.
if the <tr>'s was not there this would be the result..
|

|