0
0
HTMLmarkup~10 mins

Block-level elements in HTML - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a block-level heading.

HTML
<[1]>Welcome to my website</[1]>
Drag options to blanks, or click blank then click option'
Ah1
Bimg
Ca
Dspan
Attempts:
3 left
💡 Hint
Common Mistakes
Using inline elements like span or a for headings.
2fill in blank
medium

Complete the code to create a paragraph block.

HTML
<[1]>This is a paragraph of text.</[1]>
Drag options to blanks, or click blank then click option'
Adiv
Bimg
Cstrong
Dp
Attempts:
3 left
💡 Hint
Common Mistakes
Using inline tags like strong or img for paragraphs.
3fill in blank
hard

Fix the error in the code to properly create a block-level section.

HTML
<[1]> <h2>About Us</h2> <p>We build websites.</p> </[1]>
Drag options to blanks, or click blank then click option'
Aa
Bsection
Cspan
Dimg
Attempts:
3 left
💡 Hint
Common Mistakes
Using inline elements like span which do not group blocks.
4fill in blank
hard

Fill both blanks to create a block-level container with a heading.

HTML
<[1]> <[2]>Contact Us</[2]> </[1]>
Drag options to blanks, or click blank then click option'
Adiv
Bspan
Ch3
Da
Attempts:
3 left
💡 Hint
Common Mistakes
Using inline tags like span or a for block containers or headings.
5fill in blank
hard

Fill all three blanks to create a block-level article with a heading and paragraph.

HTML
<[1]> <[2]>Our Story</[2]> <[3]>We started in 2020.</[3]> </[1]>
Drag options to blanks, or click blank then click option'
Aarticle
Bh2
Cp
Dspan
Attempts:
3 left
💡 Hint
Common Mistakes
Using inline tags like span instead of block-level tags.