SlideShare uma empresa Scribd logo
1 de 10
CSS TEXT PROPERTIES
text from: http://www.cssbasics.com/css-text-properties/
color
Possible values are:
• color name – example:(red, black…) color: blue;
• hexadecimal number – example:(#ff0000, #000000) color: #000000;
• RGB color code – example:(rgb(255, 0, 0), rgb(0, 0, 0))
You can set the color of text with the following:
color: value;
font-weight & font-style
font-weight: bold;
font-style: italic;
font-family
The font-family property specifies the font for an element.
The font-family property can hold several font names as a "fallback" system. If the browser does not
support the first font, it tries the next font.
There are two types of font family names:
family-name - The name of a font-family, like "times", "courier", "arial", etc.
generic-family - The name of a generic-family, like "serif", "sans-serif", "cursive", "fantasy", "monospace".
Start with the font you want, and always end with a generic family, to let the browser pick a similar font in
the generic family, if no other fonts are available.
Note: Separate each value with a comma.
Note: If a font name contains white-space, it must be quoted. Single quotes must be used when using the "style" attribute in
HTML.
letter-spacing
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.
letter-spacing: value;
Possible values are:
• normal letter-spacing: normal;
• length letter-spacing: 5px;
Example:
T h e s e l e t t e r s a r e s p a c e d a t 5 p x .
text-align
You can align text with the following:
text-align: value;
Possible values are:
• left
• right
• center
• justify
text-decoration
You can decorate text with the following:
text-decoration: value;
Possible values are:
• none
• underline
• overline
• line-through
Examples:
text-transform
You can control the size of letters in an HTML element with the following:
text-transform: value;
Possible values are:
• none
• capitalize
• lowercase
• uppercase
line-height
The line-height property specifies the line height.
line-height: value;
Possible values are:
• normal
• number
• length
• %
word-spacing
You can adjust the space between words in the following manner. You
can use negative values.
word-spacing: value;
Possible values are:
• normal
• length

Mais conteúdo relacionado

Mais procurados (20)

Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)Introduction to Cascading Style Sheets (CSS)
Introduction to Cascading Style Sheets (CSS)
 
css.ppt
css.pptcss.ppt
css.ppt
 
CSS
CSSCSS
CSS
 
CSS Positioning Elements.pdf
CSS Positioning Elements.pdfCSS Positioning Elements.pdf
CSS Positioning Elements.pdf
 
Css colors
Css   colorsCss   colors
Css colors
 
CSS ppt
CSS pptCSS ppt
CSS ppt
 
Html forms
Html formsHtml forms
Html forms
 
CSS3 Media Queries
CSS3 Media QueriesCSS3 Media Queries
CSS3 Media Queries
 
html-css
html-csshtml-css
html-css
 
CSS
CSSCSS
CSS
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Css Text Formatting
Css Text FormattingCss Text Formatting
Css Text Formatting
 
Css
CssCss
Css
 
Introduction to CSS Borders - Lesson 4
Introduction to CSS Borders - Lesson 4Introduction to CSS Borders - Lesson 4
Introduction to CSS Borders - Lesson 4
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Css Basics
Css BasicsCss Basics
Css Basics
 
Beginners css tutorial for web designers
Beginners css tutorial for web designersBeginners css tutorial for web designers
Beginners css tutorial for web designers
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3
 

Destaque

Pastoralism and livestock marketing at the margins
Pastoralism and livestock marketing at the marginsPastoralism and livestock marketing at the margins
Pastoralism and livestock marketing at the marginsfutureagricultures
 
Fiesta integracion
Fiesta integracionFiesta integracion
Fiesta integracionbetigranado
 
Dumb criminals
Dumb criminalsDumb criminals
Dumb criminalsLes Davy
 
Het Datacenter en de Grenzen van Centralisatie
Het Datacenter en de Grenzen van CentralisatieHet Datacenter en de Grenzen van Centralisatie
Het Datacenter en de Grenzen van CentralisatiePeter Vermeulen
 
Conservation of water copy
Conservation of water   copyConservation of water   copy
Conservation of water copySaurabh Sharma
 
ο θαλασσοπόρος
ο θαλασσοπόροςο θαλασσοπόρος
ο θαλασσοπόροςIoanna Prangiou
 
Final Cooperative Project 2012 day 5
Final Cooperative Project 2012 day 5Final Cooperative Project 2012 day 5
Final Cooperative Project 2012 day 5jmori1
 
Mass, Volume and Density Labs Day 2
Mass, Volume and Density Labs Day 2Mass, Volume and Density Labs Day 2
Mass, Volume and Density Labs Day 2jmori1
 
Travel in europe
Travel in europeTravel in europe
Travel in europebalada65
 
Pietilä, Vonk: Terve suu yhteisenä tavoitteena, osa 2
Pietilä, Vonk: Terve suu yhteisenä tavoitteena, osa 2Pietilä, Vonk: Terve suu yhteisenä tavoitteena, osa 2
Pietilä, Vonk: Terve suu yhteisenä tavoitteena, osa 2Kouluterveyskysely
 
облачные сервисы учителю математики
облачные сервисы учителю математикиоблачные сервисы учителю математики
облачные сервисы учителю математикиFordzon Putilovez
 
Lifestyle unit 6
Lifestyle unit 6Lifestyle unit 6
Lifestyle unit 6Les Davy
 
366/14 MediaKey /// Creatività: Made in Tunnel Studios
366/14 MediaKey /// Creatività: Made in Tunnel Studios366/14 MediaKey /// Creatività: Made in Tunnel Studios
366/14 MediaKey /// Creatività: Made in Tunnel StudiosTunnel Studios
 
Direct Marketing - The Paradigm Shift
Direct Marketing - The Paradigm Shift Direct Marketing - The Paradigm Shift
Direct Marketing - The Paradigm Shift Yellow Umbrella
 

Destaque (20)

IHC Ace PPT
IHC Ace PPTIHC Ace PPT
IHC Ace PPT
 
Pastoralism and livestock marketing at the margins
Pastoralism and livestock marketing at the marginsPastoralism and livestock marketing at the margins
Pastoralism and livestock marketing at the margins
 
Presentation1
Presentation1Presentation1
Presentation1
 
Fiesta integracion
Fiesta integracionFiesta integracion
Fiesta integracion
 
Dumb criminals
Dumb criminalsDumb criminals
Dumb criminals
 
Het Datacenter en de Grenzen van Centralisatie
Het Datacenter en de Grenzen van CentralisatieHet Datacenter en de Grenzen van Centralisatie
Het Datacenter en de Grenzen van Centralisatie
 
Conservation of water copy
Conservation of water   copyConservation of water   copy
Conservation of water copy
 
Tearsofawoman 2
Tearsofawoman 2Tearsofawoman 2
Tearsofawoman 2
 
Solarpower by holly
Solarpower by hollySolarpower by holly
Solarpower by holly
 
ο θαλασσοπόρος
ο θαλασσοπόροςο θαλασσοπόρος
ο θαλασσοπόρος
 
Final Cooperative Project 2012 day 5
Final Cooperative Project 2012 day 5Final Cooperative Project 2012 day 5
Final Cooperative Project 2012 day 5
 
Mass, Volume and Density Labs Day 2
Mass, Volume and Density Labs Day 2Mass, Volume and Density Labs Day 2
Mass, Volume and Density Labs Day 2
 
Travel in europe
Travel in europeTravel in europe
Travel in europe
 
Pietilä, Vonk: Terve suu yhteisenä tavoitteena, osa 2
Pietilä, Vonk: Terve suu yhteisenä tavoitteena, osa 2Pietilä, Vonk: Terve suu yhteisenä tavoitteena, osa 2
Pietilä, Vonk: Terve suu yhteisenä tavoitteena, osa 2
 
บูรณาการอาเชียน ม.1
บูรณาการอาเชียน ม.1บูรณาการอาเชียน ม.1
บูรณาการอาเชียน ม.1
 
облачные сервисы учителю математики
облачные сервисы учителю математикиоблачные сервисы учителю математики
облачные сервисы учителю математики
 
Lifestyle unit 6
Lifestyle unit 6Lifestyle unit 6
Lifestyle unit 6
 
Grammar book
Grammar bookGrammar book
Grammar book
 
366/14 MediaKey /// Creatività: Made in Tunnel Studios
366/14 MediaKey /// Creatività: Made in Tunnel Studios366/14 MediaKey /// Creatività: Made in Tunnel Studios
366/14 MediaKey /// Creatività: Made in Tunnel Studios
 
Direct Marketing - The Paradigm Shift
Direct Marketing - The Paradigm Shift Direct Marketing - The Paradigm Shift
Direct Marketing - The Paradigm Shift
 

Semelhante a CSS - Text Properties

Semelhante a CSS - Text Properties (20)

Chapter 12: CSS Part 2
Chapter 12: CSS Part 2Chapter 12: CSS Part 2
Chapter 12: CSS Part 2
 
Introduction to CSS Fonts, Texts and Colors - Lesson 7
Introduction to CSS Fonts, Texts and Colors - Lesson 7Introduction to CSS Fonts, Texts and Colors - Lesson 7
Introduction to CSS Fonts, Texts and Colors - Lesson 7
 
Castro Chapter 10
Castro Chapter 10Castro Chapter 10
Castro Chapter 10
 
Cascading style sheet part 2
Cascading style sheet   part 2Cascading style sheet   part 2
Cascading style sheet part 2
 
Css Complete Notes
Css Complete NotesCss Complete Notes
Css Complete Notes
 
L4 Fashioning Text Styles and Colors
L4   Fashioning Text Styles and ColorsL4   Fashioning Text Styles and Colors
L4 Fashioning Text Styles and Colors
 
Web Design Course: CSS lecture 3
Web Design Course: CSS lecture 3Web Design Course: CSS lecture 3
Web Design Course: CSS lecture 3
 
Css
CssCss
Css
 
CSS
CSSCSS
CSS
 
Css
CssCss
Css
 
CSS tutorial chapter 2
CSS tutorial chapter 2CSS tutorial chapter 2
CSS tutorial chapter 2
 
Web Typography
Web TypographyWeb Typography
Web Typography
 
Omeka css
Omeka cssOmeka css
Omeka css
 
Css1 properties
Css1 propertiesCss1 properties
Css1 properties
 
CSS_Day_Two (W3schools)
CSS_Day_Two (W3schools)CSS_Day_Two (W3schools)
CSS_Day_Two (W3schools)
 
Pemrograman Web 3 - CSS Basic Part 2
Pemrograman Web 3 - CSS Basic Part 2Pemrograman Web 3 - CSS Basic Part 2
Pemrograman Web 3 - CSS Basic Part 2
 
Intro to css & sass
Intro to css & sassIntro to css & sass
Intro to css & sass
 
Css.prabu
Css.prabuCss.prabu
Css.prabu
 
CSS properties.docx
CSS properties.docxCSS properties.docx
CSS properties.docx
 
Second year 2nd quarter CSBN - CSS, fonts and color
Second year 2nd quarter CSBN - CSS, fonts and colorSecond year 2nd quarter CSBN - CSS, fonts and color
Second year 2nd quarter CSBN - CSS, fonts and color
 

Mais de hstryk

Lesson 3 - HTML & CSS Part 2
Lesson 3 - HTML & CSS Part 2Lesson 3 - HTML & CSS Part 2
Lesson 3 - HTML & CSS Part 2hstryk
 
Lesson1 - Fall 2013
Lesson1 - Fall 2013Lesson1 - Fall 2013
Lesson1 - Fall 2013hstryk
 
Lesson2
Lesson2Lesson2
Lesson2hstryk
 
CSS3 Transitions
CSS3 TransitionsCSS3 Transitions
CSS3 Transitionshstryk
 
CSS Layout Tutorial
CSS Layout TutorialCSS Layout Tutorial
CSS Layout Tutorialhstryk
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3hstryk
 
Sprites rollovers
Sprites rolloversSprites rollovers
Sprites rollovershstryk
 
Building a Website from Planning to Photoshop Mockup to HTML/CSS
Building a Website from Planning to Photoshop Mockup to HTML/CSSBuilding a Website from Planning to Photoshop Mockup to HTML/CSS
Building a Website from Planning to Photoshop Mockup to HTML/CSShstryk
 
Lecture4
Lecture4Lecture4
Lecture4hstryk
 
Tutorial1 - Part 2
Tutorial1 - Part 2Tutorial1 - Part 2
Tutorial1 - Part 2hstryk
 
Tutorial1
Tutorial1Tutorial1
Tutorial1hstryk
 
Project1
Project1Project1
Project1hstryk
 
Lesson 3
Lesson 3Lesson 3
Lesson 3hstryk
 
Lesson2
Lesson2Lesson2
Lesson2hstryk
 
Lesson1
Lesson1Lesson1
Lesson1hstryk
 
Heather Strycharz - Resume
Heather Strycharz - ResumeHeather Strycharz - Resume
Heather Strycharz - Resumehstryk
 

Mais de hstryk (16)

Lesson 3 - HTML & CSS Part 2
Lesson 3 - HTML & CSS Part 2Lesson 3 - HTML & CSS Part 2
Lesson 3 - HTML & CSS Part 2
 
Lesson1 - Fall 2013
Lesson1 - Fall 2013Lesson1 - Fall 2013
Lesson1 - Fall 2013
 
Lesson2
Lesson2Lesson2
Lesson2
 
CSS3 Transitions
CSS3 TransitionsCSS3 Transitions
CSS3 Transitions
 
CSS Layout Tutorial
CSS Layout TutorialCSS Layout Tutorial
CSS Layout Tutorial
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3
 
Sprites rollovers
Sprites rolloversSprites rollovers
Sprites rollovers
 
Building a Website from Planning to Photoshop Mockup to HTML/CSS
Building a Website from Planning to Photoshop Mockup to HTML/CSSBuilding a Website from Planning to Photoshop Mockup to HTML/CSS
Building a Website from Planning to Photoshop Mockup to HTML/CSS
 
Lecture4
Lecture4Lecture4
Lecture4
 
Tutorial1 - Part 2
Tutorial1 - Part 2Tutorial1 - Part 2
Tutorial1 - Part 2
 
Tutorial1
Tutorial1Tutorial1
Tutorial1
 
Project1
Project1Project1
Project1
 
Lesson 3
Lesson 3Lesson 3
Lesson 3
 
Lesson2
Lesson2Lesson2
Lesson2
 
Lesson1
Lesson1Lesson1
Lesson1
 
Heather Strycharz - Resume
Heather Strycharz - ResumeHeather Strycharz - Resume
Heather Strycharz - Resume
 

Último

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 

Último (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

CSS - Text Properties

  • 1. CSS TEXT PROPERTIES text from: http://www.cssbasics.com/css-text-properties/
  • 2. color Possible values are: • color name – example:(red, black…) color: blue; • hexadecimal number – example:(#ff0000, #000000) color: #000000; • RGB color code – example:(rgb(255, 0, 0), rgb(0, 0, 0)) You can set the color of text with the following: color: value;
  • 3. font-weight & font-style font-weight: bold; font-style: italic;
  • 4. font-family The font-family property specifies the font for an element. The font-family property can hold several font names as a "fallback" system. If the browser does not support the first font, it tries the next font. There are two types of font family names: family-name - The name of a font-family, like "times", "courier", "arial", etc. generic-family - The name of a generic-family, like "serif", "sans-serif", "cursive", "fantasy", "monospace". Start with the font you want, and always end with a generic family, to let the browser pick a similar font in the generic family, if no other fonts are available. Note: Separate each value with a comma. Note: If a font name contains white-space, it must be quoted. Single quotes must be used when using the "style" attribute in HTML.
  • 5. letter-spacing 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. letter-spacing: value; Possible values are: • normal letter-spacing: normal; • length letter-spacing: 5px; Example: T h e s e l e t t e r s a r e s p a c e d a t 5 p x .
  • 6. text-align You can align text with the following: text-align: value; Possible values are: • left • right • center • justify
  • 7. text-decoration You can decorate text with the following: text-decoration: value; Possible values are: • none • underline • overline • line-through Examples:
  • 8. text-transform You can control the size of letters in an HTML element with the following: text-transform: value; Possible values are: • none • capitalize • lowercase • uppercase
  • 9. line-height The line-height property specifies the line height. line-height: value; Possible values are: • normal • number • length • %
  • 10. word-spacing You can adjust the space between words in the following manner. You can use negative values. word-spacing: value; Possible values are: • normal • length