Which tag should you use?

You are modifying a website. The body of the page will be divided into two sections:

• A content section will contain blog posts and comments.

• An area on the right-hand side will contain advertisements.

The page is defined by the following HTML.

The site must conform to HTML5 standards and must use HTML5 semantic tags.

You need to ensure that the advertisements are on the rightmost section of the page.

Which tag should you use?
A . <aside>
B . <div>
C . <article>
D . <footer>

Answer: A

Explanation:

The <aside> tag defines some content aside from the content it is placed in.

The aside content should be related to the surrounding content.

aside is now acceptable for secondary content when not nested within an article element.

Reference: HTML <aside> Tag

Latest 70-480 Dumps Valid Version with 288 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments