<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>fieldset和legend和keygen元素的用法</title>
</head>
<body>
<!-- <form action="">
<fieldset>
<legend>用户注册</legend>
用户<input type="text">
密码<input type="text"><br>
<input type="submit">
<input type="reset">
</fieldset>
</form>
</body> -->
<form action="http://localhost" id="myform">
账号<input type="text" name="user">
加密<keygen name="mykey">
<input type="submit">
</form>
</html>
时间: 2024-12-15 04:43:59