Any HTML expert, Help needed, can I keep test1.htm for "action"

取消
显示结果 
搜索替代 
您的意思是: 
已解决

Any HTML expert, Help needed, can I keep test1.htm for "action"

跳至解决方案
605 次查看
TVNAIDU
Contributor III

I wrote small htm file to test LED using radio button, when I click on apply, I cannot see anywhere data collected, I am not sure what to give for "action", temporarily I am giving test1.htm, not sure that is correct or not. I added this file to the directory, then click on make to create C file, then build again and loaded, not getting any output fo rtesting, appreciated for help. testing with LITE code. 

 

 

 

$ cat led_test.htm
<html>
<head>
<title>My Page</title>
</head>
<body>
<form name="myform" action="test1.htm" method="POST

<div align="center">
LED11 <input type="radio" name="group1" value="ON"> ON
<input type="radio" name="group1" value="OFF" > OFF
<input type="radio" name="group1" value="Reboot"> REBOOT <br>
<br>
LED22 <input type="radio" name="group2" value="ON"> ON
<input type="radio" name="group2" value="OFF"> OFF
<input type="radio" name="group2" value="Reboot" > REBOOT<br>
<br>
LED3 <input type="radio" name="group3" value="ON"> ON
<input type="radio" name="group3" value="OFF"> OFF
<input type="radio" name="group3" value="Reboot" > REBOOT<br>
<br>
LED4 <input type="radio" name="group4" value="ON"> ON
<input type="radio" name="group4" value="OFF"> OFF
<input type="radio" name="group4" value="Reboot" > REBOOT<br>
<br>
</div>

<div align="center"><br>
<INPUT TYPE=SUBMIT VALUE="Apply">
</div>
</form>
</body>
</html>

标签 (1)
0 项奖励
1 解答
98 次查看
p4p4
Contributor I

form tag in line line 7 is not closed:

 

<form name="myform" action="test1.htm" method="POST    

 

missing ">

在原帖中查看解决方案

0 项奖励
1 回复
99 次查看
p4p4
Contributor I

form tag in line line 7 is not closed:

 

<form name="myform" action="test1.htm" method="POST    

 

missing ">

0 项奖励