SlideShare a Scribd company logo
How To Add CSS The Correct
Way.
3
How To Add
CSS The
Correct Way:
When a browser reads a style sheet, it will format
the HTML document according to the information in
the style sheet.
Three Ways to Insert CSS:
There are three ways of inserting a style sheet:
•External CSS
•Internal CSS
•Inline CSS
External CSS:
With an external style sheet, you can change the look of an
entire website by changing just one file! Each HTML page
must include a reference to the external style sheet file inside
the <link> element, inside the head section.
An external style sheet can be written in any text editor, and
must be saved with a .css extension.The external .css file
should not contain any HTML tags.
Internal CSS:
An internal style sheet may be used if one single
HTML page has a unique style.
The internal style is defined inside the <style>
element, inside the head section.
Inline CSS:
An inline style may be used to apply a unique style for
a single element.
To use inline styles, add the style attribute to the
relevant element. The style attribute can contain any
CSS property.
How To Add CSS The Correct Way.

More Related Content

What's hot

CSS- Cascading Style Sheet
CSS- Cascading Style SheetCSS- Cascading Style Sheet
CSS- Cascading Style Sheet
Codewizacademy
 
How to add bibliography in Microsoft Word 2013
How to add bibliography in Microsoft Word 2013How to add bibliography in Microsoft Word 2013
How to add bibliography in Microsoft Word 2013
Azira Azman
 
Higher Computing Science CSS
Higher Computing Science CSSHigher Computing Science CSS
Higher Computing Science CSS
Forrester High School
 
Higher Computing Science HTML
Higher Computing Science HTMLHigher Computing Science HTML
Higher Computing Science HTML
Forrester High School
 
Styling of css
Styling of cssStyling of css
Styling of css
JayjZens
 
Introducing the style tag 2830
Introducing the style tag  2830Introducing the style tag  2830
Introducing the style tag 2830mdjstudios
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
Codewizacademy
 
Css presentation
Css presentationCss presentation
Css presentation
Surjeet Singh
 
Mendeley
MendeleyMendeley
Mendeley
MendeleyMendeley
Mendeley
AminaAdam
 
Mendeley for Reference Management
Mendeley for Reference ManagementMendeley for Reference Management
Mendeley for Reference Management
Elizabeth Moll-Willard
 
Business Source Complete
Business Source CompleteBusiness Source Complete
Business Source Complete
Daniel Jolley
 
Searching lexis nexis in power search mode
Searching lexis nexis in power search modeSearching lexis nexis in power search mode
Searching lexis nexis in power search mode
Joyce Johnston
 

What's hot (15)

CSS- Cascading Style Sheet
CSS- Cascading Style SheetCSS- Cascading Style Sheet
CSS- Cascading Style Sheet
 
How to add bibliography in Microsoft Word 2013
How to add bibliography in Microsoft Word 2013How to add bibliography in Microsoft Word 2013
How to add bibliography in Microsoft Word 2013
 
Higher Computing Science CSS
Higher Computing Science CSSHigher Computing Science CSS
Higher Computing Science CSS
 
Higher Computing Science HTML
Higher Computing Science HTMLHigher Computing Science HTML
Higher Computing Science HTML
 
Styling of css
Styling of cssStyling of css
Styling of css
 
Introducing the style tag 2830
Introducing the style tag  2830Introducing the style tag  2830
Introducing the style tag 2830
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
 
Css presentation
Css presentationCss presentation
Css presentation
 
Mendeley
MendeleyMendeley
Mendeley
 
Mendeley
MendeleyMendeley
Mendeley
 
Mendeley for Reference Management
Mendeley for Reference ManagementMendeley for Reference Management
Mendeley for Reference Management
 
Fb rss feed
Fb rss feedFb rss feed
Fb rss feed
 
Business Source Complete
Business Source CompleteBusiness Source Complete
Business Source Complete
 
Staying Up To Date
Staying Up To DateStaying Up To Date
Staying Up To Date
 
Searching lexis nexis in power search mode
Searching lexis nexis in power search modeSearching lexis nexis in power search mode
Searching lexis nexis in power search mode
 

Similar to How To Add CSS The Correct Way.

HTML STYLES
HTML STYLESHTML STYLES
HTML STYLES
Micah Fuentes
 
INFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptx
INFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptxINFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptx
INFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptx
feles73967
 
chitra
chitrachitra
chitra
sweet chitra
 
CSS.ppt
CSS.pptCSS.ppt
Css introduction
Css introductionCss introduction
Css introductionSridhar P
 
BITM3730Week4.pptx
BITM3730Week4.pptxBITM3730Week4.pptx
BITM3730Week4.pptx
MattMarino13
 
Introduction HTML and CSS
Introduction HTML and CSSIntroduction HTML and CSS
Introduction HTML and CSS
GovtITIWomen
 
Css types internal, external and inline (1)
Css types internal, external and inline (1)Css types internal, external and inline (1)
Css types internal, external and inline (1)
Webtech Learning
 
css.ppt
css.pptcss.ppt
CSS_Day_ONE (W3schools)
CSS_Day_ONE (W3schools)CSS_Day_ONE (W3schools)
CSS_Day_ONE (W3schools)
Rafi Haidari
 
Exp12 write up
Exp12 write upExp12 write up
Exp12 write up
Ankit Dubey
 
2
22
BITM3730 9-20.pptx
BITM3730 9-20.pptxBITM3730 9-20.pptx
BITM3730 9-20.pptx
MattMarino13
 
Css how to insert css
Css how to insert cssCss how to insert css
Css how to insert css
Sumit Rana
 
BITM3730 9-19.pptx
BITM3730 9-19.pptxBITM3730 9-19.pptx
BITM3730 9-19.pptx
MattMarino13
 
Cascading style sheet (css)]
Cascading style sheet (css)]Cascading style sheet (css)]
Cascading style sheet (css)]9574395990
 
Html Styles-CSS
Html Styles-CSSHtml Styles-CSS
Html Styles-CSS
ispkosova
 
basic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdfbasic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdf
elayelily
 
Intro to css
Intro to cssIntro to css
Intro to css
Rajashekarkorva
 

Similar to How To Add CSS The Correct Way. (20)

HTML STYLES
HTML STYLESHTML STYLES
HTML STYLES
 
INFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptx
INFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptxINFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptx
INFOGRAPHIC_PRESENTATION_OF_CSS_AND_TYPES .pptx
 
chitra
chitrachitra
chitra
 
CSS.ppt
CSS.pptCSS.ppt
CSS.ppt
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
Css introduction
Css introductionCss introduction
Css introduction
 
BITM3730Week4.pptx
BITM3730Week4.pptxBITM3730Week4.pptx
BITM3730Week4.pptx
 
Introduction HTML and CSS
Introduction HTML and CSSIntroduction HTML and CSS
Introduction HTML and CSS
 
Css types internal, external and inline (1)
Css types internal, external and inline (1)Css types internal, external and inline (1)
Css types internal, external and inline (1)
 
css.ppt
css.pptcss.ppt
css.ppt
 
CSS_Day_ONE (W3schools)
CSS_Day_ONE (W3schools)CSS_Day_ONE (W3schools)
CSS_Day_ONE (W3schools)
 
Exp12 write up
Exp12 write upExp12 write up
Exp12 write up
 
2
22
2
 
BITM3730 9-20.pptx
BITM3730 9-20.pptxBITM3730 9-20.pptx
BITM3730 9-20.pptx
 
Css how to insert css
Css how to insert cssCss how to insert css
Css how to insert css
 
BITM3730 9-19.pptx
BITM3730 9-19.pptxBITM3730 9-19.pptx
BITM3730 9-19.pptx
 
Cascading style sheet (css)]
Cascading style sheet (css)]Cascading style sheet (css)]
Cascading style sheet (css)]
 
Html Styles-CSS
Html Styles-CSSHtml Styles-CSS
Html Styles-CSS
 
basic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdfbasic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdf
 
Intro to css
Intro to cssIntro to css
Intro to css
 

More from Reema

CSS Basic Introduction
CSS Basic IntroductionCSS Basic Introduction
CSS Basic Introduction
Reema
 
Google Analytics Course For Beginners
Google Analytics Course For BeginnersGoogle Analytics Course For Beginners
Google Analytics Course For Beginners
Reema
 
Conclusion Of The Course
Conclusion Of The CourseConclusion Of The Course
Conclusion Of The Course
Reema
 
Introduction
IntroductionIntroduction
Introduction
Reema
 
Create A Texture Pattern:
Create A Texture Pattern:Create A Texture Pattern:
Create A Texture Pattern:
Reema
 
Creating The Footer:
Creating The Footer:Creating The Footer:
Creating The Footer:
Reema
 
Creating The Main Content Area
Creating The Main Content AreaCreating The Main Content Area
Creating The Main Content Area
Reema
 
Create The Quick Quote Section:
Create The Quick Quote Section:Create The Quick Quote Section:
Create The Quick Quote Section:
Reema
 
Create The Featured Project Section:
Create The Featured Project Section:Create The Featured Project Section:
Create The Featured Project Section:
Reema
 
Creating The Navigation Bar:
Creating The Navigation Bar:Creating The Navigation Bar:
Creating The Navigation Bar:
Reema
 
Creating The Logo:
Creating The Logo:Creating The Logo:
Creating The Logo:
Reema
 
Prepare Your Photoshop Document:
Prepare Your Photoshop Document:Prepare Your Photoshop Document:
Prepare Your Photoshop Document:
Reema
 
Conclusion Of The Course
Conclusion Of The CourseConclusion Of The Course
Conclusion Of The Course
Reema
 
Adding A Dash In jQuery:
Adding A Dash In jQuery:Adding A Dash In jQuery:
Adding A Dash In jQuery:
Reema
 
Introduction To jQuery:
Introduction To jQuery:Introduction To jQuery:
Introduction To jQuery:
Reema
 
Introduction To JavaScript Ajax
Introduction To JavaScript AjaxIntroduction To JavaScript Ajax
Introduction To JavaScript Ajax
Reema
 
Introduction To JavaScript
Introduction To JavaScriptIntroduction To JavaScript
Introduction To JavaScript
Reema
 
Responsive Web Development
Responsive Web DevelopmentResponsive Web Development
Responsive Web Development
Reema
 
CSS Basic Introduction, Rules, And Tips
CSS Basic Introduction, Rules, And TipsCSS Basic Introduction, Rules, And Tips
CSS Basic Introduction, Rules, And Tips
Reema
 
HTML Semantic Elements
HTML Semantic ElementsHTML Semantic Elements
HTML Semantic Elements
Reema
 

More from Reema (20)

CSS Basic Introduction
CSS Basic IntroductionCSS Basic Introduction
CSS Basic Introduction
 
Google Analytics Course For Beginners
Google Analytics Course For BeginnersGoogle Analytics Course For Beginners
Google Analytics Course For Beginners
 
Conclusion Of The Course
Conclusion Of The CourseConclusion Of The Course
Conclusion Of The Course
 
Introduction
IntroductionIntroduction
Introduction
 
Create A Texture Pattern:
Create A Texture Pattern:Create A Texture Pattern:
Create A Texture Pattern:
 
Creating The Footer:
Creating The Footer:Creating The Footer:
Creating The Footer:
 
Creating The Main Content Area
Creating The Main Content AreaCreating The Main Content Area
Creating The Main Content Area
 
Create The Quick Quote Section:
Create The Quick Quote Section:Create The Quick Quote Section:
Create The Quick Quote Section:
 
Create The Featured Project Section:
Create The Featured Project Section:Create The Featured Project Section:
Create The Featured Project Section:
 
Creating The Navigation Bar:
Creating The Navigation Bar:Creating The Navigation Bar:
Creating The Navigation Bar:
 
Creating The Logo:
Creating The Logo:Creating The Logo:
Creating The Logo:
 
Prepare Your Photoshop Document:
Prepare Your Photoshop Document:Prepare Your Photoshop Document:
Prepare Your Photoshop Document:
 
Conclusion Of The Course
Conclusion Of The CourseConclusion Of The Course
Conclusion Of The Course
 
Adding A Dash In jQuery:
Adding A Dash In jQuery:Adding A Dash In jQuery:
Adding A Dash In jQuery:
 
Introduction To jQuery:
Introduction To jQuery:Introduction To jQuery:
Introduction To jQuery:
 
Introduction To JavaScript Ajax
Introduction To JavaScript AjaxIntroduction To JavaScript Ajax
Introduction To JavaScript Ajax
 
Introduction To JavaScript
Introduction To JavaScriptIntroduction To JavaScript
Introduction To JavaScript
 
Responsive Web Development
Responsive Web DevelopmentResponsive Web Development
Responsive Web Development
 
CSS Basic Introduction, Rules, And Tips
CSS Basic Introduction, Rules, And TipsCSS Basic Introduction, Rules, And Tips
CSS Basic Introduction, Rules, And Tips
 
HTML Semantic Elements
HTML Semantic ElementsHTML Semantic Elements
HTML Semantic Elements
 

Recently uploaded

Understanding User Needs and Satisfying Them
Understanding User Needs and Satisfying ThemUnderstanding User Needs and Satisfying Them
Understanding User Needs and Satisfying Them
Aggregage
 
Organizational Change Leadership Agile Tour Geneve 2024
Organizational Change Leadership Agile Tour Geneve 2024Organizational Change Leadership Agile Tour Geneve 2024
Organizational Change Leadership Agile Tour Geneve 2024
Kirill Klimov
 
LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024
Lital Barkan
 
The Influence of Marketing Strategy and Market Competition on Business Perfor...
The Influence of Marketing Strategy and Market Competition on Business Perfor...The Influence of Marketing Strategy and Market Competition on Business Perfor...
The Influence of Marketing Strategy and Market Competition on Business Perfor...
Adam Smith
 
Authentically Social by Corey Perlman - EO Puerto Rico
Authentically Social by Corey Perlman - EO Puerto RicoAuthentically Social by Corey Perlman - EO Puerto Rico
Authentically Social by Corey Perlman - EO Puerto Rico
Corey Perlman, Social Media Speaker and Consultant
 
Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...
dylandmeas
 
Cree_Rey_BrandIdentityKit.PDF_PersonalBd
Cree_Rey_BrandIdentityKit.PDF_PersonalBdCree_Rey_BrandIdentityKit.PDF_PersonalBd
Cree_Rey_BrandIdentityKit.PDF_PersonalBd
creerey
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptx
Cynthia Clay
 
Hamster Kombat' Telegram Game Surpasses 100 Million Players—Token Release Sch...
Hamster Kombat' Telegram Game Surpasses 100 Million Players—Token Release Sch...Hamster Kombat' Telegram Game Surpasses 100 Million Players—Token Release Sch...
Hamster Kombat' Telegram Game Surpasses 100 Million Players—Token Release Sch...
SOFTTECHHUB
 
In the Adani-Hindenburg case, what is SEBI investigating.pptx
In the Adani-Hindenburg case, what is SEBI investigating.pptxIn the Adani-Hindenburg case, what is SEBI investigating.pptx
In the Adani-Hindenburg case, what is SEBI investigating.pptx
Adani case
 
VAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and RequirementsVAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and Requirements
uae taxgpt
 
amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
marketing317746
 
Premium MEAN Stack Development Solutions for Modern Businesses
Premium MEAN Stack Development Solutions for Modern BusinessesPremium MEAN Stack Development Solutions for Modern Businesses
Premium MEAN Stack Development Solutions for Modern Businesses
SynapseIndia
 
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdfikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
agatadrynko
 
-- June 2024 is National Volunteer Month --
-- June 2024 is National Volunteer Month ---- June 2024 is National Volunteer Month --
-- June 2024 is National Volunteer Month --
NZSG
 
Company Valuation webinar series - Tuesday, 4 June 2024
Company Valuation webinar series - Tuesday, 4 June 2024Company Valuation webinar series - Tuesday, 4 June 2024
Company Valuation webinar series - Tuesday, 4 June 2024
FelixPerez547899
 
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.docBài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
daothibichhang1
 
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Lviv Startup Club
 
Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
Aurelien Domont, MBA
 
Project File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdfProject File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdf
RajPriye
 

Recently uploaded (20)

Understanding User Needs and Satisfying Them
Understanding User Needs and Satisfying ThemUnderstanding User Needs and Satisfying Them
Understanding User Needs and Satisfying Them
 
Organizational Change Leadership Agile Tour Geneve 2024
Organizational Change Leadership Agile Tour Geneve 2024Organizational Change Leadership Agile Tour Geneve 2024
Organizational Change Leadership Agile Tour Geneve 2024
 
LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024LA HUG - Video Testimonials with Chynna Morgan - June 2024
LA HUG - Video Testimonials with Chynna Morgan - June 2024
 
The Influence of Marketing Strategy and Market Competition on Business Perfor...
The Influence of Marketing Strategy and Market Competition on Business Perfor...The Influence of Marketing Strategy and Market Competition on Business Perfor...
The Influence of Marketing Strategy and Market Competition on Business Perfor...
 
Authentically Social by Corey Perlman - EO Puerto Rico
Authentically Social by Corey Perlman - EO Puerto RicoAuthentically Social by Corey Perlman - EO Puerto Rico
Authentically Social by Corey Perlman - EO Puerto Rico
 
Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...Discover the innovative and creative projects that highlight my journey throu...
Discover the innovative and creative projects that highlight my journey throu...
 
Cree_Rey_BrandIdentityKit.PDF_PersonalBd
Cree_Rey_BrandIdentityKit.PDF_PersonalBdCree_Rey_BrandIdentityKit.PDF_PersonalBd
Cree_Rey_BrandIdentityKit.PDF_PersonalBd
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptx
 
Hamster Kombat' Telegram Game Surpasses 100 Million Players—Token Release Sch...
Hamster Kombat' Telegram Game Surpasses 100 Million Players—Token Release Sch...Hamster Kombat' Telegram Game Surpasses 100 Million Players—Token Release Sch...
Hamster Kombat' Telegram Game Surpasses 100 Million Players—Token Release Sch...
 
In the Adani-Hindenburg case, what is SEBI investigating.pptx
In the Adani-Hindenburg case, what is SEBI investigating.pptxIn the Adani-Hindenburg case, what is SEBI investigating.pptx
In the Adani-Hindenburg case, what is SEBI investigating.pptx
 
VAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and RequirementsVAT Registration Outlined In UAE: Benefits and Requirements
VAT Registration Outlined In UAE: Benefits and Requirements
 
amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
 
Premium MEAN Stack Development Solutions for Modern Businesses
Premium MEAN Stack Development Solutions for Modern BusinessesPremium MEAN Stack Development Solutions for Modern Businesses
Premium MEAN Stack Development Solutions for Modern Businesses
 
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdfikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
 
-- June 2024 is National Volunteer Month --
-- June 2024 is National Volunteer Month ---- June 2024 is National Volunteer Month --
-- June 2024 is National Volunteer Month --
 
Company Valuation webinar series - Tuesday, 4 June 2024
Company Valuation webinar series - Tuesday, 4 June 2024Company Valuation webinar series - Tuesday, 4 June 2024
Company Valuation webinar series - Tuesday, 4 June 2024
 
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.docBài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
 
Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)Maksym Vyshnivetskyi: PMO Quality Management (UA)
Maksym Vyshnivetskyi: PMO Quality Management (UA)
 
Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
 
Project File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdfProject File Report BBA 6th semester.pdf
Project File Report BBA 6th semester.pdf
 

How To Add CSS The Correct Way.

  • 1. How To Add CSS The Correct Way. 3
  • 2.
  • 3. How To Add CSS The Correct Way: When a browser reads a style sheet, it will format the HTML document according to the information in the style sheet.
  • 4. Three Ways to Insert CSS: There are three ways of inserting a style sheet: •External CSS •Internal CSS •Inline CSS
  • 5. External CSS: With an external style sheet, you can change the look of an entire website by changing just one file! Each HTML page must include a reference to the external style sheet file inside the <link> element, inside the head section. An external style sheet can be written in any text editor, and must be saved with a .css extension.The external .css file should not contain any HTML tags.
  • 6.
  • 7. Internal CSS: An internal style sheet may be used if one single HTML page has a unique style. The internal style is defined inside the <style> element, inside the head section.
  • 8.
  • 9. Inline CSS: An inline style may be used to apply a unique style for a single element. To use inline styles, add the style attribute to the relevant element. The style attribute can contain any CSS property.