English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Die Eigenschaft "keygen autofocus" ist ein boolesches Attribut. Das Attribut "autofocus" legt fest, dass das <keygen>-Element beim Laden der Seite automatisch in den Fokus gelangt.
Lassen Sie das Feld "Verschlüsselung" beim Laden der Seite automatisch in den Fokus gelangen:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Grundlagen-Tutorial-Website(oldtoolbag.com)</title> </head> <body> <form action="demo-frame.php" method="get"> Benutzername: <input type="text" name="usr_name"> Verschlüsselung: <keygen name="security" autofocus> <input type="submit"> </form> </body> </html>Test see ‹/›
IEFirefoxOperaChromeSafari
Opera, Chrome and Safari 6 Supports the autofocus attribute of the <keygen> tag.
The autofocus attribute is a boolean attribute.
The autofocus attribute specifies that the <keygen> element will automatically receive focus when the page is loaded.
<keygen> Tag is HTML5 with new tags.
In XHTML, attribute shorthand is prohibited, the autofocus attribute must be defined as <keygen autofocus="autofocus" />。
<keygen autofocus>HTML <keygen> Tag