Skip to content

Commit 80b69ca

Browse files
author
Benjamin De Cock
committed
Label in brevity guideline
1 parent 53db1de commit 80b69ca

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ Keep your code terse. Forget about your old XHTML habits.
6262
</head>
6363
<body>
6464
<h1>Contact me</h1>
65-
<input type=email placeholder=you@email.com required=required />
65+
<label>
66+
Email address:
67+
<input type=email placeholder=you@email.com required=required />
68+
</label>
6669
<script src=main.js type=text/javascript></script>
6770
</body>
6871
</html>
@@ -75,7 +78,10 @@ Keep your code terse. Forget about your old XHTML habits.
7578
<link rel=stylesheet href=style.css>
7679

7780
<h1>Contact me</h1>
78-
<input type=email placeholder=you@email.com required>
81+
<label>
82+
Email address:
83+
<input type=email placeholder=you@email.com required>
84+
</label>
7985
<script src=main.js></script>
8086
</html>
8187
```

0 commit comments

Comments
 (0)