+ 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
2 odpowiedzi
+ 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;
}
+ 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