Input of the reset section Boby - HTML

 Essays and records to facilitate their access to fellow travelers.

#------------------------------------------------I ------------------------------------------- dividing line is a shame

An input interface generally has a reset button, a user input function is used to empty the contents, as follows: <INPUT type = "RESET" value = " reset ">

 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>input系列</title>
</head>
<body>
    <form enctype="multipart/form-data">
        <p>用户登入</p>
        用户名<input type="text" name="user">
        密  码<input type="password" name="
        Upload
        <the p-> upload files: </ p>>"pwd<input  type="file" name="filename"/>
        <input type="submit" value="提交"/>
        <input type="reset" value="重置">
    </form>
</body>
</html>

 

result:

Click the Reset button will clear the user input, but does not clear the default.

 

Guess you like

Origin www.cnblogs.com/lirongyang/p/11250572.html