+ 3

Make this text "<h3>I am happy to try these features<h3>" a block style with blue background & white font from external css link

css project

3rd Dec 2017, 9:49 PM
Patrick Kyei
Patrick Kyei - avatar
2 Réponses
+ 3
index.html (where style.css is in a folder named css in the same directory as index.html) ------------- <!DOCTYPE html> <html> <head> <title>Page Title</title> <link rel="stylesheet" href="css/style.css"> </head> <body> <h3>I am happy to try these features</h3> </body> </html> style.css ----------- h3 { display: block; color: white; background: blue; }
3rd Dec 2017, 11:06 PM
ChaoticDawg
ChaoticDawg - avatar
+ 1
Guy thanks. Worked. Was a little confusing, didn't have any option than to use inline css earlier on which made worked more clumsy
4th Dec 2017, 11:16 AM
Patrick Kyei
Patrick Kyei - avatar