|
| Introduction |
|
 |
Welcome to my webpage explaining some easy, but cool html codes!
HTML-
- Basic Html Codes-Horizontal Rule, Space, Numbered list, Bulleted list, Links, Bolding, Italics, Underlining, Superscript, Subscript)
- Maraqees
- Links-More helpful places
- More to come!
Flash-
|
| Basic Html Codes |
|
 |
|
Horizontal Rule
Details
| <Hr width="50%" align="center"><Hr width ="25%" align="center"> |
| <Hr color="FF0033"> <Hr color ="FF3333"> <Hr color ="FF6633"> <Hr color ="FF9933"> |
|
|
Spaces
| Sample Text1<Br>Sample Text2 |
Sample Text1 Sample Text2 |
|
A numbered list
| We need: <ol><li>Cheese</li><li>Milk</li></ol> |
We need:
-
Cheese
-
Milk |
|
A Bulleted List
| We need: <ul><li>Cheese</li><li>Milk</li></ul> |
We need:
|
|
Links
| <a href="http://www.google.com">Google!</a> |
Google! |
|
Italics
This is italized. |
|
Underlining
| This is <u>underlined</u>. |
This is underlined. |
|
Superscript
| This is <sup>superscripted</sup>. |
This is superscripted. |
|
Subscript
| This is <sub>subscripted</sub>. |
This is subscripted. |
|
| Scrolling Marquee |
|
 |
|
The Code:
<div align="left"> <marquee bgcolor="#000000" scrollamount="2" direction="up" loop="true" width="35%"> <center> <font color="#ffffff" size="+1"><strong>
INSERT YOUR INFORMATION/HTML CODES HERE (SUCH AS <BR>, <HR>, ETC.)
</strong></font> </center> </marquee></div> |
Help:
|
You can change:
- Direction: Up, Down, Left, or Right
- Colors: -Use color chart and replace "#------"
- Most of the other code is changable. Try differnt things out!
| |
|
| Time coding |
|
 |
|
The Code:
Warning: This code is not accurate to the new standards of my clocks (i.e. it will produce the unchanging above pictured animation instead of automatically updating.) I will try to put the code for the type of clock that is featured on my home page eventually.
Put this in your actions in the first frame of the movie.
myNow = new Date(); myDay = myNow.getDay(); myMonth = myNow.getMonth(); myDate = myNow.getDate(); myHours = myNow.getHours(); myMinutes = myNow.getMinutes(); mySeconds = myNow.getSeconds(); myYear = myNow.getFullYear(); theHour = myHours; noon = ""; if (myHours>=13) { theHour = myHours-12; } else { theHour == myHours; } if (myMinutes<10) { myMinutes = "0"+myMinutes; } if (myHours<12) { noon = "am"; } else { noon = "pm"; } theDay = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"); theMonth = new Array("January", "February", "March", "April", "May", " June", "July", "August", "September", "October", "November", "December"); theDate = theDay[myDay]+"\n "+theMonth[myMonth]+" "+myDate+", "+myYear+"\n"+theHour+":"+myMinutes+" "+noon;
|
Help:
|
After puting the code down, do the following:
|
|
|
|