Assignments
Learning Report #5:
Change Font Style and Size
What I have Learned:
In order to change the font style, color, and size in a paragraph,
you must use the "syle" attribute within the opening tag of the paragraph.
The style attribute is a new HTML attribute. It introduces CSS to HTML.
The purpose of the style attribure is to provide a common way to style all
HTML elements.
With HTML styles, styles can be addes to HTML elements
directly by using the style attribute, or indirectly in seperate style sheets
(within CSS files).
There are 4 different style changes that can be made:
- style = "background-color: blue"
- style = "font-size: 10px"
- style = "font-family: Times"
- style = "text-align: center"
Information from: http://www.w3schools.com/Html/html_styles.asp
Why Important:
When I was developing my style guide for CaseySchumacher.com, and was
trying to think of what font style, size, and color I wanted for each
section of my site; I realized that I didn't know how to make these changes
and will need and want to know how to make these changes.
Now I know how to change the font style, size, and color for each
seperate paragraph if I wanted to.
Implication:
This text is White, the background color is RED. The font style is Times, and the size in 20px.
This text is blue, Arial, and the size is 30 pixels.
This text is Red, with Blue background. The font style is Stencil, and is 40 pixels high!
Assignments Page