Sign in to follow this  
Followers 0
twirlz

html

12 posts in this topic

can someone recommend a good text file or a site that has html commands i want to refresh myself on html and all i have is out of date.

0

Share this post


Link to post
Share on other sites

Teach Yourself HTML in 10 Minutes, published by SAMS.

0

Share this post


Link to post
Share on other sites

the best resource of all...

VIEW/SOURCE

0

Share this post


Link to post
Share on other sites
the best resource of all... VIEW/SOURCE

LOL, you might learn a bit about Java and some XML that way, too. ^_^

-@®©1-1@/\/GE1_

0

Share this post


Link to post
Share on other sites
Teach Yourself HTML in 10 Minutes, published by SAMS.

No way I have that book! I read that right befor I took my web design courses. Its real good

0

Share this post


Link to post
Share on other sites

well i've gotten to know html pretty good now but i'm learning JavaScript now and i'm having some problems with it.

the book i'm working out of has me write up a script to calculate seconds per year and then use java script to write html to say how my seconds this monkey dances for. ( don't ask me about the monkey plz!)

but heres my script maybe someone could tell me what i'm doing wrong

<script language="JavaScript">

<!-- hide me

// load up some variables

var secs_per_min = 60;

var mins_per_hour = 60;

var hours_per_day = 24;

var days_per_year = 365;

// do some calculations

var secs_per_day = secs_per_min * mins_per_hour * hours_per_day;

var secs_per_year = secs_per_day * days_per_year;

// end hiding-->

<script language="JavaScript">

<!-- hide me

// here's how to use JavaScript to write out HTML

document.writeln("The monkey dances ");

document.writeln(secs_per_year);

document.writeln(" seconds per year.

");

Thanx

0

Share this post


Link to post
Share on other sites

From a quick look, I cant see any closing script commands but x2 open ones

hows about putting after each

</SCRIPT>

0

Share this post


Link to post
Share on other sites

well sometimes it takes a second set of eyes.

Thank You Nick :D

Thought i had it fixed.

<script language="JavaScript"><!-- hide me// load up some variablesvar secs_per_min = 60;var mins_per_hour = 60;var hours_per_day = 24;var days_per_year = 365;// do some calculationsvar secs_per_day = secs_per_min * mins_per_hour * hours_per_day;var secs_per_year = secs_per_day * days_per_year;// end hiding--></script></head><body bgcolor="#000000" text="#FFFFFF" link="#FFFFFF" vlink="#6666FF"><script language="JavaScript"><!-- hide me // here's how to use JavaScript to write out HTMLdocument.writeln("<b><p>The monkey dances ");document.writeln(secs_per_year);document.writeln(" seconds per year.</b></p>");</script>// end hiding--></body></html>

but still doesn't do what its suppose to... i've tried taking things out like the command document.writeln i took out the "ln" part and that doesn't work. i don't mean to sound like i'm whineing or anything i would like to figure this out but i know i need help and hopefully this is the tip of the mountain i need to get over and maybe this will be cake!

0

Share this post


Link to post
Share on other sites

SPOILER! its also over on the site http://www.w1nt3rmut3.net/y0.html

<html><title>y0</title><script language="JavaScript">var secs_per_min = 60;var mins_per_hour = 60;var hours_per_day = 24;var days_per_year = 365;var secs_per_day = secs_per_min * mins_per_hour * hours_per_day;var secs_per_year = secs_per_day * days_per_year;</script></head><body bgcolor="#000000" text="#FFFFFF" link="#FFFFFF" vlink="#6666FF"><script language="JavaScript">document.writeln("<b><p>The monkey dances ");document.writeln(secs_per_year);document.writeln(" seconds per year.</b></p>");</script></body></html>

http://www.w1nt3rmut3.net/y0.html

0

Share this post


Link to post
Share on other sites

ok let me guess. i don't need to hide my code with the <!--

??

Thanx mut3 that was a great help ( or slap in the face of horrible coding i guess.) but thanx

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0