0
0
HTMLmarkup~10 mins

What is an HTML element - Interactive Quiz & Practice

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

Complete the code to create a paragraph element in HTML.

HTML
<[1]>This is a paragraph.</[1]>
Drag options to blanks, or click blank then click option'
Adiv
Bp
Cspan
Dheader
Attempts:
3 left
💡 Hint
Common Mistakes
Using
instead of

for paragraphs.

Using which is inline, not block.
2fill in blank
medium

Complete the code to create a heading element in HTML.

HTML
<[1]>Welcome to my website</[1]>
Drag options to blanks, or click blank then click option'
Ah4
Bh3
Ch1
Dh6
Attempts:
3 left
💡 Hint
Common Mistakes
Using smaller heading tags like h3 or h6 for main titles.
Confusing heading tags with paragraph tags.
3fill in blank
hard

Fix the error in the HTML element by completing the closing tag correctly.

HTML
<div>This is a container[1]
Drag options to blanks, or click blank then click option'
A</div>
B<span>
C</span>
D<div>
Attempts:
3 left
💡 Hint
Common Mistakes
Using opening tags instead of closing tags.
Using a different tag name in the closing tag.
4fill in blank
hard

Fill both blanks to create a link element with the correct opening and closing tags.

HTML
<[1] href="https://example.com">Visit Example[2]
Drag options to blanks, or click blank then click option'
Aa
Blink
C</a>
D</link>
Attempts:
3 left
💡 Hint
Common Mistakes
Using which is for stylesheets, not links.
Forgetting to close the tag.
5fill in blank
hard

Fill all three blanks to create an image element with alt text and a source URL.

HTML
<[1] src="[2]" alt="[3]">
Drag options to blanks, or click blank then click option'
Aimg
Bhttps://example.com/image.jpg
CA descriptive text
Dimage
Attempts:
3 left
💡 Hint
Common Mistakes
Using instead of .
Forgetting the alt attribute for accessibility.