File tree Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Original file line number Diff line number Diff line change @@ -52,32 +52,32 @@ element in a wrong way than staying neutral.
52
52
Keep your code terse. Forget about your old XHTML habits.
53
53
54
54
``` html
55
- <!-- bad -->
56
- <!doctype html>
57
- <html lang =en >
58
- <head >
59
- <meta http-equiv =Content-Type content =" text/html; charset=utf-8" />
60
- <title >Contact</title >
61
- <link rel =stylesheet href =style.css type =text/css />
62
- </head >
63
- <body >
64
- <h1 >Contact me</h1 >
65
- <input type =email placeholder =you@email.com required =required >
66
- <script src =main.js type =text/javascript ></script >
67
- </body >
68
- </html >
69
-
70
- <!-- good -->
71
- <!doctype html>
72
- <html lang =en >
73
- <meta charset =utf-8 >
55
+ <!-- bad -->
56
+ <!doctype html>
57
+ <html lang =en >
58
+ <head >
59
+ <meta http-equiv =Content-Type content =" text/html; charset=utf-8" />
74
60
<title >Contact</title >
75
- <link rel =stylesheet href =style.css >
76
-
61
+ <link rel =stylesheet href =style.css type =text/css />
62
+ </head >
63
+ <body >
77
64
<h1 >Contact me</h1 >
78
- <input type =email placeholder =you@email.com required >
79
- <script src =main.js ></script >
80
- </html >
65
+ <input type =email placeholder =you@email.com required =required >
66
+ <script src =main.js type =text/javascript ></script >
67
+ </body >
68
+ </html >
69
+
70
+ <!-- good -->
71
+ <!doctype html>
72
+ <html lang =en >
73
+ <meta charset =utf-8 >
74
+ <title >Contact</title >
75
+ <link rel =stylesheet href =style.css >
76
+
77
+ <h1 >Contact me</h1 >
78
+ <input type =email placeholder =you@email.com required >
79
+ <script src =main.js ></script >
80
+ </html >
81
81
```
82
82
83
83
### Accessibility
You can’t perform that action at this time.
0 commit comments