Beispiel:Benutzerfreundliches Suchformular5.html
Aus SELFHTML-Wiki
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0;" />
<link rel="stylesheet" type="text/css" media="screen" href="./Beispiel:SELFHTML-Beispiel-Grundlayout.css" />
<title>benutzerfreundliches Google-Suchformular</title>
<style>
label[for=q] {
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
}
</style>
</head>
<body>
<h1>benutzerfreundliches Google-Suchformular</h1>
<main>
<form action="https://google.de/search">
<p>
<label for="q">Suchbegriff</label>
<input name="q">
<button>finden</button>
</p>
</form>
</main>
</body>
</html>