w3resource

HTML CSS Exercise: Type selector

Solution:

HTML Code :

<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset=utf-8>
<title>CSS Type selector example</title>
<style type="text/css">
h1{
color:#4b6c9c;  
}
</style>
</head>
<body>
<h1>This is heading one</h1>
</body>
</html>

Live Demo :

See the Pen type-selector-answer by w3resource (@w3resource) on CodePen.


Supported browser

Firefox logo Chrome logo Opera logo Safari logo Internet Explorer logo
YesYesYesYesYes

What is the difficulty level of this exercise?

Test your Programming skills with w3resource's quiz.



Follow us on Facebook and Twitter for latest update.