Css Cheatsheet
Css Cheatsheet
NEED TO KNOW
(FOR NOW)
<header> Often used for the logo and navigation area on a page, but can also be used
within other elements (such as an article), to denote the heading for that
section of content.
<main> The main content of your page (only one per page).
<article> A piece of content on your page that can stand on it's own.
kevinpowell.co
THE ONLY TAGS YOU
NEED TO KNOW
(FOR NOW)
<p> Paragraph
Strong importance
(bold by default)
<strong>
This is an inline element, used inside of paragraphs and headings to put more
importance on some of the text
Emphasis
(italic by default)
<em>
This is an inline element, used inside of paragraphs and headings to put
emphasis on certain words within the text
Anchor
List item
<li>
Used inside of <ul> and <ol> elements
Similar to <strong> and <em> but with no default styling and no semantic
<span> meaning. You would use CSS to style it how you want.
An image
<img>
Must have an alt attribute, which describes the image, you can read more here.
kevinpowell.co