Hello everybody
I just finished the task for Marking up a letter and I would like it to be assesed.
This is the assignment.
And this is what I did.
I have a question about the structure: If I have a <main> element and this contains a subsection represented by <article>, and it remains a paragraph, which has nothing to do with the context of the article then that paragraph can remains outside the element <article> without being placed in any other subsection ? Or that paragraph have to be in a <div> or <section>?
This can help you:
<main>
<article>
Various paragraphs
</article>
<p> This paragraph have nothing to do with others paragraphs. </p>
</main>>
The second question is about the attribute <class>:
If I put this attribute at <date> (<date class=“sender-column” datetime=“01/20/2016”>), why is it not styled?
And if I put at the paragraph where is it (<p class=“sender-column”> <date datetime=“01/20/2016”>), it’s working?
–>I want to specify that I styled it with css as can be seen in the link.
.sender-column {
text-align:right;
}
That's all!
Thanks for this guide and the chance to get a feedback! It helps me very much!