Save
ICT
Save
Share
Learn
Content
Leaderboard
Learn
Created by
liihe
Visit profile
Cards (20)
CSS
or
Cascading Style Sheets
allows you to
control
the
layout
of your HTML document.
HTML
= define the
page
content,
while CSS
= define the
page
content
and
look
Selector
=
HTML
element
you want to
style
Property
=
style
attribute
you want to
modify
Value=
weight
of the
attributes
you want to
apply
to the
element Property
Capabilities of CSS=
update web pages easily, position objects, layer objects,
and
create custom tags
Advantages of using CSS=
save typing
and
time
,
download faster,
can
add multiple link
tag
3 Kinds of CSS=
External Style Sheets, Embedded Style Sheets, Inline Style Sheets
External Style Sheet
=
global
,
consistent style
,
can easily change layout
Inline Style Sheets
=
isolated changes, override external
and
embedded style sheets
Embedded Style Sheets
= creating
document-wide style rule,
defined by
container tag
<
style
></
style
>
Form
=
gather feedback
, to provide
better service
Area
on the
form
are called=
fields
,
text fields
, or
text boxes.
contains
command
buttons
(
Send
/
Reset
)
contains
standard
controls
(
radio buttons
,
list boxes
)
Forms
variety of means:
textboxes
password buttons
radio button
check boxes
dropdown menus
text areas
submit button
reset
or
clear buttons
Action
= where the
information
will be
passed
Method
=
way
for
sending
the
information
get method
=
retrieving data
pst method
=
may update or store data
<input
>=used for making
standard controls
which can be
text
,
password
,
checkbox
,
radio
,
submit
and
reset
Soft Word
=
wraps
the
text
only in the
text area
Hard Word
=
wraps
the
text
in the
text area
and after
submitted
Classes
=
different
from other
paragraphs
user-defined
selector
create a
style rule
control
individual
html
tags
selector is
unique
to code
Classes
= defined by
dots
(
.
)