Jump to content


Photo
- - - - -

html


  • Please log in to reply
11 replies to this topic

#1 twirlz

twirlz

    Default Custom Title

  • Agents of the Revolution
  • 1,200 posts
  • Gender:Male

Posted 18 December 2002 - 01:59 PM

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.

#2 hacnslash

hacnslash

    Banisher of n00bs

  • Agents of the Revolution
  • 2,454 posts

Posted 18 December 2002 - 04:47 PM

This might be helpful, although I haven't checked if the site is up to date, prolly is...
http://archive.ncsa....LPrimerAll.html

#3 dual

dual

    BinRev veteran

  • Agents of the Revolution
  • 1,196 posts
  • Gender:Male

Posted 18 December 2002 - 04:54 PM

Teach Yourself HTML in 10 Minutes, published by SAMS.

#4 StankDawg

StankDawg

    same old Dawg, no new tricks

  • Moderating Team
  • 8,073 posts
  • Country:
  • Gender:Male

Posted 18 December 2002 - 05:24 PM

the best resource of all...


VIEW/SOURCE

#5 Angel

Angel

    mad 1337

  • Members
  • 137 posts
  • Gender:Male

Posted 18 December 2002 - 09:32 PM

the best resource of all... VIEW/SOURCE


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

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

#6 twirlz

twirlz

    Default Custom Title

  • Agents of the Revolution
  • 1,200 posts
  • Gender:Male

Posted 19 December 2002 - 10:21 AM

nevermind i figured it out.

#7 Bi0s

Bi0s

    Gibson Hacker

  • Agents of the Revolution
  • 95 posts

Posted 20 December 2002 - 12:16 AM

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

#8 twirlz

twirlz

    Default Custom Title

  • Agents of the Revolution
  • 1,200 posts
  • Gender:Male

Posted 23 December 2002 - 02:22 PM

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
[QUOTE]
<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.

");
[QUOTE]

Thanx


#9 nick84

nick84

    Member

  • Agents of the Revolution
  • 1,680 posts
  • Gender:Male

Posted 23 December 2002 - 08:30 PM

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

hows about putting after each

</SCRIPT>

#10 twirlz

twirlz

    Default Custom Title

  • Agents of the Revolution
  • 1,200 posts
  • Gender:Male

Posted 23 December 2002 - 10:38 PM

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 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>
 
</head>
<body bgcolor="#000000" text="#FFFFFF" link="#FFFFFF" vlink="#6666FF">
<script language="JavaScript">
<!-- hide me 
// here's how to use JavaScript to write out HTML
document.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!

#11 W1nt3rmut3

W1nt3rmut3

    Phreak Scout

  • Agents of the Revolution
  • 321 posts

Posted 23 December 2002 - 11:05 PM

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

#12 twirlz

twirlz

    Default Custom Title

  • Agents of the Revolution
  • 1,200 posts
  • Gender:Male

Posted 23 December 2002 - 11:47 PM

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




BinRev is hosted by the great people at Lunarpages!