Looking for Mistakes [7/14]
Let’s get to know some of the most frequent mistakes in order to avoid them in future.
HTML allows to insert tags into one another, and one of the most common mistakes is incorrect insertion, for example:
<p>Text <strong>is formatted</p> bold</strong>
In this example tag
<p> is closed before tag
<strong>, this is a mistake.
Another type of mistakes happens because of annoying typos and inattention, when spaces between attributes are forgotten or attributes names are spelled wrong.
Thus, coach Muffin decided to update his CV late at night. He wanted to make it neater, to play with the formatting. But his inattention let him down. However, you can practice looking for mistakes and correcting them.
If you get totally lost, there is a hint below. But don’t peek right away!
1. Pay attention to the tags closing order.
2. Are there enough spaces?
3. Check the attributes’ spelling. There aren’t many of them.
Help coach Muffin to correct his mistakes in HTML code of his new CV.
- an extra empty line,
- the lost image,
- the lost quotation formatting.