HTML/CSS Guide

Common HTML Tags

index.hmtl
Tag Definition Examples Notes
!DOCTYPE html> so browers know this is an html file N/A
html lang=""> to tell the browser what the default language is html lang="en">
meta charset="UTF-8"> to tell browers what "language" it is so it can translate human language N/A
title> /title> to add a title to the page located on the tab title> text /title>
style> element text> section internal css >style> element in the head> section
font-family changes the font of the text style> font-family: "Trebuchet MS"; /style> *note, to use font famliy you have to use the style tag
link rel=\"stylesheet\" href=.css> external css link rel=\"stylesheet\" href=something.css
favicon the tiny little image on the tab link rel="icon" type="image/x-icon" href="favicon.ico"