Makes our website look like a website

 Describes the presentation of your HTML document.
 Our CSS code belongs in a separate document.
 Do do not work with CSS in our HTML document.
 .HTML
 .CSS
CSS
(Cascading Style Sheets)

 To organize our website. Tells our HTML where to
go AND what to look like.
 We can make and design comment boxes
 We can change the background and color of our font.
 We can add margins and create a navigation bar.
 Makes our website look like a website
Why do we need CSS?

 We need to connect our HTML document to our CSS
document
 This is very easy, we start by opening our HTML
document.
 Inside your <head> tag is where we will write the
code linking our HTML document to our CSS
document.
1st thing’s 1st

 <link rel="stylesheet" type="text/css" href="style.css">
 Linking a style sheet
 Giving it a type
 Telling Komodo where to find our CSS document.
The code

 <!DOCTYPE html>
 <html>
 <head>
 <title>Your Website</title>
 <link rel="stylesheet" type="text/css"
href="style.css">
 </head>
What your code should
look like

 CSS needs to know what it’s editing.
 You can edit every part of your website individually
if you just tell CSS what you want to change.
 Example…
 Lets change the font color of our Header <h1>
So what does CSS code
look like?

 We know what we want to change is in-between the
<h1> and </h1> tags
 Tell CSS this by inputting this code
 h1{
Font-color:blue;
}
Changing Font Color

 h1{
Font-color:blue;
}
 Selected our the header by typing h1
 We start the command with a {
 We insert the command after, Font-Color
 We place a semi colon : after the command then we give it
a value.
 To end our CSS code we need 2 things.
 Semi colon after the value ; and a closing } to end the code
What did we just do?

 You need to practice and CSS will become easier.
 We find what we want to edit.
 We tell CSS how we want to edit it.
CSS isn’t that difficult.

More Related Content

PPTX
PDF
Tutorial5
PPTX
Htmlcss1
PPTX
Css intro
PPTX
Styling text using css
PPT
Streamlining Website Development in Dreamweaver
PPTX
Div Tag Tutorial
PDF
How to-inline-style-in-reactjs-
Tutorial5
Htmlcss1
Css intro
Styling text using css
Streamlining Website Development in Dreamweaver
Div Tag Tutorial
How to-inline-style-in-reactjs-

What's hot (18)

PPTX
INTRODUCTIONS OF CSS
PPTX
Css introduction
PPTX
David Weliver
PPTX
PDF
Getting to Grips with Firebug
PPSX
Raw plugin demonstration
PPTX
How To Become A Web Page Master Builder
PDF
How to create Custom Page Template in WordPress
PPTX
ASP.NET with VB.NET
DOC
Adding A Scrolling Marquee
PPTX
Hushang Gaikwad
DOCX
How to creat a wepsite on wordpress .
PPT
Web Designing Bugs - Fixes By Nyros Developer
PPTX
How to edit your wik its
PPTX
Css inclusion
PPTX
Master page and Theme ASP.NET with VB.NET
PDF
Godaddy Blog Setup
PDF
Intro to CSS
INTRODUCTIONS OF CSS
Css introduction
David Weliver
Getting to Grips with Firebug
Raw plugin demonstration
How To Become A Web Page Master Builder
How to create Custom Page Template in WordPress
ASP.NET with VB.NET
Adding A Scrolling Marquee
Hushang Gaikwad
How to creat a wepsite on wordpress .
Web Designing Bugs - Fixes By Nyros Developer
How to edit your wik its
Css inclusion
Master page and Theme ASP.NET with VB.NET
Godaddy Blog Setup
Intro to CSS
Ad

Viewers also liked (8)

ODP
An Introduction to Cascading Style Sheets (CSS3)
DOCX
Lesson plan: HTML Formatting Texts and Paragraphs
PDF
K-12 Module in TLE - ICT Grade 10 [All Gradings]
DOC
Computer Hardware Servicing Learning Module v.2.0
PDF
K-12 Module in TLE - ICT Grade 9 [All Gradings]
PDF
Final Demo Semi Detailed Lesson Plan in TLE 2 (LAN Cabling)
PDF
Learning Module Cookery Grade 10
PDF
TLE/ HE Cookery Curriculum Guide
An Introduction to Cascading Style Sheets (CSS3)
Lesson plan: HTML Formatting Texts and Paragraphs
K-12 Module in TLE - ICT Grade 10 [All Gradings]
Computer Hardware Servicing Learning Module v.2.0
K-12 Module in TLE - ICT Grade 9 [All Gradings]
Final Demo Semi Detailed Lesson Plan in TLE 2 (LAN Cabling)
Learning Module Cookery Grade 10
TLE/ HE Cookery Curriculum Guide
Ad

Similar to Cascading Style Sheets (20)

PPTX
HTML to CSS Basics Exer 2.pptx
PPTX
Workshop 2 Slides.pptx
PPTX
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
DOCX
Basic CSS concepts by naveen kumar veligeti
PPTX
Cascading style sheet, CSS Box model, Table in CSS
PDF
INTERNSHIP PROJECT PPT RAJ HZL.pdf
PDF
cascading style sheets ppt.sildeshower phone view
PDF
Create Web Pages by programming of your chice.pdf
PPTX
CSS Selectors: element, class, id
PPTX
What is CSS.pptx power point presentation
PPTX
PDF
Tfbyoweb.4.9.17
PDF
Tfbyoweb.4.9.17
PPTX
Chapter-5.pptx introduction to HTML and CSS
PPT
working with internet technologies using CSS
PPTX
CSS – CASCADING STYLE SHEET - MY_PPT.pptx
PPTX
CSS – CASCADING STYLE SHEET - MY_PPT.pptx
PPT
PPTX
INTRODUCTION CODING - THE HTML AND CSS.pptx
HTML to CSS Basics Exer 2.pptx
Workshop 2 Slides.pptx
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
Basic CSS concepts by naveen kumar veligeti
Cascading style sheet, CSS Box model, Table in CSS
INTERNSHIP PROJECT PPT RAJ HZL.pdf
cascading style sheets ppt.sildeshower phone view
Create Web Pages by programming of your chice.pdf
CSS Selectors: element, class, id
What is CSS.pptx power point presentation
Tfbyoweb.4.9.17
Tfbyoweb.4.9.17
Chapter-5.pptx introduction to HTML and CSS
working with internet technologies using CSS
CSS – CASCADING STYLE SHEET - MY_PPT.pptx
CSS – CASCADING STYLE SHEET - MY_PPT.pptx
INTRODUCTION CODING - THE HTML AND CSS.pptx

More from sanjay joshi (20)

PPTX
Ccna security
PPTX
Array in c language
PPTX
Introduction to c programming language
PPTX
Cloud computing
PPT
Static and dynamic polymorphism
PPTX
Embeded system
PPTX
Distributed database
PPTX
Vb and asp.net
PPTX
Angular js
PPTX
introduction to c programming language
PPTX
Oops in php
PPTX
Css3 responsive
PPT
Html ppt
PPT
Java script
PPT
Data Structure And Queue
PPTX
Introduction to java
PPT
Static and dynamic polymorphism
PPTX
Angularjs
PPT
Visual basic
PPTX
Distributed database
Ccna security
Array in c language
Introduction to c programming language
Cloud computing
Static and dynamic polymorphism
Embeded system
Distributed database
Vb and asp.net
Angular js
introduction to c programming language
Oops in php
Css3 responsive
Html ppt
Java script
Data Structure And Queue
Introduction to java
Static and dynamic polymorphism
Angularjs
Visual basic
Distributed database

Recently uploaded (20)

PDF
Hazard Identification & Risk Assessment .pdf
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
advance database management system book.pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
My India Quiz Book_20210205121199924.pdf
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
HVAC Specification 2024 according to central public works department
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
Hazard Identification & Risk Assessment .pdf
Unit 4 Computer Architecture Multicore Processor.pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
advance database management system book.pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Share_Module_2_Power_conflict_and_negotiation.pptx
A powerpoint presentation on the Revised K-10 Science Shaping Paper
My India Quiz Book_20210205121199924.pdf
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
B.Sc. DS Unit 2 Software Engineering.pptx
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
HVAC Specification 2024 according to central public works department
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
What if we spent less time fighting change, and more time building what’s rig...
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα

Cascading Style Sheets

  • 1. Makes our website look like a website
  • 2.   Describes the presentation of your HTML document.  Our CSS code belongs in a separate document.  Do do not work with CSS in our HTML document.  .HTML  .CSS CSS (Cascading Style Sheets)
  • 3.   To organize our website. Tells our HTML where to go AND what to look like.  We can make and design comment boxes  We can change the background and color of our font.  We can add margins and create a navigation bar.  Makes our website look like a website Why do we need CSS?
  • 4.   We need to connect our HTML document to our CSS document  This is very easy, we start by opening our HTML document.  Inside your <head> tag is where we will write the code linking our HTML document to our CSS document. 1st thing’s 1st
  • 5.   <link rel="stylesheet" type="text/css" href="style.css">  Linking a style sheet  Giving it a type  Telling Komodo where to find our CSS document. The code
  • 6.   <!DOCTYPE html>  <html>  <head>  <title>Your Website</title>  <link rel="stylesheet" type="text/css" href="style.css">  </head> What your code should look like
  • 7.   CSS needs to know what it’s editing.  You can edit every part of your website individually if you just tell CSS what you want to change.  Example…  Lets change the font color of our Header <h1> So what does CSS code look like?
  • 8.   We know what we want to change is in-between the <h1> and </h1> tags  Tell CSS this by inputting this code  h1{ Font-color:blue; } Changing Font Color
  • 9.   h1{ Font-color:blue; }  Selected our the header by typing h1  We start the command with a {  We insert the command after, Font-Color  We place a semi colon : after the command then we give it a value.  To end our CSS code we need 2 things.  Semi colon after the value ; and a closing } to end the code What did we just do?
  • 10.   You need to practice and CSS will become easier.  We find what we want to edit.  We tell CSS how we want to edit it. CSS isn’t that difficult.