Imagine you're designing a blog, and you want the headlines to be aligned to the left side of the page to ensure they are easily noticeable as users scroll down. Your task is to apply the correct text-align value to make this happen.
Text Alignment
Aligning the headlines
Report a typo
Fill in the gaps with the relevant elements
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aligning Headlines</title>
<style>
.headline {
:;
font-size: 24px;
color: #333;
}
</style>
</head>
<body>
<h1 class="headline">Welcome to My Blog</h1>
</body>
</html>Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.