Summary 2

Stylin' with CSS

Why HTML

The reason for explaining HTML is a CSS book is because CSS is the styling of an HTML markup. Whenever you create a web page, it begins as HTML, because the HTML markup of the page content is your first step when creating a page. It is similar to making an outline for a paper, then adding in filler words to make the essay sound better. The HTML is the outline, and the CSS is the filler/beautification.

Tags

There are 114 different HTML tags, each of which start and end with a system of wedges. Within tags there are enclosing and non-enclosing. Enclosing tags start with the less than symbol, then the tag name, then a greater than symbol (Ex: ) then ends with the same series of wedges and tag name but with a slash added (Ex: ). Non-enclosed tags are those that just have the first example’s format (no end tag with the slash).

HTML Anatomy

HTML works in a specific order. Think of it as working from outside in and top to bottom. First (and last, because tags go on both ends and the whole thing is html, so your end tag should be after everything else) is your html. Next is your head, this is different than a header, think of it as where you label your page. After you end your head you move into body, where you can choose to put more tags inside of when creating your webpage (like header, main, and footer).