Source Code:
(back to article)
Submit
Result:
Report an issue
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
›
⌄
⌄
⌄
⌄
⌄
⌄
⌄
⌄
<!DOCTYPE html>
<
html
>
<
head
>
<
title
>Title of the document</
title
>
<
style
>
label
{
display:
flex
;
align-items:
center
;
}
</
style
>
</
head
>
<
body
>
<
form
>
<
div
>
<
label
>
<
input
type=
"checkbox"
/> Label text
</
label
>
</
div
>
</
form
>
</
body
>
</
html
>
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> label { display: flex; align-items: center; } </style> </head> <body> <form> <div> <label> <input type="checkbox" /> Label text </label> </div> </form> </body> </html>