Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
MEANING
CSS presentation
FORMATTING
CSS (Cascading Style
Sheet)
It is used for styling
HTML elements so
that the web page is
given a creative
visual look.
CSS allows you to
create rules that
control the way that
each individual (and
the contents of that
box) is presented.
HOW CSS WORKS:
It is called cascading because
whatever characteristics an upper
level element has is cascaded or
passed on to the lower level
elements.
For example, if the <body>
element was defined as having
an Arial font, then all elements
inside the <body> elements
display text in Arial.
In this example,
All About Public Speaking block level elements
are shown with red
borders, and inline
Public speaking is the process of elements have blue
borders.
communicating information to an The <body>
element creates
audience. It is usually done before a the first box, then
the <h1>, <p> and
large audience, like in school, the <i> elements each
create their own
workplace and even in our personal boxes within it.
property values
This rule indicates that all <h1>, <h2>, and <h3>
should be shown in the Arial typeface, in a yellow
color.
Properties indicate the aspects of the element you
want to change. For example color, font, width,
height and border.
Values specify the settings you want to use for the
chosen properties. For example, if you want to
specify a color property then the value is the color
you want for the text in these elements.
WHERE TO WRITE CSS
In-line Style Sheet contains CSS
commends embedded or placed
inside HTML tags.
Internal CSS is written in the
<head> section as a <style> element.