element
attribute
6
<h1></h1>
<p></p>
a
href
<a href="www.google.com">Google</a>
img
src
<img src="cat.jpg">
ul
li
html element
body
doctype
<!DOCTYPE html>
div
rules
css
h1 {color: red;}
selector
selector
property, value
selector, property, value
.name
classes and element names
color
rgb, hexidecimal
255
255
rgb(1,2,3)
ff
ff
#
font-family
Arial, Helvetica, sans-serif
"Times New Roman", Times, serif
"Courrier New", Courier, monospace
font-size
pixels, ems, rems
background-color
background-image
border
padding