In the HTML code given below, enclose the "text-color" CSS property inside the correct semantic tag so that it represents a piece of computer code.
<samp>, <kbd>, <code> tags
Add computer code
Report a typo
Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Computer code</title>
</head>
<body>
<h1>CSS property</h1>
<p>
The text-color CSS property is used to set the color of the HTML text.
</p>
</body>
</html>
Completed 1 of 2
Enclose the text-color inside the correct semantic tag
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.