Add id with the value of centralAlignment to element h1 so that CSS styles can be applied to it.
HTML attributes id and class
Applying attributes
Report a typo
Write HTML and CSS code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bug correction</title>
</head>
<body>
<h1>I like to learn</h1>
</body>
</html>
Completed 1 of 2
The element <h1> has id
The code is valid
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
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.