Identify the correct format for inserting an aside element within an article element.
a. | <article>
… <aside>…</aside> … </article> |
|
b. | <article/>
… <aside/> |
|
c. | <article> <article/>
… <aside>…</aside> … <article> </article> |
|
d. | <article>
… { aside; } … </article> |
The _____ HTML5 semantic element contains information about nearby content and is typically displayed as a sidebar.
a. |
<contents> … </contents> |
|
b. |
<details> … </details> |
|
c. |
<aside> … </aside> |
|
d. |
<summary> … </summary> |
Identify the style rule for an h1 element to center-align its content.
a. | h1 {
<text-align>: center; } |
|
b. | h1 {
text-align: <center/>; } |
|
c. | h1 {
<text-align/> <center/>; } |
|
d. | h1 {
text-align: center; } |
Question 1: the correct format for inserting an aside element within an article element is <article> … <aside>…</aside> … </article> Answer: Option a Question 2: The <aside> … </aside> HTML5 semantic element contains information about nearby content and is typically displayed as a sidebar. Answer: <aside> … </aside> Question 3: the style rule for an h1 element to center-align its content. h1 { text-align: center; } Answer: Option d
Get Answers For Free
Most questions answered within 1 hours.