SlideShare a Scribd company logo
1 of 17
Introduction to CSS Fonts, Texts
and Colors - Lesson 7
Publisher : Attitude Academy
What is
Fonts CSSIn this Topic you will learn about fonts and how they are applied using
CSS. We will also look at how to work around the issue that specific fon
chosen for a website can only be seen if the font is installed on the PC
used to access the website. The following CSS properties will be
described:
• font-family
• font-size
• font-style
• font-variant
• font-weight
• font
FONTS
The Fonts-Family
You can set what font will be displayed in an element with the font-
family property.
There are 2 choices for values:
• family-name
• generic family
If you set a family name it is best to also add the generic family at the
end. As this is a prioritized list. So if the user does not have the specifi
font name it will use the same generic family. (see below)
<div style="Font-family: Arial, veranda;">This font show arial
property</div>
<div style="Font-family: Arial, veranda;">This font show arial
property</div>
Example Here:
Font-family: Arial,verdana;Font-family: Arial,verdana;
The Fonts-Size
You can set the size of the text used in an element by using the font-
size property.
There are a lot of choices for values:
• xx-large
• x-large
• larger
• large
• medium
• % (percent)
If you set a family name it is best to also add the generic family at
the end. As this is a prioritized list. So if the user does not have the
specified font name it will use the same generic family. (see below)
• small
• smaller
• x-small
• xx-small
• length
Font-size: 20px;Font-size: 20px;
Example Here:
FONTS
The Fonts-style
You can set the style of text in a element with the font-style
property
There are three of choices for values:
• normal
• Italic
• oblique
Font-style: Italic;Font-style: Italic;
FONTS
The Fonts-Variant
You can set the variant of text within an element with the font-
variant property
There are two of choices for values:
• normal
• small-caps
Font-Variant: value;Font-Variant: value;
FONTS
The Fonts-Weight
You can control the weight of text in an element with the font-
weight property:
There are a lot of choices for values:
• lighter
• normal
• 100
• 200
• 300
• 400
• 500
• 600
• 700
• 800
• 900
• bold
• bolder
Font-Weight: value;Font-Weight: value;
FONTS
The Text Css
In this Topic you will learn about Text properties and how they are
applied using CSS. We will also look at how to work around the issue
that specific text properties work for a website .The following CSS
properties will be described:
• Text-align
• Text-decoration
• Text-indent
• Text-transform
• Letter-spacing
• White-space
• Word-space
FONTS
The Text-align Css
The following example demonstrates how to align a text.
There are four choices for values:
• Left
• Right
• Center
• Justify
Text-align:left;Text-align:left;
This is text alignment left This is text alignment
right
This is text alignment Center
This is text alignment left This is text alignment
right
This is text alignment Center
FONTS
The Text-decoration Css
You can decorate <a> Tag property or other property using with this c
There are five choices for values:
• None
• underline
• over line
• Line-through
• blink
<a href="#" style="text-decoration:none;">This Css properties
remove underline from text</a>
<a href="#" style="text-decoration:none;">This Css properties
remove underline from text</a>
FONTS
The Text-Indent Css
You can indent the first line of text in an HTML element with the
following:
There are two choices for values:
• Length
• Percentage
Text-indent:value;Text-indent:value;
FONTS
The Text-Transform Css
The following example demonstrates how to set the cases for a text
There are four choices for values:
• None
• capitalize
• Uppercase
• Lowercase
Text-transform:uppercase;Text-transform:uppercase;
FONTS
The Letter-spacing Css
You can adjust the space between letters in the following manner.
Setting the value to 0, prevents the text from justifying. You can use
negative values.
There are two choices for values:
• normal
• length (how many length give by you)
Letter-spacing:5px ;(or other value you can add)Letter-spacing:5px ;(or other value you can add)
These letters are spaced at 5px.These letters are spaced at 5px.
Example Here:
FONTS
The White Space Css
You can control the whitespace in an HTML element with the followin
There are two choices for values:
• Normal
• Pre
• Nowrap
white-space:5px ;(or other value you can add)white-space:5px ;(or other value you can add)
FONTS
The Word-spacing Css
You can adjust the space between words in the following manner. You
can use negative values.
There are two choices for values:
• normal
• length (how many length give by you)
Word-spacing:5px ;(or other value you can add)Word-spacing:5px ;(or other value you can add)
FONTS
The font or text Color Css
The color property describes the foreground color of an element. For
example, imagine that we want all headlines in a document to be dark
red. The headlines are all marked with the HTML element
There are three choices for add text or font color:
• Color name – example :( red, black…)
• hexadecimal number – example:(#ff0000) (Note: # properties use
add font or text color)
• RGB color code – example:(rgb(255, 0, 0), rgb(0, 0, 0))

More Related Content

What's hot

Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSSLarry King
 
Web Safe Fonts are Dead Series | Part 1: Web Typography Reincarnated
Web Safe Fonts are Dead Series | Part 1: Web Typography ReincarnatedWeb Safe Fonts are Dead Series | Part 1: Web Typography Reincarnated
Web Safe Fonts are Dead Series | Part 1: Web Typography ReincarnatedExtensis
 
Css Founder.com | Cssfounder org
Css Founder.com | Cssfounder orgCss Founder.com | Cssfounder org
Css Founder.com | Cssfounder orgCss Founder
 
Css Complete Notes
Css Complete NotesCss Complete Notes
Css Complete NotesEPAM Systems
 
4. Web Technology CSS Basics-1
4. Web Technology CSS Basics-14. Web Technology CSS Basics-1
4. Web Technology CSS Basics-1Jyoti Yadav
 
Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)Reshmi Rajan
 
Extensis Web Typography Workshop | WebVisions Portland
Extensis Web Typography Workshop | WebVisions PortlandExtensis Web Typography Workshop | WebVisions Portland
Extensis Web Typography Workshop | WebVisions PortlandExtensis
 
2 introduction css
2 introduction css2 introduction css
2 introduction cssJalpesh Vasa
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpcasestudyhelp
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation Salman Memon
 
CSS introduction
CSS introductionCSS introduction
CSS introductionCloudTech 
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Chris Poteet
 

What's hot (20)

Css
CssCss
Css
 
Html
HtmlHtml
Html
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Web Safe Fonts are Dead Series | Part 1: Web Typography Reincarnated
Web Safe Fonts are Dead Series | Part 1: Web Typography ReincarnatedWeb Safe Fonts are Dead Series | Part 1: Web Typography Reincarnated
Web Safe Fonts are Dead Series | Part 1: Web Typography Reincarnated
 
Css lecture notes
Css lecture notesCss lecture notes
Css lecture notes
 
Css Founder.com | Cssfounder org
Css Founder.com | Cssfounder orgCss Founder.com | Cssfounder org
Css Founder.com | Cssfounder org
 
Intro to SASS CSS
Intro to SASS CSSIntro to SASS CSS
Intro to SASS CSS
 
Css Complete Notes
Css Complete NotesCss Complete Notes
Css Complete Notes
 
4. Web Technology CSS Basics-1
4. Web Technology CSS Basics-14. Web Technology CSS Basics-1
4. Web Technology CSS Basics-1
 
Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)
 
Cascading style sheets - CSS
Cascading style sheets - CSSCascading style sheets - CSS
Cascading style sheets - CSS
 
Extensis Web Typography Workshop | WebVisions Portland
Extensis Web Typography Workshop | WebVisions PortlandExtensis Web Typography Workshop | WebVisions Portland
Extensis Web Typography Workshop | WebVisions Portland
 
2 introduction css
2 introduction css2 introduction css
2 introduction css
 
Css
CssCss
Css
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
 
Css
CssCss
Css
 
Basic css
Basic cssBasic css
Basic css
 
Complete Lecture on Css presentation
Complete Lecture on Css presentation Complete Lecture on Css presentation
Complete Lecture on Css presentation
 
CSS introduction
CSS introductionCSS introduction
CSS introduction
 
Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
 

Similar to CSS Fonts, Text Formatting & Colors

Similar to CSS Fonts, Text Formatting & Colors (20)

CSS - Text Properties
CSS - Text PropertiesCSS - Text Properties
CSS - Text Properties
 
Chapter 12: CSS Part 2
Chapter 12: CSS Part 2Chapter 12: CSS Part 2
Chapter 12: CSS Part 2
 
CSS tutorial chapter 2
CSS tutorial chapter 2CSS tutorial chapter 2
CSS tutorial chapter 2
 
Css1 properties
Css1 propertiesCss1 properties
Css1 properties
 
Week11 Lecture: CSS
Week11 Lecture: CSSWeek11 Lecture: CSS
Week11 Lecture: CSS
 
CSS
CSSCSS
CSS
 
Introducing Cascading Style Sheets
Introducing Cascading Style SheetsIntroducing Cascading Style Sheets
Introducing Cascading Style Sheets
 
Css
CssCss
Css
 
CSS.pptx
CSS.pptxCSS.pptx
CSS.pptx
 
Web Engineering - Introduction to CSS
Web Engineering - Introduction to CSSWeb Engineering - Introduction to CSS
Web Engineering - Introduction to CSS
 
Intro to html, css & sass
Intro to html, css & sassIntro to html, css & sass
Intro to html, css & sass
 
Web technologies-course 03.pptx
Web technologies-course 03.pptxWeb technologies-course 03.pptx
Web technologies-course 03.pptx
 
Css present
Css presentCss present
Css present
 
Omeka css
Omeka cssOmeka css
Omeka css
 
Fonts
FontsFonts
Fonts
 
Ppt ch05
Ppt ch05Ppt ch05
Ppt ch05
 
Ppt ch05
Ppt ch05Ppt ch05
Ppt ch05
 
9781111528705_PPT_ch05.ppt
9781111528705_PPT_ch05.ppt9781111528705_PPT_ch05.ppt
9781111528705_PPT_ch05.ppt
 
Journey To The Front End World - Part2 - The Cosmetic
Journey To The Front End World - Part2 - The  CosmeticJourney To The Front End World - Part2 - The  Cosmetic
Journey To The Front End World - Part2 - The Cosmetic
 
Chapter 11: Intro to CSS
Chapter 11: Intro to CSSChapter 11: Intro to CSS
Chapter 11: Intro to CSS
 

Recently uploaded

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
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
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 

Recently uploaded (20)

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
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
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 

CSS Fonts, Text Formatting & Colors

  • 1. Introduction to CSS Fonts, Texts and Colors - Lesson 7 Publisher : Attitude Academy
  • 2. What is Fonts CSSIn this Topic you will learn about fonts and how they are applied using CSS. We will also look at how to work around the issue that specific fon chosen for a website can only be seen if the font is installed on the PC used to access the website. The following CSS properties will be described: • font-family • font-size • font-style • font-variant • font-weight • font
  • 3. FONTS The Fonts-Family You can set what font will be displayed in an element with the font- family property. There are 2 choices for values: • family-name • generic family If you set a family name it is best to also add the generic family at the end. As this is a prioritized list. So if the user does not have the specifi font name it will use the same generic family. (see below)
  • 4. <div style="Font-family: Arial, veranda;">This font show arial property</div> <div style="Font-family: Arial, veranda;">This font show arial property</div> Example Here: Font-family: Arial,verdana;Font-family: Arial,verdana;
  • 5. The Fonts-Size You can set the size of the text used in an element by using the font- size property. There are a lot of choices for values: • xx-large • x-large • larger • large • medium • % (percent) If you set a family name it is best to also add the generic family at the end. As this is a prioritized list. So if the user does not have the specified font name it will use the same generic family. (see below) • small • smaller • x-small • xx-small • length Font-size: 20px;Font-size: 20px; Example Here:
  • 6. FONTS The Fonts-style You can set the style of text in a element with the font-style property There are three of choices for values: • normal • Italic • oblique Font-style: Italic;Font-style: Italic;
  • 7. FONTS The Fonts-Variant You can set the variant of text within an element with the font- variant property There are two of choices for values: • normal • small-caps Font-Variant: value;Font-Variant: value;
  • 8. FONTS The Fonts-Weight You can control the weight of text in an element with the font- weight property: There are a lot of choices for values: • lighter • normal • 100 • 200 • 300 • 400 • 500 • 600 • 700 • 800 • 900 • bold • bolder Font-Weight: value;Font-Weight: value;
  • 9. FONTS The Text Css In this Topic you will learn about Text properties and how they are applied using CSS. We will also look at how to work around the issue that specific text properties work for a website .The following CSS properties will be described: • Text-align • Text-decoration • Text-indent • Text-transform • Letter-spacing • White-space • Word-space
  • 10. FONTS The Text-align Css The following example demonstrates how to align a text. There are four choices for values: • Left • Right • Center • Justify Text-align:left;Text-align:left; This is text alignment left This is text alignment right This is text alignment Center This is text alignment left This is text alignment right This is text alignment Center
  • 11. FONTS The Text-decoration Css You can decorate <a> Tag property or other property using with this c There are five choices for values: • None • underline • over line • Line-through • blink <a href="#" style="text-decoration:none;">This Css properties remove underline from text</a> <a href="#" style="text-decoration:none;">This Css properties remove underline from text</a>
  • 12. FONTS The Text-Indent Css You can indent the first line of text in an HTML element with the following: There are two choices for values: • Length • Percentage Text-indent:value;Text-indent:value;
  • 13. FONTS The Text-Transform Css The following example demonstrates how to set the cases for a text There are four choices for values: • None • capitalize • Uppercase • Lowercase Text-transform:uppercase;Text-transform:uppercase;
  • 14. FONTS The Letter-spacing Css You can adjust the space between letters in the following manner. Setting the value to 0, prevents the text from justifying. You can use negative values. There are two choices for values: • normal • length (how many length give by you) Letter-spacing:5px ;(or other value you can add)Letter-spacing:5px ;(or other value you can add) These letters are spaced at 5px.These letters are spaced at 5px. Example Here:
  • 15. FONTS The White Space Css You can control the whitespace in an HTML element with the followin There are two choices for values: • Normal • Pre • Nowrap white-space:5px ;(or other value you can add)white-space:5px ;(or other value you can add)
  • 16. FONTS The Word-spacing Css You can adjust the space between words in the following manner. You can use negative values. There are two choices for values: • normal • length (how many length give by you) Word-spacing:5px ;(or other value you can add)Word-spacing:5px ;(or other value you can add)
  • 17. FONTS The font or text Color Css The color property describes the foreground color of an element. For example, imagine that we want all headlines in a document to be dark red. The headlines are all marked with the HTML element There are three choices for add text or font color: • Color name – example :( red, black…) • hexadecimal number – example:(#ff0000) (Note: # properties use add font or text color) • RGB color code – example:(rgb(255, 0, 0), rgb(0, 0, 0))