SlideShare a Scribd company logo
CSS
Cascading Style Sheets
CONTENTS{
1. What is CSS?
2. Syntax
3. Cascading Order
4. Examples of Properties
5. Limitations
6. CSS variations
{WHAT IS CSS?
 CSS stands for Cascading Style Sheets
 Styles define how to display (X)HTML elements
 Styles are normally stored in Style Sheets
 Multiple style definitions will cascade into one
{WHY TO USE STYLES?
 Documents written with CSS are
 more flexible
 short
 clear
 Basic formating tool
 Easy multiple document managment
 Save time by using selector classes
 New opportunities in formating
Webpage
Structure
(X)HTML
Style-
formatting
CSS
SYNTAX
CSS
{ BASIC SYNTAX
 Made up of three parts:
selector {property: value}
 The selector is normally the HTML element/tag you
wish to define
 The property is the attribute you wish to change
 Every property has the value
{ SYNTAX
 If the value is multiple words, put quotes around
the value
p {font-family: "sans serif"}
 To make the style definitions more readable, you
can describe one property on each line
p
{
text-align: center;
color: black;
font-family: arial
}
{ GROUPING
h1,h2,h3,h4,h5,h6
{
color: green
}
 All header elements will be displayed in green text color
This is header h1
This is header h2
This is header h3
This is header h4
{ THE CLASS SELECTOR
 With the class selector you can define different styles for
the same type of HTML element.
p.right {text-align: right}
p.center {text-align: center}
 Using the class argument in (X)HTML:
<p class="right"> This paragraph will be right-
aligned. </p>
<p class="center"> This paragraph will be
center-aligned. </p>
{ TEXT COLOR
<html><head>
<style type="text/css">
h1 {color: green}
h2 {color: #dda0dd}
p {color: rgb(0,0,255)}
</style>
</head>
<body>
<h1>This is header 1</h1>
<h2>This is header 2</h2>
<p>This is a
paragraph</p>
</body>
</html>
This is header 1
This is header 2
This is a paragraph
INSERTING OF STYLE SHEET
CSS
{CASCADING ORDER
1. Browser default
2. External style sheet
 inside external *.css file
3. Internal style sheet
 inside the <head> tag
4. Inline style
 inside an HTML element
{EXTERNAL STYLE SHEET
 Each webpage
must link to the
style sheet using
the <link> tag
 Browser reads styles
definitions from
mystyle.css file
<head>
<link rel="stylesheet"
type="text/css"
href="mystyle.css" />
</head>
{ INTERNAL STYLE SHEET
 Should be used when a
single document has a
unique style
 Defined in the head
section by using the
<style> tag
<head>
<style type="text/css">
hr {color: sienna}
p {margin-left: 20px}
body {background-image:
url("images/back40.gif
")}
</style>
</head>
{ MULTIPLE STYLE SHEETS
 An internal style sheet
has following properties
for the h3 selector:
h3 { text-align: right;
font-size: 20pt }
 External style sheet has
these:
h3 { color: red;
text-align: left;
font-size: 8pt }
 Your Web Browser has
default formatting:
h3 { color: black;
font size: 10pt }
 What will be the format of
<h3> tag?
o color: red;
o text-align: right;
o font-size: 20pt
EXAMPLES
CSS Properties & values
{ BACKGROUND:
 Control over the
background color of an
element
 set an image as the
background,
 repeat a background
image
 background-color
 color-rgb
color-hex
color-name
 background-image
 url(URL)
none
 background-repeat
 repeat
repeat-x
repeat-y
no-repeat
{TEXT:
 color
 direction
 ltr
rtl
 word spacing
 normal
length
 text-decoration
 none
underline
overline
line-through
blink
 text-align
 left
right
center
justify
{FONT:
 font-family
• family-name
generic-family
 font-size
 xx-small
x-small
small
 /etc./
 font-weigh
 normal
bold
bolder
lighter
100
{DIMENSION
{LIST:<head>
<style type="text/css">
ul
{
list-style-image: url('arrow.gif')
}
</style>
</head>
<body>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Coca Cola</li>
</ul>
</body>
CSS
Variations, Limitations
{CSS LIMITATIONS
 Some noted disadvantages of using "pure" CSS
include
 Inconsistent browser support
 Absence of expressions
 Lack of Variables
 Lack of multiple backgrounds per element
 Control of Element Shapes

More Related Content

What's hot

CSS (Cascading Style Sheet)
CSS (Cascading Style Sheet)CSS (Cascading Style Sheet)
CSS (Cascading Style Sheet)
Harshit Srivastava
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style SheetsMarc Steel
 
Html Styles-CSS
Html Styles-CSSHtml Styles-CSS
Html Styles-CSS
ispkosova
 
Css and its types
Css and its typesCss and its types
Css and its types
Mansi Mahadik
 
chitra
chitrachitra
chitra
sweet chitra
 
Introduction of css
Introduction of cssIntroduction of css
Introduction of css
Dinesh Kumar
 
CSS LAY OUT
CSS LAY OUTCSS LAY OUT
CSS LAY OUTkylleses
 
Languages for web(HTML,CSS,JS)
Languages for web(HTML,CSS,JS)Languages for web(HTML,CSS,JS)
Languages for web(HTML,CSS,JS)
MHR11
 
Css
CssCss
introduction to CSS
introduction to CSSintroduction to CSS
introduction to CSS
Manish jariyal
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to csseShikshak
 
Introducing the style tag 2830
Introducing the style tag  2830Introducing the style tag  2830
Introducing the style tag 2830mdjstudios
 
CSS introduction
CSS introductionCSS introduction
CSS introduction
CloudTech 
 
Using Cascading Style Sheets2
Using Cascading Style Sheets2Using Cascading Style Sheets2
Using Cascading Style Sheets2Sutinder Mann
 
CSS Basics (Cascading Style Sheet)
CSS Basics (Cascading Style Sheet)CSS Basics (Cascading Style Sheet)
CSS Basics (Cascading Style Sheet)
Ajay Khatri
 
The three types of style sheet lesson two fourth quarter fourth year
The three types of style sheet lesson two fourth quarter fourth yearThe three types of style sheet lesson two fourth quarter fourth year
The three types of style sheet lesson two fourth quarter fourth yearPerry Mallari
 

What's hot (18)

CSS (Cascading Style Sheet)
CSS (Cascading Style Sheet)CSS (Cascading Style Sheet)
CSS (Cascading Style Sheet)
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Html Styles-CSS
Html Styles-CSSHtml Styles-CSS
Html Styles-CSS
 
Css
CssCss
Css
 
Css and its types
Css and its typesCss and its types
Css and its types
 
chitra
chitrachitra
chitra
 
Introduction of css
Introduction of cssIntroduction of css
Introduction of css
 
CSS LAY OUT
CSS LAY OUTCSS LAY OUT
CSS LAY OUT
 
Languages for web(HTML,CSS,JS)
Languages for web(HTML,CSS,JS)Languages for web(HTML,CSS,JS)
Languages for web(HTML,CSS,JS)
 
Css
CssCss
Css
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
introduction to CSS
introduction to CSSintroduction to CSS
introduction to CSS
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
Introducing the style tag 2830
Introducing the style tag  2830Introducing the style tag  2830
Introducing the style tag 2830
 
CSS introduction
CSS introductionCSS introduction
CSS introduction
 
Using Cascading Style Sheets2
Using Cascading Style Sheets2Using Cascading Style Sheets2
Using Cascading Style Sheets2
 
CSS Basics (Cascading Style Sheet)
CSS Basics (Cascading Style Sheet)CSS Basics (Cascading Style Sheet)
CSS Basics (Cascading Style Sheet)
 
The three types of style sheet lesson two fourth quarter fourth year
The three types of style sheet lesson two fourth quarter fourth yearThe three types of style sheet lesson two fourth quarter fourth year
The three types of style sheet lesson two fourth quarter fourth year
 

Viewers also liked

Business Vulnerability Index - Q3 2014_November
Business Vulnerability Index - Q3 2014_NovemberBusiness Vulnerability Index - Q3 2014_November
Business Vulnerability Index - Q3 2014_NovemberKevin Vlietman
 
Graphic Design Portraits
Graphic Design PortraitsGraphic Design Portraits
Graphic Design Portraits
Bailey Hall
 
Историја физике
Историја физикеИсторија физике
Историја физике
Марко Ђорђевић
 
Naše kurzy Vám pomohou zefektivnit výuku. Se vzděláním začínáme tam, kde osta...
Naše kurzy Vám pomohou zefektivnit výuku. Se vzděláním začínáme tam, kde osta...Naše kurzy Vám pomohou zefektivnit výuku. Se vzděláním začínáme tam, kde osta...
Naše kurzy Vám pomohou zefektivnit výuku. Se vzděláním začínáme tam, kde osta...
NET University, s.r.o.
 
Is het leven strijd
Is het leven strijdIs het leven strijd
Is het leven strijdArnaud Veere
 
School event - 2016
School event - 2016School event - 2016
School event - 2016
NET University, s.r.o.
 
Cybercrime: 5 Practical Tips for Law Firms on Avoiding Financial & Reputation...
Cybercrime: 5 Practical Tips for Law Firms on Avoiding Financial & Reputation...Cybercrime: 5 Practical Tips for Law Firms on Avoiding Financial & Reputation...
Cybercrime: 5 Practical Tips for Law Firms on Avoiding Financial & Reputation...
Lucien Pierce
 
Twish
TwishTwish
Anita rosiyanti
Anita rosiyantiAnita rosiyanti
Anita rosiyanti
panglimaagus
 
Genre Analysis
Genre AnalysisGenre Analysis
Genre Analysis
paitinduplooy
 
10.0000@www.researchgate.net@11315284
10.0000@www.researchgate.net@1131528410.0000@www.researchgate.net@11315284
10.0000@www.researchgate.net@11315284
Marium Bano
 
Steve Jobs
Steve JobsSteve Jobs
Steve Jobs
Marques248
 
Exploring The Efficacy of The Thrive Programme with Emetophic Clients Result...
Exploring The Efficacy of The Thrive Programme with Emetophic Clients  Result...Exploring The Efficacy of The Thrive Programme with Emetophic Clients  Result...
Exploring The Efficacy of The Thrive Programme with Emetophic Clients Result...Kate Patterson
 
Communication
CommunicationCommunication
Communication
Venkat Shri
 
A cluster-randomized
A cluster-randomized A cluster-randomized
A cluster-randomized Tanja Tomson
 
Storyboard
StoryboardStoryboard
Storyboard
Anya Wagstaff
 
Cow shower ups production entrepreneur
Cow shower ups production   entrepreneurCow shower ups production   entrepreneur
Cow shower ups production entrepreneur
Dr.Rami Hamad
 

Viewers also liked (20)

Business Vulnerability Index - Q3 2014_November
Business Vulnerability Index - Q3 2014_NovemberBusiness Vulnerability Index - Q3 2014_November
Business Vulnerability Index - Q3 2014_November
 
Graphic Design Portraits
Graphic Design PortraitsGraphic Design Portraits
Graphic Design Portraits
 
Историја физике
Историја физикеИсторија физике
Историја физике
 
Naše kurzy Vám pomohou zefektivnit výuku. Se vzděláním začínáme tam, kde osta...
Naše kurzy Vám pomohou zefektivnit výuku. Se vzděláním začínáme tam, kde osta...Naše kurzy Vám pomohou zefektivnit výuku. Se vzděláním začínáme tam, kde osta...
Naše kurzy Vám pomohou zefektivnit výuku. Se vzděláním začínáme tam, kde osta...
 
Is het leven strijd
Is het leven strijdIs het leven strijd
Is het leven strijd
 
School event - 2016
School event - 2016School event - 2016
School event - 2016
 
Cybercrime: 5 Practical Tips for Law Firms on Avoiding Financial & Reputation...
Cybercrime: 5 Practical Tips for Law Firms on Avoiding Financial & Reputation...Cybercrime: 5 Practical Tips for Law Firms on Avoiding Financial & Reputation...
Cybercrime: 5 Practical Tips for Law Firms on Avoiding Financial & Reputation...
 
Twish
TwishTwish
Twish
 
Anita rosiyanti
Anita rosiyantiAnita rosiyanti
Anita rosiyanti
 
Lvov
LvovLvov
Lvov
 
Tolios
ToliosTolios
Tolios
 
Genre Analysis
Genre AnalysisGenre Analysis
Genre Analysis
 
10.0000@www.researchgate.net@11315284
10.0000@www.researchgate.net@1131528410.0000@www.researchgate.net@11315284
10.0000@www.researchgate.net@11315284
 
Steve Jobs
Steve JobsSteve Jobs
Steve Jobs
 
Exploring The Efficacy of The Thrive Programme with Emetophic Clients Result...
Exploring The Efficacy of The Thrive Programme with Emetophic Clients  Result...Exploring The Efficacy of The Thrive Programme with Emetophic Clients  Result...
Exploring The Efficacy of The Thrive Programme with Emetophic Clients Result...
 
Communication
CommunicationCommunication
Communication
 
A cluster-randomized
A cluster-randomized A cluster-randomized
A cluster-randomized
 
Storyboard
StoryboardStoryboard
Storyboard
 
Al Ain -UAE - 2015
Al Ain -UAE - 2015Al Ain -UAE - 2015
Al Ain -UAE - 2015
 
Cow shower ups production entrepreneur
Cow shower ups production   entrepreneurCow shower ups production   entrepreneur
Cow shower ups production entrepreneur
 

Similar to Session v(css)

Css introduction
Css introductionCss introduction
Css introductionSridhar P
 
CSS.ppt
CSS.pptCSS.ppt
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
Mukesh Tekwani
 
Css introduction
Css  introductionCss  introduction
Css introduction
vishnu murthy
 
Css
CssCss
Introduction HTML and CSS
Introduction HTML and CSSIntroduction HTML and CSS
Introduction HTML and CSS
GovtITIWomen
 
Lecture 3CSS part 1.pptx
Lecture 3CSS part 1.pptxLecture 3CSS part 1.pptx
Lecture 3CSS part 1.pptx
GmachImen
 
Beginners css tutorial for web designers
Beginners css tutorial for web designersBeginners css tutorial for web designers
Beginners css tutorial for web designers
Singsys Pte Ltd
 
Lecture 9 CSS part 1.pptxType Classification
Lecture 9 CSS part 1.pptxType ClassificationLecture 9 CSS part 1.pptxType Classification
Lecture 9 CSS part 1.pptxType Classification
ZahouAmel1
 
Cashcading stylesheets
Cashcading stylesheetsCashcading stylesheets
Cashcading stylesheets
reddivarihareesh
 
CSS_Day_ONE (W3schools)
CSS_Day_ONE (W3schools)CSS_Day_ONE (W3schools)
CSS_Day_ONE (W3schools)
Rafi Haidari
 
Cascading Style Sheets (CSS)
Cascading Style Sheets (CSS)Cascading Style Sheets (CSS)
Cascading Style Sheets (CSS)
Harshil Darji
 
Css Basics
Css BasicsCss Basics
Css Basics
Jay Patel
 
DW_lesson2.ppt
DW_lesson2.pptDW_lesson2.ppt
DW_lesson2.ppt
JohnpaulStem11
 
CSS Cascading Style Sheet Introduction slides
CSS Cascading Style Sheet Introduction slidesCSS Cascading Style Sheet Introduction slides
CSS Cascading Style Sheet Introduction slides
Aasma13
 
DW_lesson2.ppt
DW_lesson2.pptDW_lesson2.ppt
DW_lesson2.ppt
UsamaShakeel22
 

Similar to Session v(css) (20)

Css introduction
Css introductionCss introduction
Css introduction
 
CSS.ppt
CSS.pptCSS.ppt
CSS.ppt
 
Css
CssCss
Css
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Css introduction
Css  introductionCss  introduction
Css introduction
 
Css
CssCss
Css
 
Introduction HTML and CSS
Introduction HTML and CSSIntroduction HTML and CSS
Introduction HTML and CSS
 
Lecture 3CSS part 1.pptx
Lecture 3CSS part 1.pptxLecture 3CSS part 1.pptx
Lecture 3CSS part 1.pptx
 
Lecture-6.pptx
Lecture-6.pptxLecture-6.pptx
Lecture-6.pptx
 
Beginners css tutorial for web designers
Beginners css tutorial for web designersBeginners css tutorial for web designers
Beginners css tutorial for web designers
 
Lecture 9 CSS part 1.pptxType Classification
Lecture 9 CSS part 1.pptxType ClassificationLecture 9 CSS part 1.pptxType Classification
Lecture 9 CSS part 1.pptxType Classification
 
Cashcading stylesheets
Cashcading stylesheetsCashcading stylesheets
Cashcading stylesheets
 
CSS_Day_ONE (W3schools)
CSS_Day_ONE (W3schools)CSS_Day_ONE (W3schools)
CSS_Day_ONE (W3schools)
 
Cascading Style Sheets (CSS)
Cascading Style Sheets (CSS)Cascading Style Sheets (CSS)
Cascading Style Sheets (CSS)
 
Css Basics
Css BasicsCss Basics
Css Basics
 
Css inclusion
Css   inclusionCss   inclusion
Css inclusion
 
DW_lesson2.ppt
DW_lesson2.pptDW_lesson2.ppt
DW_lesson2.ppt
 
CSS Cascading Style Sheet Introduction slides
CSS Cascading Style Sheet Introduction slidesCSS Cascading Style Sheet Introduction slides
CSS Cascading Style Sheet Introduction slides
 
DW_lesson2.ppt
DW_lesson2.pptDW_lesson2.ppt
DW_lesson2.ppt
 
DW_lesson2.ppt
DW_lesson2.pptDW_lesson2.ppt
DW_lesson2.ppt
 

More from Shrijan Tiwari

ASPX Session xi(page lifecycle)
ASPX Session xi(page lifecycle)ASPX Session xi(page lifecycle)
ASPX Session xi(page lifecycle)
Shrijan Tiwari
 
Session x(ado.net)
Session x(ado.net)Session x(ado.net)
Session x(ado.net)
Shrijan Tiwari
 
Session viii(state mngtserver)
Session viii(state mngtserver)Session viii(state mngtserver)
Session viii(state mngtserver)
Shrijan Tiwari
 
Session viii(state mngtclient)
Session viii(state mngtclient)Session viii(state mngtclient)
Session viii(state mngtclient)
Shrijan Tiwari
 
Session vii(java scriptbasics)
Session vii(java scriptbasics)Session vii(java scriptbasics)
Session vii(java scriptbasics)
Shrijan Tiwari
 
Session vi(user control)
Session vi(user control)Session vi(user control)
Session vi(user control)
Shrijan Tiwari
 
Session ix(database)
Session ix(database)Session ix(database)
Session ix(database)
Shrijan Tiwari
 
Session iv(master pages)
Session iv(master pages)Session iv(master pages)
Session iv(master pages)
Shrijan Tiwari
 
Session iii(server controls)
Session iii(server controls)Session iii(server controls)
Session iii(server controls)
Shrijan Tiwari
 
Session ii(html)
Session ii(html)Session ii(html)
Session ii(html)
Shrijan Tiwari
 
Session i(introduction)
Session i(introduction)Session i(introduction)
Session i(introduction)
Shrijan Tiwari
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
Shrijan Tiwari
 

More from Shrijan Tiwari (12)

ASPX Session xi(page lifecycle)
ASPX Session xi(page lifecycle)ASPX Session xi(page lifecycle)
ASPX Session xi(page lifecycle)
 
Session x(ado.net)
Session x(ado.net)Session x(ado.net)
Session x(ado.net)
 
Session viii(state mngtserver)
Session viii(state mngtserver)Session viii(state mngtserver)
Session viii(state mngtserver)
 
Session viii(state mngtclient)
Session viii(state mngtclient)Session viii(state mngtclient)
Session viii(state mngtclient)
 
Session vii(java scriptbasics)
Session vii(java scriptbasics)Session vii(java scriptbasics)
Session vii(java scriptbasics)
 
Session vi(user control)
Session vi(user control)Session vi(user control)
Session vi(user control)
 
Session ix(database)
Session ix(database)Session ix(database)
Session ix(database)
 
Session iv(master pages)
Session iv(master pages)Session iv(master pages)
Session iv(master pages)
 
Session iii(server controls)
Session iii(server controls)Session iii(server controls)
Session iii(server controls)
 
Session ii(html)
Session ii(html)Session ii(html)
Session ii(html)
 
Session i(introduction)
Session i(introduction)Session i(introduction)
Session i(introduction)
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 

Recently uploaded

Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
Tendenci - The Open Source AMS (Association Management Software)
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
Jelle | Nordend
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
Peter Caitens
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 

Recently uploaded (20)

Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 

Session v(css)

  • 2. CONTENTS{ 1. What is CSS? 2. Syntax 3. Cascading Order 4. Examples of Properties 5. Limitations 6. CSS variations
  • 3. {WHAT IS CSS?  CSS stands for Cascading Style Sheets  Styles define how to display (X)HTML elements  Styles are normally stored in Style Sheets  Multiple style definitions will cascade into one
  • 4. {WHY TO USE STYLES?  Documents written with CSS are  more flexible  short  clear  Basic formating tool  Easy multiple document managment  Save time by using selector classes  New opportunities in formating Webpage Structure (X)HTML Style- formatting CSS
  • 6. { BASIC SYNTAX  Made up of three parts: selector {property: value}  The selector is normally the HTML element/tag you wish to define  The property is the attribute you wish to change  Every property has the value
  • 7. { SYNTAX  If the value is multiple words, put quotes around the value p {font-family: "sans serif"}  To make the style definitions more readable, you can describe one property on each line p { text-align: center; color: black; font-family: arial }
  • 8. { GROUPING h1,h2,h3,h4,h5,h6 { color: green }  All header elements will be displayed in green text color This is header h1 This is header h2 This is header h3 This is header h4
  • 9. { THE CLASS SELECTOR  With the class selector you can define different styles for the same type of HTML element. p.right {text-align: right} p.center {text-align: center}  Using the class argument in (X)HTML: <p class="right"> This paragraph will be right- aligned. </p> <p class="center"> This paragraph will be center-aligned. </p>
  • 10. { TEXT COLOR <html><head> <style type="text/css"> h1 {color: green} h2 {color: #dda0dd} p {color: rgb(0,0,255)} </style> </head> <body> <h1>This is header 1</h1> <h2>This is header 2</h2> <p>This is a paragraph</p> </body> </html> This is header 1 This is header 2 This is a paragraph
  • 11. INSERTING OF STYLE SHEET CSS
  • 12. {CASCADING ORDER 1. Browser default 2. External style sheet  inside external *.css file 3. Internal style sheet  inside the <head> tag 4. Inline style  inside an HTML element
  • 13. {EXTERNAL STYLE SHEET  Each webpage must link to the style sheet using the <link> tag  Browser reads styles definitions from mystyle.css file <head> <link rel="stylesheet" type="text/css" href="mystyle.css" /> </head>
  • 14. { INTERNAL STYLE SHEET  Should be used when a single document has a unique style  Defined in the head section by using the <style> tag <head> <style type="text/css"> hr {color: sienna} p {margin-left: 20px} body {background-image: url("images/back40.gif ")} </style> </head>
  • 15. { MULTIPLE STYLE SHEETS  An internal style sheet has following properties for the h3 selector: h3 { text-align: right; font-size: 20pt }  External style sheet has these: h3 { color: red; text-align: left; font-size: 8pt }  Your Web Browser has default formatting: h3 { color: black; font size: 10pt }  What will be the format of <h3> tag? o color: red; o text-align: right; o font-size: 20pt
  • 17. { BACKGROUND:  Control over the background color of an element  set an image as the background,  repeat a background image  background-color  color-rgb color-hex color-name  background-image  url(URL) none  background-repeat  repeat repeat-x repeat-y no-repeat
  • 18.
  • 19. {TEXT:  color  direction  ltr rtl  word spacing  normal length  text-decoration  none underline overline line-through blink  text-align  left right center justify
  • 20.
  • 21. {FONT:  font-family • family-name generic-family  font-size  xx-small x-small small  /etc./  font-weigh  normal bold bolder lighter 100
  • 25. {CSS LIMITATIONS  Some noted disadvantages of using "pure" CSS include  Inconsistent browser support  Absence of expressions  Lack of Variables  Lack of multiple backgrounds per element  Control of Element Shapes