Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> label { display: block; padding-left: 15px; text-indent: -15px; } input { width: 15px; height: 15px; padding: 0; margin: 0; vertical-align: bottom; position: relative; top: -1px; } </style> </head> <body> <form> <div> <label> <input type="checkbox" /> Label text </label> </div> </form> </body> </html>