Assessment wanted for Marking up a letter3

Hello!
Please check my solution:
codepen

From Marking up a letter.

And i have a question:
What a semantic different beetwen:

  1. <address><p>My address</p></address>

  2. <address>My address</address>

In a lesson about text formatting author use first example with p tag:
adressexample

Is it about SEO or something else?

Hi @VladimirK and welcome to the community :wave:

Congratulations! Very well done :medal_sports:
The only tiny mistake I could find was a repetition of the link text outside the link:

<p>You can find more information about
  <a href="http://example.com" title="List of important university date">
    important university dates <!-- here ... -->
  </a>
  important university dates on our website. <!-- ... and here -->
</p>

Otherwise the task was perfectly fulfilled :tada:

Regarding your question:
I really don’t see a reason for using <p> inside <address> in this example. On the English site there is another example where it makes kind of sense:

<address>
  <p>
    Chris Mills<br>
    Manchester<br>
    The Grim North<br>
    UK
  </p>

  <ul>
    <li>Tel: 01234 567 890</li>
    <li>Email: me@grim-north.co.uk</li>
  </ul>
</address>

Here the lines of the address itself are grouped together with the <p> tag and phone/email are grouped with an <ul>. The solution code for the “Marking up a letter” task doesn’t have a <p> tag either.

Have a nice day and keep up the great work!
Michael

1 Like