Applying attributes

Report a typo

Add id with the value of centralAlignment to element h1 so that CSS styles can be applied to it.

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
___

Create a free account to access the full topic