-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo-code-form-required.html
More file actions
35 lines (33 loc) · 1.44 KB
/
demo-code-form-required.html
File metadata and controls
35 lines (33 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!doctype html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Exemples de codes : champs obligatoires - Démonstrations en accessibilité - Stratis</title>
<link rel="icon" type="image/gif" href="favicon.ico"/>
<!-- Compressed CSS -->
<link rel="stylesheet" href="css/github.css">
<link rel="stylesheet" href="css/screen.css">
<!-- highlight -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/styles/default.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.2.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
</head>
<body>
<header role="banner">
<h1 id="heading"><a href="#heading">§</a> Exemples de codes : champs obligatoires</h1>
</header>
<div class="wrap">
<pre aria-hidden="true"><code><label for="edit-nom">Nom <em aria-hidden="true">(obligatoire)</em></label>
<input type="text" id="edit-nom" autocomplete="given-name" required></code></pre>
<div class="demo">
<div class="field-wrap">
<label for="edit-nom">
Nom <em aria-hidden="true" class="required-mention">(obligatoire)</em>
</label>
<input type="text" id="edit-nom" autocomplete="given-name" required>
</div>
</div>
</div>
</body>
</html>