The paired tag <main> wraps the main content of the HTML document. Set the <main> element's height to 150 pixels and width to 151 pixels.
Width and Height
Gift
Report a typo
Write HTML and CSS code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Gift</title>
</head>
<body>
<main>
<div id="lid">
<div class="left-ribbon">
<div class="left-ribbon-inner">
</div>
</div>
<div class="right-ribbon">
<div class="right-ribbon-inner">
</div>
</div>
</div>
<div class="vertical">
</div>
<div class="horizontal">
</div>
</main>
</body>
</html>
Completed 1 of 3
The <main> element has a height of 150 pixels
The <main> element has a width of 151 pixels
___
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.