Jan 29, 2009

Terms for class tonight 1.29.09

in word format: glossary.doc

HTML:

Contains all the code in an html file.
HEAD:
All tags with the …. are not displayed on the page.
It is used for other elements to build the webpage.
BODY:
Your html code here is displayed. All of your content resides with the ... .

HTML TAGS:
div: Container of code that you can style.

a: anchor –Tag you would use for a link.
p: paragraph – Tag for new paragraphs.


span: Tag for editing text inside a paragraph (or out) without modifying the text outside of it.
br: break – Tag used to ‘break’ a line.

: non-breaking space.
img: image tag, used for placing images:
H1, H2, H3: head tages. makes good header text.

HTML ATTRIBUTES:
src: used to give a source of a tag.
href: used to give the source of an anchor tag
id: the id of a tag, used to reference in CSS and JavaScript
class: the class of a tag, used to reference in CSS and JavaScript

CSS:

font-size: size of a font – font-size: 12px;
font-family: family of a font – font-family: Georgia ;
text-align: where to float your text – text-align: center ;
width: width of a given element – width: 800px; *
height: height of a given element – height: 600px; *
margin: the spacing around a given element – margin: 10px;
background: background of an element – background: #FFF;
border: sets a border on a given element – border: 1px solid #000;
padding: space between the edge of an element and its contents – padding: 10px; *

* padding increases the elements size. For example, if an element has

#element {
Width: 200px;
Height: 200px;
Padding: 10px;
}
The element is actually 220px height and 220px of width.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home