Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> hr { width: 100%; height: 30px; margin-left: auto; margin-right: auto; background-color: #b7d0e2; } </style> </head> <body> <h1>Horizontal Line with Height and Background Color</h1> <hr /> </body> </html>