Skip to content

Commit f3aa2c0

Browse files
emazykachrisvfritz
authored andcommitted
Update label closing tags (vuejs#1576)
Added missing slash in label closing tags.
1 parent df55307 commit f3aa2c0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/v2/cookbook/form-validation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ Given a form of three fields, make two required. Let's look at the HTML first:
2121
</p>
2222

2323
<p>
24-
<label for="name">Name<label>
24+
<label for="name">Name</label>
2525
<input type="text" name="name" id="name" v-model="name">
2626
</p>
2727

2828
<p>
29-
<label for="age">Age<label>
29+
<label for="age">Age</label>
3030
<input type="number" name="age" id="age" v-model="age" min="0">
3131
</p>
3232

3333
<p>
34-
<label for="movie">Favorite Movie<label>
34+
<label for="movie">Favorite Movie</label>
3535
<select name="movie" id="movie" v-model="movie">
3636
<option>Star Wars</option>
3737
<option>Vanilla Sky</option>
@@ -93,17 +93,17 @@ For the second example, the second text field (age) was switched to email which
9393
</p>
9494

9595
<p>
96-
<label for="name">Name<label>
96+
<label for="name">Name</label>
9797
<input type="text" name="name" id="name" v-model="name">
9898
</p>
9999

100100
<p>
101-
<label for="email">Email<label>
101+
<label for="email">Email</label>
102102
<input type="email" name="email" id="email" v-model="email">
103103
</p>
104104

105105
<p>
106-
<label for="movie">Favorite Movie<label>
106+
<label for="movie">Favorite Movie</label>
107107
<select name="movie" id="movie" v-model="movie">
108108
<option>Star Wars</option>
109109
<option>Vanilla Sky</option>

0 commit comments

Comments
 (0)