SlideShare a Scribd company logo
1 of 10
Types of CSS (Cascading Style
Sheet)
Cascading Style Sheet(CSS) is utilized to set the style in site pages
which contain HTML elements. It sets the font-size, background color,
font-family, color, … etc property of elements in a web page.
● Inline CSS
● Internal or Embedded CSS
● External CSS
Inline CSS contains the CSS property in the body area connected with
Element is known as inline CSS. This sort of style is determined within
an HTML tag utilizing style attribute.
Internal or Embedded CSS: This can be used when a single
HTML document must be styled uniquely. The CSS principles
set ought to be within the HTML file in the head section i.e the
CSS is embedded within the HTML file.
Youtube Video Link :- https://youtu.be/h83N208Olfc
External CSS: External CSS contains separate CSS file which contains only style
property with the assistance of tag attributes (For example class, id, heading, … etc).
CSS property written in a different file with .css expansion and ought to be connected to
the HTML report utilizing link tag. This implies for every component, style can be set just
once and that will be connected crosswise over website pages.
Below is the HTML file that is
making use of the created
external style sheet
link tag is used to link the external
style sheet with the html webpage.
href attribute is used to specify the
location of the external style sheet
file.
Properties of CSS
Inline CSS has the highest priority, then comes
Internal/Embedded followed by External CSS
which has the least priority. Different style
sheets can be defined on one page. If for an
HTML tag, styles are defined in various style
sheets then the below order will be followed.
● As Inline has the highest priority, any
styles that are defined in the internal and
external style sheets are overridden by
Inline styles.
● Internal or Embedded stands second in
the priority list and overrides the styles
in the external style sheet.
● External style sheets have the least
need. If there are no styles defined
either in inline or internal style sheet
then external style sheet rules are
applied for the HTML tags.
If any want to learn CSS ,
then visit Web designing training in Chandigarh CBitss
Technologies
Address: Sector 34A, sco 23-24-25, Chandigarh, 160022
Mobile No: 9914641983
Types of CSS - Cascading Style Sheet

More Related Content

More from Rahul Rana

Few skills every successful web designer needs
Few skills every successful web designer needsFew skills every successful web designer needs
Few skills every successful web designer needsRahul Rana
 
Php developer job description
Php developer job descriptionPhp developer job description
Php developer job descriptionRahul Rana
 
Difference between frontend and backend
Difference between frontend and backendDifference between frontend and backend
Difference between frontend and backendRahul Rana
 
Top php frameworks for startups - 2019
Top php frameworks for startups - 2019Top php frameworks for startups - 2019
Top php frameworks for startups - 2019Rahul Rana
 
How to use the excel basic functions
How to use the excel basic functionsHow to use the excel basic functions
How to use the excel basic functionsRahul Rana
 
The 6 fastest growing tech jobs | short term computer courses in Chandigarh
The 6 fastest growing tech jobs | short term computer courses in ChandigarhThe 6 fastest growing tech jobs | short term computer courses in Chandigarh
The 6 fastest growing tech jobs | short term computer courses in ChandigarhRahul Rana
 

More from Rahul Rana (6)

Few skills every successful web designer needs
Few skills every successful web designer needsFew skills every successful web designer needs
Few skills every successful web designer needs
 
Php developer job description
Php developer job descriptionPhp developer job description
Php developer job description
 
Difference between frontend and backend
Difference between frontend and backendDifference between frontend and backend
Difference between frontend and backend
 
Top php frameworks for startups - 2019
Top php frameworks for startups - 2019Top php frameworks for startups - 2019
Top php frameworks for startups - 2019
 
How to use the excel basic functions
How to use the excel basic functionsHow to use the excel basic functions
How to use the excel basic functions
 
The 6 fastest growing tech jobs | short term computer courses in Chandigarh
The 6 fastest growing tech jobs | short term computer courses in ChandigarhThe 6 fastest growing tech jobs | short term computer courses in Chandigarh
The 6 fastest growing tech jobs | short term computer courses in Chandigarh
 

Recently uploaded

SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code ExamplesPeter Brusilovsky
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxRugvedSathawane
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfNirmal Dwivedi
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
Ernest Hemingway's For Whom the Bell Tolls
Ernest Hemingway's For Whom the Bell TollsErnest Hemingway's For Whom the Bell Tolls
Ernest Hemingway's For Whom the Bell TollsPallavi Parmar
 
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdfDiuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdfKartik Tiwari
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Orientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfOrientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfElizabeth Walsh
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaEADTU
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 

Recently uploaded (20)

SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
Ernest Hemingway's For Whom the Bell Tolls
Ernest Hemingway's For Whom the Bell TollsErnest Hemingway's For Whom the Bell Tolls
Ernest Hemingway's For Whom the Bell Tolls
 
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdfDiuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Orientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfOrientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdf
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 

Types of CSS - Cascading Style Sheet

  • 1. Types of CSS (Cascading Style Sheet)
  • 2. Cascading Style Sheet(CSS) is utilized to set the style in site pages which contain HTML elements. It sets the font-size, background color, font-family, color, … etc property of elements in a web page.
  • 3. ● Inline CSS ● Internal or Embedded CSS ● External CSS
  • 4. Inline CSS contains the CSS property in the body area connected with Element is known as inline CSS. This sort of style is determined within an HTML tag utilizing style attribute.
  • 5. Internal or Embedded CSS: This can be used when a single HTML document must be styled uniquely. The CSS principles set ought to be within the HTML file in the head section i.e the CSS is embedded within the HTML file. Youtube Video Link :- https://youtu.be/h83N208Olfc
  • 6. External CSS: External CSS contains separate CSS file which contains only style property with the assistance of tag attributes (For example class, id, heading, … etc). CSS property written in a different file with .css expansion and ought to be connected to the HTML report utilizing link tag. This implies for every component, style can be set just once and that will be connected crosswise over website pages.
  • 7. Below is the HTML file that is making use of the created external style sheet link tag is used to link the external style sheet with the html webpage. href attribute is used to specify the location of the external style sheet file.
  • 8. Properties of CSS Inline CSS has the highest priority, then comes Internal/Embedded followed by External CSS which has the least priority. Different style sheets can be defined on one page. If for an HTML tag, styles are defined in various style sheets then the below order will be followed. ● As Inline has the highest priority, any styles that are defined in the internal and external style sheets are overridden by Inline styles. ● Internal or Embedded stands second in the priority list and overrides the styles in the external style sheet. ● External style sheets have the least need. If there are no styles defined either in inline or internal style sheet then external style sheet rules are applied for the HTML tags.
  • 9. If any want to learn CSS , then visit Web designing training in Chandigarh CBitss Technologies Address: Sector 34A, sco 23-24-25, Chandigarh, 160022 Mobile No: 9914641983