HTML tag

(*-*)浩
Release: 2019-11-14 15:14:06
Original
2902 people have browsed it

HTML tag

HTML <keygen> tag

##Definition and usage (Recommended learning: html Tutorial )

The tag specifies the key pair generator field to be used on the form.

When the form is submitted, the private key is stored locally and the public key is sent to the server.

Browser Support

All major browsers support the tag except Internet Explorer and Safari.

Example

Form with keygen field:

<!DOCTYPE HTML>
<html>
<body>

<form action="/example/html5/demo_form.asp" method="get">
用户名:<input type="text" name="usr_name" />
加密:<keygen name="security" />
<input type="submit" />
</form>

</body>
</html>
Copy after login

The above is the detailed content of HTML tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template