zoukankan      html  css  js  c++  java
  • 每日日报2020 12/10

    <%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>校验表单</title>

    <!-- <!-- <script> -->
    <!-- // function check(){ -->
    <!-- // flag=0; -->
    <!-- // var rep =/^[wu4e00-u9fa5]{6,8}$/;//判断字符串是否为字母和数字的结合 -->
    <!-- // var myPattern = new RegExp("^[a-zA-Z]");//以英文字母开头 -->
    <!-- // var username = document.getElementById("username").value; -->

    <!-- // } -->

    </head>
    <body>

    <form action ="Servlet2?method=doGet" method="post" onsubmit ="return check()">

    <table border= "0px" cellpadding="10px" cellspacing="0px"
    style="width :50%; margin:auto;background:rgb(195,195,195)" bordercolor="red">


    <caption>当前位置:添加个人信息</caption>

    <tr>
    <td>ID:</td>
    <td><input type ="text" name ="id" id="id"></td>
    </tr>

    <tr>
    <td>姓名:</td>
    <td><input type="text" name="name" ></td>
    </tr>

    <tr>
    <td>班级:</td>
    <td><input type="text" name="aclass" ></td>
    </tr>
    <tr>
    <td>课程:</td>
    <td><input type="text" name="kecheng" ></td>
    </tr>
    <tr>
    <td>成绩:</td>
    <td><input type="text" name="score" ></td>
    </tr>
    <tr>
    <th colspan ="2">
    <input type ="submit" value="添加">
    </th>
    </tr>
    </table>
    </form>

  • 相关阅读:
    字体图标
    css精灵图
    css定位
    浮动的清除
    浮动、版心布局
    css 盒子模型
    css三大特性、行高属性、权重
    JSP实现上传文件(或图片)到MySQL
    MySQL 错误. Packet for query is too large (***> 4194304). You can change......
    使用Servlet3.0提供的API实现文件上传到指定位置
  • 原文地址:https://www.cnblogs.com/song-1/p/14177199.html
Copyright © 2011-2022 走看看