Forums

ForumsProgramming Forum

HTML

Posted Apr 21, '12 at 8:06pm

strouthas

strouthas

24 posts

single backslash 'r' single backslash 'n'. It has some issues here also :D

 

Posted Apr 22, '12 at 5:49am

ExplosionsHurt

ExplosionsHurt

262 posts

The biography uses a WYSIWYG editor. No HTML is required.

 

Posted Apr 29, '12 at 8:02pm

Darksaber

Darksaber

189 posts

what do you think of this?
<html>
<body>
<center>
<h1>Traffic Light</h1>
<form name="light">
<input type="text"style="background-color:#FFFFFF;width:140; height:140"><p><red>
<input type="text"style="background-color:#FFFFFF;width:140; height:140"><p><yellow>
<input type="text"style="background-color:#FFFFFF;width:140; height:140"><p><green>

<input TYPE="button" value="GO"

onClick="this.form.elements[0].value='';this.form.elements[1].value='';this.form.elements[2].value='';
this.form.elements[0].setAttribute('style', 'background-color:white;width:140; height:140;);
this.form.elements[1].setAttribute('style', 'background-color:white;width:140; height:140;);
this.form.elements[2].setAttribute('style', 'background-color:green;width:140; height:140;);">

<input TYPE="button" value="SLOW"

onClick="this.form.elements[0].value='';this.form.elements[1].value='';this.form.elements[2].value='';
this.form.elements[0].setAttribute('style', 'background-color:white;width:140; height:140;);
this.form.elements[1].setAttribute('style', 'background-color:yellow;width:140; height:140;);
this.form.elements[2].setAttribute('style', 'background-color:white;width:140; height:140;);">

<input TYPE="button" value="STOP"

onClick="this.form.elements[0].value='';this.form.elements[1].value='';this.form.elements[2].value='';
this.form.elements[0].setAttribute('style', 'background-color:red;width:140; height:140;);
this.form.elements[1].setAttribute('style', 'background-color:white;width:140; height:140;);
this.form.elements[2].setAttribute('style', 'background-color:white;width:140; height:140;);">
</form>
</body>
</html>

 

Posted Apr 29, '12 at 8:04pm

Darksaber

Darksaber

189 posts

not shure what happend?
<code><html>
<body>
<center>
<h1>Traffic Light</h1>
<form name="light">
<input type="text"style="background-color:#FFFFFF;width:140; height:140"><p><red>
<input type="text"style="background-color:#FFFFFF;width:140; height:140"><p><yellow>
<input type="text"style="background-color:#FFFFFF;width:140; height:140"><p><green>

<input TYPE="button" value="GO"

onClick="this.form.elements[0].value='';this.form.elements[1].value='';this.form.elements[2].value='';
this.form.elements[0].setAttribute('style', 'background-color:white;width:140; height:140;);
this.form.elements[1].setAttribute('style', 'background-color:white;width:140; height:140;);
this.form.elements[2].setAttribute('style', 'background-color:green;width:140; height:140;);">

<input TYPE="button" value="SLOW"

onClick="this.form.elements[0].value='';this.form.elements[1].value='';this.form.elements[2].value='';
this.form.elements[0].setAttribute('style', 'background-color:white;width:140; height:140;);
this.form.elements[1].setAttribute('style', 'background-color:yellow;width:140; height:140;);
this.form.elements[2].setAttribute('style', 'background-color:white;width:140; height:140;);">

<input TYPE="button" value="STOP"

onClick="this.form.elements[0].value='';this.form.elements[1].value='';this.form.elements[2].value='';
this.form.elements[0].setAttribute('style', 'background-color:red;width:140; height:140;);
this.form.elements[1].setAttribute('style', 'background-color:white;width:140; height:140;);
this.form.elements[2].setAttribute('style', 'background-color:white;width:140; height:140;);">
</form>
</body>
</html></code>

 

Posted Apr 29, '12 at 8:05pm

Darksaber

Darksaber

189 posts

hmmm
ok try this

<html>
<body>
<center>
<h1>Traffic Light</h1>
<form name="light">
<input type="text"style="background-color:#FFFFFF;width:140; height:140"><p><red>
<input type="text"style="background-color:#FFFFFF;width:140; height:140"><p><yellow>
<input type="text"style="background-color:#FFFFFF;width:140; height:140"><p><green>

<input TYPE="button" value="GO"

onClick="this.form.elements[0].value='';this.form.elements[1].value='';this.form.elements[2].value='';
this.form.elements[0].setAttribute('style', 'background-color:white;width:140; height:140;);
this.form.elements[1].setAttribute('style', 'background-color:white;width:140; height:140;);
this.form.elements[2].setAttribute('style', 'background-color:green;width:140; height:140;);">

<input TYPE="button" value="SLOW"

onClick="this.form.elements[0].value='';this.form.elements[1].value='';this.form.elements[2].value='';
this.form.elements[0].setAttribute('style', 'background-color:white;width:140; height:140;);
this.form.elements[1].setAttribute('style', 'background-color:yellow;width:140; height:140;);
this.form.elements[2].setAttribute('style', 'background-color:white;width:140; height:140;);">

<input TYPE="button" value="STOP"

onClick="this.form.elements[0].value='';this.form.elements[1].value='';this.form.elements[2].value='';
this.form.elements[0].setAttribute('style', 'background-color:red;width:140; height:140;);
this.form.elements[1].setAttribute('style', 'background-color:white;width:140; height:140;);
this.form.elements[2].setAttribute('style', 'background-color:white;width:140; height:140;);">
</form>
</body>
</html>
 

Posted May 9, '12 at 7:16am

ExplosionsHurt

ExplosionsHurt

262 posts

The forums only allow certain tags of HTML to be parsed. This prevents people from hacking or disrupting the servers by using <script> tags.

 
Reply to HTML

You must be logged in to post a reply!