HTML keygen name Attribute
Last Updated :
10 May, 2021
The HTML <keygen> name Attribute is used to specify the name of the <keygen> Element.
Syntax:
<keygen name="name">
Attribute Values: It contains a single value name that describes the name of the <keygen> Element.
Example:
HTML
<!DOCTYPE html>
< html >
< head >
< title >
HTML keygen name Attribute
</ title >
</ head >
< body >
< h1 style = "color:green;" >
GeeksforGeeks
</ h1 >
< h2 >HTML Keygen name attribute</ h2 >
< form >
Username: < input type = "text" name = "uname" >
< br >< br >
Encryption: < keygen name = "secure" >
< input type = "submit" >
</ form >
</ body >
</ html >
|
Output:
Supported Browsers:
- Google Chrome
- Firefox
- Safari
- Opera
Share your thoughts in the comments
Please Login to comment...