ICT Q2 L1-L4 Flashcards
Indicates the typeface.
font-family
Indicates if the text is written in italics, obliquely, or normal
font-style
Indicates the thickness of the characters
font-weight
Indicates the size of the text.
font-size
Is used to do small-caps within a text
element.
font-variant
Indicates the alignment.
text-align
Indicates the decoration applied.
text-decoration
Indicates the case of the text.
text-transform
Indicates the line spacing taken up by each line.
line-height
Indents the first line of each paragraph
text-indent
link your html with css
<link rel=”stylescheet” href=”cssname.css” type=text/css”>
THE ________ IS ESSENTIALLY A ___ THAT WRAPS AROUND
EVERY HTML ELEMENT
box model
*THE BOX MODEL CONSISTS OF
MARGINS
*BORDERS
*PADDING
*AND THE ACTUAL CONTENT
TEXT AND IMAGES APPEAR
Content
CLEARS AN AREA AROUND THE CONTENT
PADDING
GOES AROUND THE PADDING AND
CONTENT.
Border
CLEARS AN AREA OUTSIDE THE BORDER.
MARGIN
WILL ALLOW YOU TO CONTROL WHERE A SPECIFIED
BLOCK ELEMENT WILL BE LOCATED OR PLACED ON THE PAGE AND
WHERE THE OTHER ELEMENTS WILL BE POSITIONED IN RELATION TO
THE SAID BLOCK.
Float
Set color to a
specific value (bg)
Background-color
Set the background
to the image
selected by the URL (bg)
Background-image
Repeats background
(default)
Background-repeat: