SlideShare a Scribd company logo
Seminar
On
Cascading Style Sheets
 History of CSS
 Introduction of CSS
What is CSS?
 Why use CSS?
 CSS Syntax
 CSS Selectors.
 Why to Insert CSS?
 CSS Properties.
History
 CSS Was first proposed by Hakon Winum Lie on October 10,
1994. Lie was Working with Tim Berners-Lee at CERN.
CSS has various levels and profiles:
 Each level of CSS builds upon the last, typically adding new
features and typically denoted as CSS 1, CSS 2,css3.
Css1:-
 The first CSS specification to become an official W3C
Recommendation is CSS level 1.
 Published inDecember 17, 1996. Håkon Wium Lie and Bert Bos.
Css2:
 CSS level 2 specification was developed by the W3C and
published as a recommendation in May 1998. A superset of
CSS 1, CSS 2
Css2.1:-
 CSS level 2 revision 1, often referred to as "CSS 2.1", fixes
errors in CSS 2, removes poorly supported or not fully
interoperable features.
 CSS 2.1 went to Proposed Recommendation on 12 April
2011. After being reviewed by the W3C Advisory
Committee, it was finally published as a W3C
Recommendation on 7 June 2011
CSS3:-
 different modules have different stability and
statuses. As of June 2012, there are over fifty CSS
modules published from the CSS Working Group
Introduction
 CSS is a rule based language designed to be called
from an HTML,XHTML or XML document.
 CSS was created by w3(consortium).
 The purpose of Cascading Style Sheets is to allow web
authors to manipulate a web page’s appearance
without affecting it’s HTML structure.
What is CSS?
 CSS stands for Cascading Style Sheets.
 It is not a language. It is a part of design.
 CSS is a heart of HTML.
 CSS allows us to apply formatting and styling to the
HTML that builds our web pages.
 Style: CSS deals specifically with the presentation
domain of designing a web pages. like(color, font,
layout , Tables, Paragraphs and Headings )
Why use CSS?
 Allows for much richer documents appearances than
HTML
 Reduce workload by centralizing commands for visual
appearances instead of the HTML document.
 Use same style on multiple pages.
 Reduce page download size.
CSS Syntax:
 H1 { color : blue; font-size : 12px; }
property value property value
 Selector
 The HTML element you want to add style to.
(examples: p, h2, body, img, table)
Declaration:
 Property: what aspect you want to change
(examples: color, font-size, margin)
 Value: the exact setting for that aspect
(examples: red, italic, 14pt)
P { color : red; text-align : center; }
CSS comments:
 Comments are used to explain your code and may help
you when you edit the source code at a later date
/* this is a comment */
p{
text-align: center ;
/* this is paragraph */
}
CSS Selectors:
 Style for a HTML element, CSS allows you to specific your
own selectors called “Id” and “Class”.
 Id: this selector is used to specific a style for a single,
unique elements. is defined with a “#”.
 #p { font-size: 10px;
font-color: White; }
 Class: the class selector is used to specify a style for a group
of elements. And used to HTML class attribute. A class
selector is a name preceded by a period (.)
 .class {color: red}
.class { font-size: 10px;
font-color: White; }
Ways to Insert CSS:
Attaching a style sheets to a page by adding the code to
the <head>
1. External Style Sheet
2. Internal Style Sheets
3. Inline Style
1.External Style Sheets
 It is ideal when the style is applied to many pages.
 Styles are saved in a separate file, with the extension
.css
<head>
<link rel=“ style sheets”
type=“text/css”
href=“mystyle.css”/>
</head>
2.Internal Style Sheet
Define style tag inside head section
 Styles are defined within the <style> </style> tag, which is
placed in the header of the html file (i.e., within <head>
and </head>).
<head>
<style type=“text/css”>
h1 { color : red; }
p { margin-left : 20px; }
</style>
</shead>
3.Inline Style
 CSS is not attaching in the <header> but is used
directly within HTML tages.
Example
<p style="font-size: 10pt; color: red; font-weight: bold;
font-family: Arial, Helvetica, sans-serif">
This is a local style sheet declaration. </p>
CSS Properties
 Styling backgrounds
I. Background-color
II. Back ground-images
III. Background-repeat (v,h)
IV. Background-position c,r
 Text
I. Text color
II. Text alignment
III. Text decoration (underline, blink)
IV. Text transformation (lc,uc)
Font:
 font-family : A prioritized list of font family names
and/or generic family names for an element
p{ font-family:”times new roman” }
 font-size : Sets the size of a font
h1 { font-size : 40px; }
 font-style : Sets the style of the font
p.normal { font-style : normal; }
 font-weight : Sets the weight of a font.
p.normal { font-weight : bold; }
List Properties:
 list-style-image : Sets an image as the list-item marker
ex: url
 list-style-position : Places the list-item marker in the
list. ex: inside outside
 list-style-type : Sets the type of the list-item marker
ex: circle, square, decimal ,lower-roman, upper-
roman, lower-alpha, upper-alpha .
Conclusion:
 Cascading style sheets conclude it will give special
appearance and look and field good dynamic and
static web page. and ways to inserting to CSS By the
using of CSS properties, such as colors and fonts
weights.
References:
 www.studymafia.org
 www.wikipedia.com
 www.w3schools.com

More Related Content

What's hot

Introduction to css
Introduction to cssIntroduction to css
Introduction to csseShikshak
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
AursalanSayed
 
Css
CssCss
N5 CSS
N5 CSSN5 CSS
Week 12 CSS - Review from last week
Week 12 CSS - Review from last weekWeek 12 CSS - Review from last week
Week 12 CSS - Review from last week
Katherine McCurdy-Lapierre, R.G.D.
 
Css
CssCss
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
Folasade Adedeji
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
casestudyhelp
 
The Dark Arts of CSS
The Dark Arts of CSSThe Dark Arts of CSS
The Dark Arts of CSS
SiddharthBorderwala
 
Web programming css
Web programming cssWeb programming css
Web programming css
Uma mohan
 
Css1
Css1Css1
Introduction to css & its attributes with syntax
Introduction to css & its attributes with syntaxIntroduction to css & its attributes with syntax
Introduction to css & its attributes with syntax
priyadharshini murugan
 
Css
CssCss
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
Amit Tyagi
 

What's hot (18)

Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Css
CssCss
Css
 
Introducing Cascading Style Sheets
Introducing Cascading Style SheetsIntroducing Cascading Style Sheets
Introducing Cascading Style Sheets
 
N5 CSS
N5 CSSN5 CSS
N5 CSS
 
Css external style sheet
Css external style sheetCss external style sheet
Css external style sheet
 
CSS
CSSCSS
CSS
 
Week 12 CSS - Review from last week
Week 12 CSS - Review from last weekWeek 12 CSS - Review from last week
Week 12 CSS - Review from last week
 
Css
CssCss
Css
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
 
The Dark Arts of CSS
The Dark Arts of CSSThe Dark Arts of CSS
The Dark Arts of CSS
 
Web programming css
Web programming cssWeb programming css
Web programming css
 
Casc Style Sheets Ii
Casc Style Sheets IiCasc Style Sheets Ii
Casc Style Sheets Ii
 
Css1
Css1Css1
Css1
 
Introduction to css & its attributes with syntax
Introduction to css & its attributes with syntaxIntroduction to css & its attributes with syntax
Introduction to css & its attributes with syntax
 
Css
CssCss
Css
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 

Viewers also liked

Css advanced – session 4
Css advanced – session 4Css advanced – session 4
Css advanced – session 4
Dr. Ramkumar Lakshminarayanan
 
An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)
Ardee Aram
 
Html Css
Html CssHtml Css
Html Csspumas26
 
Cascading style sheets (css)
Cascading style sheets (css)Cascading style sheets (css)
Cascading style sheets (css)veasnarin
 
Cascading Style Sheets By Mukesh
Cascading Style Sheets By MukeshCascading Style Sheets By Mukesh
Cascading Style Sheets By Mukesh
Mukesh Kumar
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
Shehzad Yaqoob
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style SheetsPaul Dionysius
 
CSS
CSSCSS
Introduction to Cascading Style Sheets
Introduction to Cascading Style SheetsIntroduction to Cascading Style Sheets
Introduction to Cascading Style Sheets
Tushar Joshi
 
Cascading style sheets - CSS
Cascading style sheets - CSSCascading style sheets - CSS
Cascading style sheets - CSS
iFour Institute - Sustainable Learning
 
Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)
Reshmi Rajan
 
CSS Selectors
CSS SelectorsCSS Selectors
CSS Selectors
Rachel Andrew
 
CSS-Cascading Style Sheets - Introduction
CSS-Cascading Style Sheets - IntroductionCSS-Cascading Style Sheets - Introduction
CSS-Cascading Style Sheets - Introduction
Mukesh Tekwani
 
CSS, CSS Selectors, CSS Box Model
CSS, CSS Selectors, CSS Box ModelCSS, CSS Selectors, CSS Box Model
CSS, CSS Selectors, CSS Box Modeljamiecavanaugh
 
Cascading Style Sheets - CSS
Cascading Style Sheets - CSSCascading Style Sheets - CSS
Cascading Style Sheets - CSS
Sun Technlogies
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-Presented
SlideShare
 

Viewers also liked (17)

Css advanced – session 4
Css advanced – session 4Css advanced – session 4
Css advanced – session 4
 
An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)An Introduction to Cascading Style Sheets (CSS3)
An Introduction to Cascading Style Sheets (CSS3)
 
Html Css
Html CssHtml Css
Html Css
 
Cascading style sheets (css)
Cascading style sheets (css)Cascading style sheets (css)
Cascading style sheets (css)
 
Cascading Style Sheets By Mukesh
Cascading Style Sheets By MukeshCascading Style Sheets By Mukesh
Cascading Style Sheets By Mukesh
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Css
CssCss
Css
 
CSS
CSSCSS
CSS
 
Introduction to Cascading Style Sheets
Introduction to Cascading Style SheetsIntroduction to Cascading Style Sheets
Introduction to Cascading Style Sheets
 
Cascading style sheets - CSS
Cascading style sheets - CSSCascading style sheets - CSS
Cascading style sheets - CSS
 
Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)
 
CSS Selectors
CSS SelectorsCSS Selectors
CSS Selectors
 
CSS-Cascading Style Sheets - Introduction
CSS-Cascading Style Sheets - IntroductionCSS-Cascading Style Sheets - Introduction
CSS-Cascading Style Sheets - Introduction
 
CSS, CSS Selectors, CSS Box Model
CSS, CSS Selectors, CSS Box ModelCSS, CSS Selectors, CSS Box Model
CSS, CSS Selectors, CSS Box Model
 
Cascading Style Sheets - CSS
Cascading Style Sheets - CSSCascading Style Sheets - CSS
Cascading Style Sheets - CSS
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-Presented
 

Similar to Cashcading stylesheets

Chapter 3 - CSS.pdf
Chapter 3 - CSS.pdfChapter 3 - CSS.pdf
Chapter 3 - CSS.pdf
wubiederebe1
 
Lesson One Fourth Quarter Fourth Year High School CSS Modern Layout and Style
Lesson One Fourth Quarter Fourth Year High School CSS Modern Layout and StyleLesson One Fourth Quarter Fourth Year High School CSS Modern Layout and Style
Lesson One Fourth Quarter Fourth Year High School CSS Modern Layout and StylePerry Mallari
 
CSS Training in Bangalore
CSS Training in BangaloreCSS Training in Bangalore
CSS Training in Bangalore
rajkamal560066
 
Css
CssCss
cascading style sheet(css).pptx
cascading style sheet(css).pptxcascading style sheet(css).pptx
cascading style sheet(css).pptx
SuhaibKhan62
 
Css introduction
Css  introductionCss  introduction
Css introduction
vishnu murthy
 
Css training tutorial css3 &amp; css4 essentials
Css training tutorial css3 &amp; css4 essentialsCss training tutorial css3 &amp; css4 essentials
Css training tutorial css3 &amp; css4 essentials
QA TrainingHub
 
Vskills certified css designer Notes
Vskills certified css designer NotesVskills certified css designer Notes
Vskills certified css designer Notes
Vskills
 
HTML to CSS Basics Exer 2.pptx
HTML to CSS Basics Exer 2.pptxHTML to CSS Basics Exer 2.pptx
HTML to CSS Basics Exer 2.pptx
JJFajardo1
 
Css introduction
Css introductionCss introduction
Css introductionSridhar P
 
Structuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSSStructuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSS
Sanjoy Kr. Paul
 
This is css which compiled by alex that is impo
This is css which compiled by alex that is impoThis is css which compiled by alex that is impo
This is css which compiled by alex that is impo
AlebelAyalneh
 
INTRODUCTIONS OF CSS
INTRODUCTIONS OF CSSINTRODUCTIONS OF CSS
INTRODUCTIONS OF CSS
SURYANARAYANBISWAL1
 
CSS.ppt
CSS.pptCSS.ppt
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
 

Similar to Cashcading stylesheets (20)

Chapter 3 - CSS.pdf
Chapter 3 - CSS.pdfChapter 3 - CSS.pdf
Chapter 3 - CSS.pdf
 
Lesson One Fourth Quarter Fourth Year High School CSS Modern Layout and Style
Lesson One Fourth Quarter Fourth Year High School CSS Modern Layout and StyleLesson One Fourth Quarter Fourth Year High School CSS Modern Layout and Style
Lesson One Fourth Quarter Fourth Year High School CSS Modern Layout and Style
 
CSS Training in Bangalore
CSS Training in BangaloreCSS Training in Bangalore
CSS Training in Bangalore
 
Css
CssCss
Css
 
cascading style sheet(css).pptx
cascading style sheet(css).pptxcascading style sheet(css).pptx
cascading style sheet(css).pptx
 
Lecture-6.pptx
Lecture-6.pptxLecture-6.pptx
Lecture-6.pptx
 
Css introduction
Css  introductionCss  introduction
Css introduction
 
Css
CssCss
Css
 
Css training tutorial css3 &amp; css4 essentials
Css training tutorial css3 &amp; css4 essentialsCss training tutorial css3 &amp; css4 essentials
Css training tutorial css3 &amp; css4 essentials
 
Vskills certified css designer Notes
Vskills certified css designer NotesVskills certified css designer Notes
Vskills certified css designer Notes
 
HTML to CSS Basics Exer 2.pptx
HTML to CSS Basics Exer 2.pptxHTML to CSS Basics Exer 2.pptx
HTML to CSS Basics Exer 2.pptx
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
Css introduction
Css introductionCss introduction
Css introduction
 
Structuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSSStructuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSS
 
This is css which compiled by alex that is impo
This is css which compiled by alex that is impoThis is css which compiled by alex that is impo
This is css which compiled by alex that is impo
 
INTRODUCTIONS OF CSS
INTRODUCTIONS OF CSSINTRODUCTIONS OF CSS
INTRODUCTIONS OF CSS
 
CSS.ppt
CSS.pptCSS.ppt
CSS.ppt
 
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
 

More from reddivarihareesh

Network protocals
Network protocalsNetwork protocals
Network protocals
reddivarihareesh
 
Jquery
JqueryJquery
Java script
Java scriptJava script
Java script
reddivarihareesh
 
J servlets
J servletsJ servlets
J servlets
reddivarihareesh
 
Internet of things
Internet of thingsInternet of things
Internet of things
reddivarihareesh
 
Hibernate
HibernateHibernate
Hibernate
reddivarihareesh
 
Hadoop
HadoopHadoop
Google glass
Google glassGoogle glass
Google glass
reddivarihareesh
 
Firewall
FirewallFirewall
Filezilla
FilezillaFilezilla
Filezilla
reddivarihareesh
 
Cluster computing
Cluster computingCluster computing
Cluster computing
reddivarihareesh
 
Blue brain
Blue brainBlue brain
Blue brain
reddivarihareesh
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
reddivarihareesh
 
Apache
ApacheApache
Ajax
AjaxAjax

More from reddivarihareesh (15)

Network protocals
Network protocalsNetwork protocals
Network protocals
 
Jquery
JqueryJquery
Jquery
 
Java script
Java scriptJava script
Java script
 
J servlets
J servletsJ servlets
J servlets
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
Hibernate
HibernateHibernate
Hibernate
 
Hadoop
HadoopHadoop
Hadoop
 
Google glass
Google glassGoogle glass
Google glass
 
Firewall
FirewallFirewall
Firewall
 
Filezilla
FilezillaFilezilla
Filezilla
 
Cluster computing
Cluster computingCluster computing
Cluster computing
 
Blue brain
Blue brainBlue brain
Blue brain
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Apache
ApacheApache
Apache
 
Ajax
AjaxAjax
Ajax
 

Recently uploaded

The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 

Recently uploaded (20)

The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 

Cashcading stylesheets

  • 2.  History of CSS  Introduction of CSS What is CSS?  Why use CSS?  CSS Syntax  CSS Selectors.  Why to Insert CSS?  CSS Properties.
  • 3. History  CSS Was first proposed by Hakon Winum Lie on October 10, 1994. Lie was Working with Tim Berners-Lee at CERN. CSS has various levels and profiles:  Each level of CSS builds upon the last, typically adding new features and typically denoted as CSS 1, CSS 2,css3. Css1:-  The first CSS specification to become an official W3C Recommendation is CSS level 1.  Published inDecember 17, 1996. Håkon Wium Lie and Bert Bos. Css2:  CSS level 2 specification was developed by the W3C and published as a recommendation in May 1998. A superset of CSS 1, CSS 2
  • 4. Css2.1:-  CSS level 2 revision 1, often referred to as "CSS 2.1", fixes errors in CSS 2, removes poorly supported or not fully interoperable features.  CSS 2.1 went to Proposed Recommendation on 12 April 2011. After being reviewed by the W3C Advisory Committee, it was finally published as a W3C Recommendation on 7 June 2011 CSS3:-  different modules have different stability and statuses. As of June 2012, there are over fifty CSS modules published from the CSS Working Group
  • 5. Introduction  CSS is a rule based language designed to be called from an HTML,XHTML or XML document.  CSS was created by w3(consortium).  The purpose of Cascading Style Sheets is to allow web authors to manipulate a web page’s appearance without affecting it’s HTML structure.
  • 6. What is CSS?  CSS stands for Cascading Style Sheets.  It is not a language. It is a part of design.  CSS is a heart of HTML.  CSS allows us to apply formatting and styling to the HTML that builds our web pages.  Style: CSS deals specifically with the presentation domain of designing a web pages. like(color, font, layout , Tables, Paragraphs and Headings )
  • 7. Why use CSS?  Allows for much richer documents appearances than HTML  Reduce workload by centralizing commands for visual appearances instead of the HTML document.  Use same style on multiple pages.  Reduce page download size.
  • 8. CSS Syntax:  H1 { color : blue; font-size : 12px; } property value property value  Selector  The HTML element you want to add style to. (examples: p, h2, body, img, table) Declaration:  Property: what aspect you want to change (examples: color, font-size, margin)  Value: the exact setting for that aspect (examples: red, italic, 14pt) P { color : red; text-align : center; }
  • 9. CSS comments:  Comments are used to explain your code and may help you when you edit the source code at a later date /* this is a comment */ p{ text-align: center ; /* this is paragraph */ }
  • 10. CSS Selectors:  Style for a HTML element, CSS allows you to specific your own selectors called “Id” and “Class”.  Id: this selector is used to specific a style for a single, unique elements. is defined with a “#”.  #p { font-size: 10px; font-color: White; }  Class: the class selector is used to specify a style for a group of elements. And used to HTML class attribute. A class selector is a name preceded by a period (.)  .class {color: red} .class { font-size: 10px; font-color: White; }
  • 11. Ways to Insert CSS: Attaching a style sheets to a page by adding the code to the <head> 1. External Style Sheet 2. Internal Style Sheets 3. Inline Style
  • 12. 1.External Style Sheets  It is ideal when the style is applied to many pages.  Styles are saved in a separate file, with the extension .css <head> <link rel=“ style sheets” type=“text/css” href=“mystyle.css”/> </head>
  • 13. 2.Internal Style Sheet Define style tag inside head section  Styles are defined within the <style> </style> tag, which is placed in the header of the html file (i.e., within <head> and </head>). <head> <style type=“text/css”> h1 { color : red; } p { margin-left : 20px; } </style> </shead>
  • 14. 3.Inline Style  CSS is not attaching in the <header> but is used directly within HTML tages. Example <p style="font-size: 10pt; color: red; font-weight: bold; font-family: Arial, Helvetica, sans-serif"> This is a local style sheet declaration. </p>
  • 15. CSS Properties  Styling backgrounds I. Background-color II. Back ground-images III. Background-repeat (v,h) IV. Background-position c,r  Text I. Text color II. Text alignment III. Text decoration (underline, blink) IV. Text transformation (lc,uc)
  • 16. Font:  font-family : A prioritized list of font family names and/or generic family names for an element p{ font-family:”times new roman” }  font-size : Sets the size of a font h1 { font-size : 40px; }  font-style : Sets the style of the font p.normal { font-style : normal; }  font-weight : Sets the weight of a font. p.normal { font-weight : bold; }
  • 17. List Properties:  list-style-image : Sets an image as the list-item marker ex: url  list-style-position : Places the list-item marker in the list. ex: inside outside  list-style-type : Sets the type of the list-item marker ex: circle, square, decimal ,lower-roman, upper- roman, lower-alpha, upper-alpha .
  • 18. Conclusion:  Cascading style sheets conclude it will give special appearance and look and field good dynamic and static web page. and ways to inserting to CSS By the using of CSS properties, such as colors and fonts weights.