最新回應

Loading...

2014年5月12日 星期一

Lab 19 Lab Form and Action

<html>
<body>

<form action="https://www.google.com/search"  name="q" method="get">

search:<input type="text"  name="q">

<input type ="submit" value="submit">

<br>

</form>

</body>
</html>


(method=get 的情況)



search:


<html>
<body>

<form action="https://www.google.com/search"  name="q" method="post">

search:<input type="text"  name="q">

<input type ="submit" value="submit">

<br>

</form>

</body>
</html>



(method=post 的情況)




search:

沒有留言:

張貼留言