SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
Unit III: Adding Styles and
Interactivity Using CSS and
           Javascript
• External style sheets are the best
  way to put CSS styles on your
  web pages. Once you've gone
  beyond the basics of creating CSS
  styles, you'll want to be able to
  use the same styles across
  multiple pages on your site.
  External style sheets make this
  easy to do.
To Start Building an External Style Sheet, You
           Need to Write Some CSS
• Open a blank page in your text editor and write out
  your styles as you would if you were putting them in
  the <style> tag (such as in an internal style sheet) in the
  head of your document. But don't write any HTML.
• For example:
• body {
   background-color : #fff;
   color : #0c0;
  }Once you've written your entire style sheet, save it as
  a .css file. Make a note of where you saved it so that
  you know what the URL will be when you upload it.
CSS EXTERNAL STYLE SYNTAX
<html>
<head>
<title>External Style Sheet</title>
<link rel= "stylesheet" type="text/css"
href="style.css"/>
</head>
<body>

More Related Content

PPTX
Cashcading stylesheets
PPTX
Introducing the style tag 2830
PPTX
Teaching presentation
PPTX
Introduction to CSS
PPTX
Unit iii css and javascript 1
PPTX
Css intro
PPTX
Introduction to CSS
PPTX
Welcome to css!
Cashcading stylesheets
Introducing the style tag 2830
Teaching presentation
Introduction to CSS
Unit iii css and javascript 1
Css intro
Introduction to CSS
Welcome to css!

What's hot (20)

PPSX
Session Two css
PPTX
HTML and CSS
PDF
CSS For Backend Developers
PPTX
Web programming css
PPTX
Html and css
PPSX
Session 2 intro to Css
PPTX
CSS introduction
PPTX
Css introduction
PPT
PPTX
Introduction to PrintCSS.live
PDF
6 Steps to Make Your CSS Code More Maintainable
PPTX
Web1O1 - Intro to HTML/CSS
PPT
CSS Introduction
PPTX
html & css
PDF
Introduction to the PrintCSS Playground and PrintCSS Cloud
PPTX
Web development using HTML and CSS
PDF
The Dark Arts of CSS
PPTX
Css inclusion
Session Two css
HTML and CSS
CSS For Backend Developers
Web programming css
Html and css
Session 2 intro to Css
CSS introduction
Css introduction
Introduction to PrintCSS.live
6 Steps to Make Your CSS Code More Maintainable
Web1O1 - Intro to HTML/CSS
CSS Introduction
html & css
Introduction to the PrintCSS Playground and PrintCSS Cloud
Web development using HTML and CSS
The Dark Arts of CSS
Css inclusion
Ad

Viewers also liked (8)

PPTX
Designing web pages html forms and input
PPTX
Javascript comparison and logical operators
PPTX
Css border and outline properties
PPTX
Id and class selector
PPT
Web browser, linux, bit & bytes, files
PPT
Picasa&gimp v2.0
PPTX
Javascript event handler
PPTX
Designing web page marquee and img tag
Designing web pages html forms and input
Javascript comparison and logical operators
Css border and outline properties
Id and class selector
Web browser, linux, bit & bytes, files
Picasa&gimp v2.0
Javascript event handler
Designing web page marquee and img tag
Ad

Similar to Css external style sheet (20)

PPTX
Cascading style sheets (CSS)
PPTX
Intro To Twitter Bootstrap
PPT
Cascading style sheet (css)]
PPTX
basic programming language AND HTML CSS JAVApdf
PPTX
Castro Chapter 8
PPT
Basic HTML/CSS
DOC
Intermediate Web Design.doc
DOC
Intermediate Web Design.doc
PDF
Introduction to css
PPT
Css Founder.com | Cssfounder se
PPTX
Css types internal, external and inline (1)
PPTX
PPTX
Introduction to Wed System And Technologies (1).pptx
DOC
Css introduction
PPTX
Css Basics
PPTX
BITM3730 9-20.pptx
PPTX
BITM3730 9-19.pptx
PPTX
Introduction HTML and CSS
PDF
Introduction to css
PPTX
Cascading style sheets (CSS)
Intro To Twitter Bootstrap
Cascading style sheet (css)]
basic programming language AND HTML CSS JAVApdf
Castro Chapter 8
Basic HTML/CSS
Intermediate Web Design.doc
Intermediate Web Design.doc
Introduction to css
Css Founder.com | Cssfounder se
Css types internal, external and inline (1)
Introduction to Wed System And Technologies (1).pptx
Css introduction
Css Basics
BITM3730 9-20.pptx
BITM3730 9-19.pptx
Introduction HTML and CSS
Introduction to css

More from Jesus Obenita Jr. (20)

PPTX
Organization and management 3 a Evolution of Management Theory
PPTX
Organization and management 2 Management Function
PPTX
Organization and management 1
PPTX
Ms excel 2013 formatting worksheets
PPTX
Ms excel 2013 data management
PPTX
Microsoft Excel introduction
PPTX
Word 2013 working with pictures
PPTX
Word 2013 Formatting Page
PPTX
Word 2013 8
PPTX
Ms word 2013 7
PPTX
Ms word 2013 6
PPTX
Ms word 2013 4
PPTX
Ms word 2013 2
PPTX
Ms word 2013
PPTX
Parts of the ms word 2013 screen and
PPTX
Word processor
PPT
Session 2 test construction.mt's
PPTX
Cooking ingredients
PPTX
Color theory
PPTX
Computer software
Organization and management 3 a Evolution of Management Theory
Organization and management 2 Management Function
Organization and management 1
Ms excel 2013 formatting worksheets
Ms excel 2013 data management
Microsoft Excel introduction
Word 2013 working with pictures
Word 2013 Formatting Page
Word 2013 8
Ms word 2013 7
Ms word 2013 6
Ms word 2013 4
Ms word 2013 2
Ms word 2013
Parts of the ms word 2013 screen and
Word processor
Session 2 test construction.mt's
Cooking ingredients
Color theory
Computer software

Recently uploaded (20)

PDF
Classroom Observation Tools for Teachers
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Institutional Correction lecture only . . .
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Pharma ospi slides which help in ospi learning
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Presentation on HIE in infants and its manifestations
Classroom Observation Tools for Teachers
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
2.FourierTransform-ShortQuestionswithAnswers.pdf
Microbial disease of the cardiovascular and lymphatic systems
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Module 4: Burden of Disease Tutorial Slides S2 2025
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
STATICS OF THE RIGID BODIES Hibbelers.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Institutional Correction lecture only . . .
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Computing-Curriculum for Schools in Ghana
Pharma ospi slides which help in ospi learning
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Complications of Minimal Access Surgery at WLH
Pharmacology of Heart Failure /Pharmacotherapy of CHF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Presentation on HIE in infants and its manifestations

Css external style sheet

  • 1. Unit III: Adding Styles and Interactivity Using CSS and Javascript
  • 2. • External style sheets are the best way to put CSS styles on your web pages. Once you've gone beyond the basics of creating CSS styles, you'll want to be able to use the same styles across multiple pages on your site. External style sheets make this easy to do.
  • 3. To Start Building an External Style Sheet, You Need to Write Some CSS • Open a blank page in your text editor and write out your styles as you would if you were putting them in the <style> tag (such as in an internal style sheet) in the head of your document. But don't write any HTML. • For example: • body { background-color : #fff; color : #0c0; }Once you've written your entire style sheet, save it as a .css file. Make a note of where you saved it so that you know what the URL will be when you upload it.
  • 4. CSS EXTERNAL STYLE SYNTAX <html> <head> <title>External Style Sheet</title> <link rel= "stylesheet" type="text/css" href="style.css"/> </head> <body>