Question 01 of 05

CSS Selectors

Create an HTML page with CSS using element, class, and ID selectors.

C++
<!DOCTYPE html>
<html>
<head>
<style>
    h1 { color: navy; }
    .highlight { background-color: yellow; }
    #unique { font-size: 20px; }
</style>
</head>
<body>
    <h1>Title</h1>
    <p class="highlight">This paragraph is highlighted.</p>
    <p id="unique">This paragraph has unique styling.</p>
</body>
</html>
Question 1 of 5