<html>
<body>
<form Action="http://google.com/search" method="get" name="q">
<input type="text" name="q" ><br>
<input type="submit" value="search">
</form>
<p><b>Note:</b> The form itself is not visible. Also note that the default width of a text field is 20 characters.</p>
</body>
</html>
將GET改成POST
Note: The form itself is not visible. Also note that the default width of a text field is 20 characters.
沒有留言:
張貼留言