Is there any authoritative information on the web concerning which HTML element to chose for an advertisement banner?
I considered <article> or <aside>, but I think more appropriate is simply: <div class="ad">
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In most cases I’d use the
asideelement:As the
asideelement is a sectioning element, it creates an entry in the document outline, even if you don’t use a heading explicitly. In most cases this would be what you want.If you don’t host the ad yourself, you might want to include it in
iframe:(Where appropriate use the
sandboxattribute for security.)So, a simple blog post page could be structured like:
The page has the following outline: