<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999.xhtml">
<head>
<title>task 1</title>
<script type="text/javascript">function check(){var a=parseInt(document.form.elements[0].value);            //把字符型改为整型
var b=parseInt(document.form.elements[1].value);               //“?”该写什么啊?
var c=parseInt(document.form.elements[2].value);
if(a+b>c && b+c>a && a+c>b)
document.write("The length of three sides can form a trangile")
else
document.write("The length of the three sides can not form a trangile,please try again") 
}
</script>
</head><body>
<form name=form action="FormProcessor.html" method="get" onsubmit="check();return false"><p>The first side of the trangible:<br />
<input type="text" value=""></p><p>The second side of the trangible:<br />
<input type="text" value=""></p><p>The third side of the trangible:<br />
<input type="text" value=""></p>
<input type=submit></form></body>
</html>