Correct the errors and apply the changes in the below HTML code.
<samp>, <kbd>, <code> tags
Correct the errors
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>Rectify errors</title>
</head>
<body>
<h1>Rectify the errors</h1>
<p>Below text is an example of samp tag in HTML</p>
<samp>Press F11 to sleep
<p>Below text is an example of code tag in HTML</p>
<code>background-color: pink;<code>
<p>Below example is an example of kbd tag in HTML</p>
<kdb>Ctrl + C</kdb>
</body>
</html>
Completed 0 of 4
The code is valid
Rectify error and make the changes in the samp tag.
___
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.