Aside content is reserved for sidebar content that is dependent on content in an article or section of an article. The <aside>
element is not intended, for example, to serve as a container for navigation content (navigation content is supposed to be identified by, and wrapped in the <nav>
element discussed earlier).
Given that aside content is generally formatted as a sidebar, there is a particular style generally associated with the use of <aside>
elements: Float.
The CSS Float attribute moves a container to the left (Float:left
) or right (Float:right
) of other content, and flows other content around the container.
Note
Defining CSS Attributes: In Chapter 3 of this book, we explored the routine for defining CSS styles that apply to HTML5 elements and other tags in some depth. Therefore, in this chapter, we will simply note CSS attributes that are assigned to HTML5 elements without walking through the steps to implement those attributes. The short version...