I was using an hr code and it didn't work can someone help? <html> <head> <title>This is Our Title</title> </head> <body> <b>This Text is Bold</b> This Text is Not Bold <hr "color:red"/>This is Under the Horizantal Line </body> </html>
You have to define color as a style attribute. <hr style="color:red" /> This is true for all inline CSS
alternatively you can define the color code, as below. <html> <head> <title>This is Our Title</title> </head> <body> <b>This Text is Bold</b> This Text is Not Bold <hr style="color:#FF0000" />This is Under the Horizantal Line </body> </html>
Alternatively you can add CSS to it to make it even easier in the HTML. hr { color: #FF0000; background-color: #FF0000; } You need both because IE(unsure about 9) uses color and firefox and others user background-color for styling HR. Hopefully you know how to implement CSS into your webpage.