Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> .text { background-color: #fff; border: 1px solid #666; color: #000; padding: 10px 15px; text-align: center; display: inline-block; font-size: 15px; margin: 15px; cursor: pointer; } </style> </head> <body> <input type="checkbox" name="checkbox" id="checkID" value="text"> <label class="text" for="checkID">Text </label> </body> </html>