English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Referenzhandbuch

Vollständiges Verzeichnis der HTML-Tags

HTML keygen disabled Eigenschaft

Die keygen disabled Eigenschaft ist ein boolesches Attribut. Das disabled-Attribut legt fest, dass das <keygen>-Element deaktiviert sein soll. Deaktivierte Felder sind nicht verfügbar und können nicht bearbeitet werden.

 HTML <keygen> Tag

Online-Beispiel

Ein deaktivierter <keygen>-Element:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML <keygen> disabled Eigenschaft verwenden-Grundlegende Anleitung(oldtoolbag.com)</title>
</head>
<body>
<form action="demo-frame.php" method="get">
  Benutzername: <input type="text" name="usr_name">
  Verschlüsselung: <keygen name="security" disabled>
  <input type="submit">
</form>
</body>
</html>
Testen Sie, ob es funktioniert ‹/›

Browser Kompatibilität

IEFirefoxOperaChromeSafari

Firefox, Opera, Chrome and Safari 6 Supports the disabled attribute of the <keygen> tag.

Definition and Usage

The disabled attribute is a boolean attribute.

The disabled attribute specifies that the <keygen> element should be disabled. Disabled fields are not available and cannot be edited.

can set the disabled attribute to allow users to use the field only when certain conditions are met (such as checking a checkbox, etc.). Then, JavaScript can be used to remove the disabled value, making the field available for use.

HTML 4.01 with HTML5differences

<keygen> Tag is HTML5 with new tags.

Differences between HTML and XHTML

In XHTML, attribute abbreviations are prohibited, the disabled attribute must be defined as <keygen disabled="disabled" >. />。

Syntax

<keygen disabled>
 HTML <keygen> Tag