This is my reading notes for Code Fellows.
Links are the defining feature of the web because they allow you to move from one web page to another — enabling the very idea of browsing or surfing.
Links are created using the element. Users can click on anything between the opening tag and the closing tag. You specify which page you want to link to using the href attribute.
In this chapter we are going to look at how to control where each element sits on a page and how to create attractive page layouts.
CSS treats each HTML element as if it is in its own box. This box will either be a block-level box or an inline box. Block-level boxes start on a new line and act as the main building blocks of any layout, while inline boxes flow between surrounding text. You can control how much space each box takes up by setting the width of the boxes (and sometimes the height, too). To separate boxes, you can use borders, margins, padding, and background colors.