0
0
HTMLmarkup~10 mins

Avoiding deprecated tags 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 add a semantic header section.

HTML
<[1]>
  <h1>Welcome to my website</h1>
</[2]>
Drag options to blanks, or click blank then click option'
Aheader
Bcenter
Cfont
Ddiv
Attempts:
3 left
šŸ’” Hint
Common Mistakes
Using
or tags which are deprecated.
Using
without semantic meaning.
2fill in blank
medium

Complete the code to emphasize text semantically.

HTML
<p>This is an <[1]>important</[2]> message.</p>
Drag options to blanks, or click blank then click option'
Ab
Bstrong
Cfont
Di
Attempts:
3 left
šŸ’” Hint
Common Mistakes
Using which is only for styling.
Using which is deprecated.
3fill in blank
hard

Fix the error in the code by replacing the deprecated tag with an appropriate alternative.

HTML
<[1] align="center">This text is centered.</[2]>
Drag options to blanks, or click blank then click option'
Adiv
Bcenter
Csection
Darticle
Attempts:
3 left
šŸ’” Hint
Common Mistakes
Keeping the
tag which is deprecated.
Using semantic tags that don't fit the content purpose.
4fill in blank
hard

Fill both blanks to replace deprecated tags with semantic HTML5 tags.

HTML
<[1]>
  <[2]>This is the main navigation menu.</[2]>
</[1]>
Drag options to blanks, or click blank then click option'
Anav
Bmenu
Cul
Dheader
Attempts:
3 left
šŸ’” Hint
Common Mistakes
Using which is deprecated.
Using
    alone without semantic navigation.
5fill in blank
hard

Fill all three blanks to replace deprecated tags with semantic alternatives and proper structure.

HTML
<[1]>
  <[2]>Contact us at <a href="mailto:info@example.com">info@example.com</a></[2]>
  <[3]>Ā© 2024 Company Name</[3]>
</[1]>
Drag options to blanks, or click blank then click option'
Afooter
Baddress
Csmall
Dsection
Attempts:
3 left
šŸ’” Hint
Common Mistakes
Using
instead of
.
Using

instead of

for contact info.
Using or
tags.