請存檔成 text.htm 檔
按此處檢視範例語法
<html>
<head><title>Text文字方塊</title></head>
<body>
<form name="form1" method="post" action="text.php">
帳號:<input name="username" type="text"><p>
密碼:<input name="password" type="password"><p>
<input type="submit" name="Submit"
value="送出">
<input type="reset" name="Submit2"
value="重設">
</form>
</body>
</html>
以下這部份是可以省略的:
<html>
<head><title>Text文字方塊</title></head>
<body>
</body>
</html>
若省略這些標籤,代表撰寫的內容可能在<html>之上或<body>......</body>之間,建議還是要寫上,至少也寫<body>......</body>
|