Complete the code to create a heading with Bootstrap's largest heading style.
<h[1] class="display-1">Welcome to Bootstrap</h[1]>
h4 with display-1 can cause inconsistent sizes.The display-1 class is used with an <h1> tag to create the largest Bootstrap heading style.
Complete the code to create a medium-sized Bootstrap display heading.
<h[1] class="display-4">Hello, Bootstrap!</h[1]>
h5 with display-4.The display-4 class is typically used with an <h3> tag for a medium-sized display heading.
Fix the error in the code to properly display a Bootstrap heading with class display-3.
<h[1] class="display-3">Bootstrap Heading</h2>
The opening and closing heading tags must match. Since the closing tag is </h2>, the opening tag should be <h2>. But to use display-3, the correct heading tag is <h3> and the closing tag should also be </h3>. Here, fixing the opening tag to h3 is the first step.
Fill both blanks to create a Bootstrap heading with class display-2 and correct closing tag.
<h[1] class="display-2">Big Heading</h[2]>
The heading tag should be h2 to match the display-2 class. Both the opening and closing tags must be h2.
Fill all three blanks to create a Bootstrap heading with class display-5, correct tag, and closing tag.
<h[1] class="display-5">Small Heading</h[2]><!-- Add a comment here --> <!-- This is a [3] -->
The heading tag should be h5 to match the display-5 class. The closing tag number must match the opening tag number. The comment describes the element as a 'heading'.