SlideShare ist ein Scribd-Unternehmen logo
1 von 19
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

Weitere ähnliche Inhalte

Was ist angesagt? (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
 

Andere mochten auch

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 MukeshMukesh Kumar
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style SheetsPaul Dionysius
 
Introduction to Cascading Style Sheets
Introduction to Cascading Style SheetsIntroduction to Cascading Style Sheets
Introduction to Cascading Style SheetsTushar Joshi
 
Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)Cascading Style Sheets(CSS)
Cascading Style Sheets(CSS)Reshmi Rajan
 
CSS-Cascading Style Sheets - Introduction
CSS-Cascading Style Sheets - IntroductionCSS-Cascading Style Sheets - Introduction
CSS-Cascading Style Sheets - IntroductionMukesh 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 - CSSSun Technlogies
 
LinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedLinkedIn SlideShare: Knowledge, Well-Presented
LinkedIn SlideShare: Knowledge, Well-PresentedSlideShare
 

Andere mochten auch (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
 

Ähnlich wie Cashcading stylesheets

Chapter 3 - CSS.pdf
Chapter 3 - CSS.pdfChapter 3 - CSS.pdf
Chapter 3 - CSS.pdfwubiederebe1
 
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 Bangalorerajkamal560066
 
cascading style sheet(css).pptx
cascading style sheet(css).pptxcascading style sheet(css).pptx
cascading style sheet(css).pptxSuhaibKhan62
 
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 essentialsQA TrainingHub
 
Vskills certified css designer Notes
Vskills certified css designer NotesVskills certified css designer Notes
Vskills certified css designer NotesVskills
 
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.pptxJJFajardo1
 
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 CSSSanjoy 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 impoAlebelAyalneh
 
DW_lesson2.ppt
DW_lesson2.pptDW_lesson2.ppt
DW_lesson2.pptPramenathA
 

Ähnlich wie 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
 
DW_lesson2.ppt
DW_lesson2.pptDW_lesson2.ppt
DW_lesson2.ppt
 
DW_lesson2.ppt
DW_lesson2.pptDW_lesson2.ppt
DW_lesson2.ppt
 

Mehr von 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
 

Kürzlich hochgeladen

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 

Kürzlich hochgeladen (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 

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.