Quick Reference
Basic Tags
Document Type | beginning and end of HTML file | |
Header | descriptive info about the document | |
Style | indicates internal style sheet for CSS | |
| Title | appears in the browser title bar |
Body | contains contents of what will be displayed | |
Span | makes an invisible containter; great for applying CSS to small amounts of text | |
Div | makes an invisible container; great for applying CSS to large amounts of text, images, or anything inside the body tags |
Format Tags
| Line Break | start a new line |
Paragraph | starts a new line and skips a line | |
Non-breaking Space | puts a single blank space | |
| Horizontal Rule | makes a horizontal line |
| Center | centers text, images, etc. on line |
Strong | makes text bold | |
Emphasis | makes text in italics | |
style="text-align: center;">?> | Center | inline style CSS for use with many differnet HTML tags for centering text, images, etc. on a line |
Fonts and Text Styles
Font Size | changes font size, ranging from 1-7 | |
Font Face | changes text style, use face name | |
Font Color | changes text color, use color name or color code | |
Font Size CSS | inline style for changing font size; use px, em, or word values | |
Font Face CSS | inline style for changing text style; use face name | |
Font Color CSS | inline style for chaning font color; use color code |
Links and Images
makes a link to another page, use URL or filename | |
places an image on the page, use filename | |
change dimensions of Image | |
use between head tags when using an external style sheet for CSS |
Background
Changes color of background, use color code | |
Uses image for background, use filename | |
inline style CSS for changing color of background, use color code |
This resource originally created by Deborah Dunk.
Revised and edited by Michael Galloway in 2005 & in 2006.