SlideShare ist ein Scribd-Unternehmen logo
1 von 3
Downloaden Sie, um offline zu lesen
Using CSS
Create a n
1. Ty
Heading 1
Heading2
Paragraph
Link [pres
Class align
Class colo
ID yellowB
2. C
3. In
4. C
5. C
6. G
7. In
8. C
9. C
10. H
11. G
12. In
13. C
14. H
S for design  
new html pag
ype  
1 [press enter
 [press enter]
h [press enter
ss enter] 
n_center [pre
or_red [press 
Bold [save file
lick CSS new 
n the dialog b
a. Selecto
b. Selecto
c. Rule D
new  S
d. File na
ategory  Ty
a. Font‐f
b. Font‐s
c. Font‐w
d. Color =
lick the type 
o to CSS new
n the dialog b
a. Selecto
b. Selecto
c. Rule D
File na
ategory  Ty
a. Font‐f
b. Font‐s
c. Color =
lick the type 
ighlight Parag
o to new CSS
n the dialog b
a. Selecto
b. Selecto
c. Rule D
File na
ategory  Ty
a. Font‐f
b. Font‐s
c. Color =
ighlight link  
a. Create
ge – save as st
r] 
] 
r] 
ess enter] 
enter] 
e] 
rule  
ox 
or type: Tag 
or name: H1 
Definition: 
Style Sheet Fil
ame: myStyleS
ype 
amily : Times
ize :  36 px 
weight : Bold 
= #F60 
“Heading 1” a
w rule 
ox 
or type: Tag 
or name: H2 
Definition: 
ame: myStyleS
ype 
amily : Comic
ize :16 px 
= #CF0 
“Heading 2” a
graph 
S rule  
ox 
or type: Tag 
or name: P (s
Definition: 
ame: myStyleS
ype 
amily : Arial, 
ize :12 px 
= #333 
e a link to abo
tyles.html (th
le 
Sheet.css 
s New Roman
and apply H1
Sheet.css 
c SansMS, cur
and apply H2
should be sele
Sheet.css 
Helvetica, san
out_me.html
his is the page
, Times, serif
 formatting fr
rsive 
 formatting fr
ected because
ns_serif 
e where we w
rom the prop
rom the prop
e we are in a 
will test our st
perty window
perty window
<P> tag alrea
tyles) 
w 
w 
ady 
Using CSS for design  
b. Go to page properties 
i. Link color: #090 
ii. Rollover link color: #C60 
iii. Visited link color: #CCC 
iv. Active link color: #FCO 
c. Click CSS style – you now have  >myStyleSheet.css and > <style> 
d. Open <style> 
i. Right click on a:link 
ii. Move CSS rule 
iii. Move to External Style Sheet 
iv. Choose Style Sheet myStyleSheet.css 
v. Repeat for the rest of the link style – KEEP them in the order they appear or 
they will not work correctly 
15. Click on new CSS rule 
16. In the dialog box 
a. Selector type: class 
b. Selector name: align_center 
c. Rule Definition: 
File name: myStyleSheet.css 
17. Category  Type 
a. Font‐family : Arial, Helvetica, sans_serif 
b. Font‐size :12 px 
c. Color = #333 
18. Category Block 
a. Text‐align : center 
b. Click ok 
19. Apply class align_center to the line “class align_center 
20. Click new CSS Rule 
21. In the dialog box 
a. Selector type: class 
b. Selector name: color_red 
c. Rule Definition: 
File name: myStyleSheet.css 
22. Category  Type 
a. Color = #F00 
23. Highlight “class color_red“ 
a. Apply class color_red 
24. Click new CSS Rule 
25. In the dialog box 
a. Selector type: ID 
b. Selector name:  #yellowBold 
c. Rule Definition: 
File name: myStyleSheet.css 
26. Category  Type 
a. Font‐weight : Bold 
b. Color = #FC0 
27. Highlight “Id yellowBold” 
We could skip this as 
it is in a paragraph. 
We skipped the font information so 
we can apply this to any tag. 
This code will only be applied to the 
id named yellowBold 
Using CSS
Save ALL 
28. C
29. A
30. N
Here 
31. In
32. C
33. C
34. C
35. C
Take a loo
what colo
36. O
37. O
38. U
 
S for design  
a. In the 
the co
reate a new p
ttach a style 
a. Brows
b. Add as
ow type a pa
a. H1 for
b. H2 for
c. Create
d. Create
e. Create
is why we use
n the CSS win
lick the penci
hange the co
lick on yellow
hange the co
ok at both pag
or you were u
On your style p
On the homew
pload to the 
property win
de will look li
page – file na
sheet  
e to find myS
s link 
age about you
r the title 
r a subtitle 
e some red te
e a paragraph
e a link back t
e CSS 
dow click on 
il to edit 
lor to #960 
wBold  
lor to #360 
ges your style
sing again.  
page create a
work page cre
server (if app
ndow where I
ike <p id=”ye
me “about_m
StyleSheet.css
u using  
ext by highligh
h that uses the
o the style pa
p  
es have chang
a link to your 
eate a link to y
propriate for y
D is none typ
llowBold”>ID
me.html” 
s 
hting the text
e id yellowBo
age 
ged on both p
homework pa
your style.htm
your situation
pe yellowBold
D yellowBold<
t and applying
old 
pages. You no
age 
ml page 
n) 
d 
</p> 
g the red clas
o longer have
s 
e to remembeer 

Weitere ähnliche Inhalte

Mehr von robertbenard

Accessing data within VB Applications
Accessing data within VB ApplicationsAccessing data within VB Applications
Accessing data within VB Applicationsrobertbenard
 
Advanced VB: Object Oriented Programming - Controls
Advanced VB: Object Oriented Programming - ControlsAdvanced VB: Object Oriented Programming - Controls
Advanced VB: Object Oriented Programming - Controlsrobertbenard
 
Advanced VB: Review of the basics
Advanced VB: Review of the basicsAdvanced VB: Review of the basics
Advanced VB: Review of the basicsrobertbenard
 
Performance Assessment Task
Performance Assessment TaskPerformance Assessment Task
Performance Assessment Taskrobertbenard
 
Lists, formatting, and images
Lists, formatting, and imagesLists, formatting, and images
Lists, formatting, and imagesrobertbenard
 
Capturing Screen Prints
Capturing Screen PrintsCapturing Screen Prints
Capturing Screen Printsrobertbenard
 

Mehr von robertbenard (16)

Xampe
XampeXampe
Xampe
 
Accessing data within VB Applications
Accessing data within VB ApplicationsAccessing data within VB Applications
Accessing data within VB Applications
 
Advanced VB: Object Oriented Programming - Controls
Advanced VB: Object Oriented Programming - ControlsAdvanced VB: Object Oriented Programming - Controls
Advanced VB: Object Oriented Programming - Controls
 
Advanced VB: Review of the basics
Advanced VB: Review of the basicsAdvanced VB: Review of the basics
Advanced VB: Review of the basics
 
Copyright Basics
Copyright BasicsCopyright Basics
Copyright Basics
 
Performance Assessment Task
Performance Assessment TaskPerformance Assessment Task
Performance Assessment Task
 
WIDS Jeopardy
WIDS JeopardyWIDS Jeopardy
WIDS Jeopardy
 
Wids Model
Wids ModelWids Model
Wids Model
 
Lesson 2
Lesson 2Lesson 2
Lesson 2
 
Lists, formatting, and images
Lists, formatting, and imagesLists, formatting, and images
Lists, formatting, and images
 
Lesson 5
Lesson 5Lesson 5
Lesson 5
 
Lesson 4
Lesson 4Lesson 4
Lesson 4
 
Lesson 3
Lesson 3Lesson 3
Lesson 3
 
Lesson 1
Lesson 1Lesson 1
Lesson 1
 
Lesson 1
Lesson 1Lesson 1
Lesson 1
 
Capturing Screen Prints
Capturing Screen PrintsCapturing Screen Prints
Capturing Screen Prints
 

Kürzlich hochgeladen

Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 

Kürzlich hochgeladen (20)

Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 

CSS Styles Tutorial: 40 Ways to Customize Text Formatting

  • 1. Using CSS Create a n 1. Ty Heading 1 Heading2 Paragraph Link [pres Class align Class colo ID yellowB 2. C 3. In 4. C 5. C 6. G 7. In 8. C 9. C 10. H 11. G 12. In 13. C 14. H S for design   new html pag ype   1 [press enter  [press enter] h [press enter ss enter]  n_center [pre or_red [press  Bold [save file lick CSS new  n the dialog b a. Selecto b. Selecto c. Rule D new  S d. File na ategory  Ty a. Font‐f b. Font‐s c. Font‐w d. Color = lick the type  o to CSS new n the dialog b a. Selecto b. Selecto c. Rule D File na ategory  Ty a. Font‐f b. Font‐s c. Color = lick the type  ighlight Parag o to new CSS n the dialog b a. Selecto b. Selecto c. Rule D File na ategory  Ty a. Font‐f b. Font‐s c. Color = ighlight link   a. Create ge – save as st r]  ]  r]  ess enter]  enter]  e]  rule   ox  or type: Tag  or name: H1  Definition:  Style Sheet Fil ame: myStyleS ype  amily : Times ize :  36 px  weight : Bold  = #F60  “Heading 1” a w rule  ox  or type: Tag  or name: H2  Definition:  ame: myStyleS ype  amily : Comic ize :16 px  = #CF0  “Heading 2” a graph  S rule   ox  or type: Tag  or name: P (s Definition:  ame: myStyleS ype  amily : Arial,  ize :12 px  = #333  e a link to abo tyles.html (th le  Sheet.css  s New Roman and apply H1 Sheet.css  c SansMS, cur and apply H2 should be sele Sheet.css  Helvetica, san out_me.html his is the page , Times, serif  formatting fr rsive   formatting fr ected because ns_serif  e where we w rom the prop rom the prop e we are in a  will test our st perty window perty window <P> tag alrea tyles)  w  w  ady 
  • 2. Using CSS for design   b. Go to page properties  i. Link color: #090  ii. Rollover link color: #C60  iii. Visited link color: #CCC  iv. Active link color: #FCO  c. Click CSS style – you now have  >myStyleSheet.css and > <style>  d. Open <style>  i. Right click on a:link  ii. Move CSS rule  iii. Move to External Style Sheet  iv. Choose Style Sheet myStyleSheet.css  v. Repeat for the rest of the link style – KEEP them in the order they appear or  they will not work correctly  15. Click on new CSS rule  16. In the dialog box  a. Selector type: class  b. Selector name: align_center  c. Rule Definition:  File name: myStyleSheet.css  17. Category  Type  a. Font‐family : Arial, Helvetica, sans_serif  b. Font‐size :12 px  c. Color = #333  18. Category Block  a. Text‐align : center  b. Click ok  19. Apply class align_center to the line “class align_center  20. Click new CSS Rule  21. In the dialog box  a. Selector type: class  b. Selector name: color_red  c. Rule Definition:  File name: myStyleSheet.css  22. Category  Type  a. Color = #F00  23. Highlight “class color_red“  a. Apply class color_red  24. Click new CSS Rule  25. In the dialog box  a. Selector type: ID  b. Selector name:  #yellowBold  c. Rule Definition:  File name: myStyleSheet.css  26. Category  Type  a. Font‐weight : Bold  b. Color = #FC0  27. Highlight “Id yellowBold”  We could skip this as  it is in a paragraph.  We skipped the font information so  we can apply this to any tag.  This code will only be applied to the  id named yellowBold 
  • 3. Using CSS Save ALL  28. C 29. A 30. N Here  31. In 32. C 33. C 34. C 35. C Take a loo what colo 36. O 37. O 38. U   S for design   a. In the  the co reate a new p ttach a style  a. Brows b. Add as ow type a pa a. H1 for b. H2 for c. Create d. Create e. Create is why we use n the CSS win lick the penci hange the co lick on yellow hange the co ok at both pag or you were u On your style p On the homew pload to the  property win de will look li page – file na sheet   e to find myS s link  age about you r the title  r a subtitle  e some red te e a paragraph e a link back t e CSS  dow click on  il to edit  lor to #960  wBold   lor to #360  ges your style sing again.   page create a work page cre server (if app ndow where I ike <p id=”ye me “about_m StyleSheet.css u using   ext by highligh h that uses the o the style pa p   es have chang a link to your  eate a link to y propriate for y D is none typ llowBold”>ID me.html”  s  hting the text e id yellowBo age  ged on both p homework pa your style.htm your situation pe yellowBold D yellowBold< t and applying old  pages. You no age  ml page  n)  d  </p>  g the red clas o longer have s  e to remembeer