Beispiel:HTML input-Element7.html
Aus SELFHTML-Wiki
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./Beispiel:SELFHTML-Beispiel-Grundlayout.css" />
<title>Farbauswähler mit type="color"</title>
</head>
<body>
<h1>Farbauswähler mit type="color"</h1>
<main>
<h2>Wählen Sie Ihre Lieblingsfarbe</h2>
<label for="color">Farbwähler: </label>
<input type="color" id="color" value="#ff0000">
</main>
</body>
</html>