Level 16
Level 17

[No Typing] Basics: Styles


14 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
<style></style>
internal style sheets must go between which tags
the style tag is...
... used to "describe" something specific about a tag, for lack of a better word/definition (e.g. <body style="background-color:blue;"> creates a blue background).
default style 
Every HTML element has a _______
style attribute
Changing the default style of an HTML element, can be done with the _______
Attributes
Parts of tags that control the behavior and appearance of elements on a page
style="property:value"
The HTML style attribute has the following syntax
attribute="property:value"
Syntax for an attribute
color property
used with the style attribute to change font color.
font-family property
used with the style attribute to change the font family.
<element style="font-family:bodoni">message</element>
Change the font to be used for an element to "bodoni"
font-size property
used with the style attribute to change the font size.
<element style="font-size:10px">message</element>
font-size property, value 10px
the text-align property
defines the horizontal text alignment for an HTML element
text-align example
<p1 style="text-align:center"> Your Easy paragraph </p1>
Level 18