java webserve-html

一个网页包含:
html骨架
css 润色
js 动态

<pre>预定义
<br/> 换行

<html>
    <head>
        <title>我的第一个html登录</title>
    </head>
    <body>
    <h1>表单的使用</h1>
        <pre>
        post:提交数据,基于http协议的不同,量大 ,请求参数url不可见,安全<br/>
        get:默认方式,获取数据,如果要提交数据则量小,请求参数url可见,不安全<br/>
        action : 请求web服务器的资源,路径  <br/>
        name:作为后端使用,区分唯一     <br/>
        id:作为前端使用,区分唯一      <br/>
        <pre>
        <form method="post" action="http://localhost:8888/index.html">
                        用户名:<input type="text" name="uname"  id="uname"/>
                        密码:<input type="password" name="pwd"  id="pwd"/>
                        <input type="submit" value="登录"/>
        </form>

    </body>
</html>

猜你喜欢

转载自blog.51cto.com/14437184/2435591