SlideShare uma empresa Scribd logo
1 de 11
Chapter 11:
USING CASCADING
STYLE SHEETS
REVIEW
   WHAT IS THE FULL CODE TO START A WEB
    PAGE./HTML DOCUMENTS?
   WHAT IS THE FULL CODE TO CHANGE THE
    BACKGROUND TO GREEN?
   WHAT IS THE HTML CODE TO USE IMAGE AS
    BACKGROUND?
   WHAT IS THE CODE TO START A PARAGRAPH
    AND INSERT A NEW LINE.
   HOW TO CHANGES THE FONT ATTRIBUTES.
   WHAT IS THE FULL CODE TO INSERT A TABLE?
   WHAT IS THE FULL CODE TO INSERT A VIDEO?
WHAT IS CSS?
   CSS stands for Cascading Style Sheets.
   It is a style language that specifies the
    layout of HTML documents.
   Many of the properties used in CSS are
    similar to those of HTML, thus basic
    experience with HTML is a pre-requisite.
   Using CSS allows you to separate the
    page’s contents from the page’s layout.
   CSS takes care of the layout while HTML
    handles the content’s structure.
CSS allows you to
 Save a lot of time- you can apply a set of
  styles to several parts of the web pages.
 Control the layout of many Web pages
  from one single style sheet only- you don’t
  need to go to entire pages just to change
  every code.
 Apply more advanced and sophisticated
  layout techniques.- CSS offers more
  formatting elements compared to standard
  HTML.
How do we write in CSS?
   The following is the basic syntax of CSS:

          Selector {property: value}

                       attribute
              HTML                 Value of
               tag                    the
                                   attribute




      Body {background-color: #FFCC00;}
APPLYING CSS TO AN HTML
DOCUMENT
 The 3 styles you can use to apply CSS are:
 1. in-line style
 2. internal style
 3. external style


   IN-LINE STYLE- is also called the attribute
    style because style attributes are placed
    within the HTML tag to be affected.
   You may use the in-line style if you need
    to apply a set of styles to only a single
    element in the web page. Otherwise, it
    forfeits the main purpose of CSS, which
    is to separate web content from layout
    or presentation.

   INTERNAL STYLE- is also called the tag
    style because CSS codes are placed
    within the <head></head> tag using the
    <style> tag.
   You may use the internal style if you
    need to apply a set of styles to the
    elements that are all found in a single
    web page. This is helpful if you want that
    the style will be exclusive for a single
    web page only.

   EXTERNAL STYLE- is a text file with
    .css extension. The HTML documents is
    linked to the style using an HTML code
    which is inserted in the header section
    of the HTML document.
 <html>
 <body style=“background-color: Dim gray;
  color: powder blue; font-size: 15pt; margin-
  left: 30px;”>

 <html>
 <head><title>Internal CSS style</title>
 <style type= “text/css”>
 Body{background: white url(“wallpaper.jpg”)
  no repeat fixed center;}
 <html>
 <head><title> External Style
  Sheet</title>
 <link rel= “stylesheet” type= “text/css
  href= “style.css”/>
 </head>
COMPUQUIZ
   The acronym CSS stands for?
   What is the main purpose of the CSS?
   CSS allows you to?
   What is the basic syntax of the CSS?
   What are the three styles of CSS?
   Which style is known as the attribute style?
   Which style is specified within the head
    tag?
   It is a text file with .css extension.

Mais conteúdo relacionado

Mais procurados (18)

Web development using HTML and CSS
Web development using HTML and CSSWeb development using HTML and CSS
Web development using HTML and CSS
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
Styling text using css
Styling text using cssStyling text using css
Styling text using css
 
Casc Style Sheets Ii
Casc Style Sheets IiCasc Style Sheets Ii
Casc Style Sheets Ii
 
Css
CssCss
Css
 
Introducing the style tag 2830
Introducing the style tag  2830Introducing the style tag  2830
Introducing the style tag 2830
 
Html & CSS
Html & CSSHtml & CSS
Html & CSS
 
CSS
CSSCSS
CSS
 
N5 CSS
N5 CSSN5 CSS
N5 CSS
 
Html css
Html cssHtml css
Html 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
 
html & css
html & css html & css
html & css
 
CSS- Cascading Style Sheet
CSS- Cascading Style SheetCSS- Cascading Style Sheet
CSS- Cascading Style Sheet
 
Coding a Website with HTML
Coding a Website with HTMLCoding a Website with HTML
Coding a Website with HTML
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
 
The Dark Arts of CSS
The Dark Arts of CSSThe Dark Arts of CSS
The Dark Arts of CSS
 
Introduction to web design discussing which languages is used for website des...
Introduction to web design discussing which languages is used for website des...Introduction to web design discussing which languages is used for website des...
Introduction to web design discussing which languages is used for website des...
 
Web designing training in chandigarh
Web designing training in chandigarhWeb designing training in chandigarh
Web designing training in chandigarh
 

Destaque

Designing web pages html videos
Designing web pages html videosDesigning web pages html videos
Designing web pages html videosJesus Obenita Jr.
 
Designing static pages using html formatting text
Designing static pages using html  formatting textDesigning static pages using html  formatting text
Designing static pages using html formatting textJesus Obenita Jr.
 
Javascript alert and confrim box
Javascript alert and confrim boxJavascript alert and confrim box
Javascript alert and confrim boxJesus Obenita Jr.
 
Css color and background properties
Css color and background propertiesCss color and background properties
Css color and background propertiesJesus Obenita Jr.
 
TLE - Mechanical Drafting (Teaching Guide)
TLE - Mechanical Drafting (Teaching Guide)TLE - Mechanical Drafting (Teaching Guide)
TLE - Mechanical Drafting (Teaching Guide)Markleen Guimbao
 

Destaque (7)

Powerpoint
PowerpointPowerpoint
Powerpoint
 
Designing web pages html videos
Designing web pages html videosDesigning web pages html videos
Designing web pages html videos
 
Designing static pages using html formatting text
Designing static pages using html  formatting textDesigning static pages using html  formatting text
Designing static pages using html formatting text
 
Javascript alert and confrim box
Javascript alert and confrim boxJavascript alert and confrim box
Javascript alert and confrim box
 
Css color and background properties
Css color and background propertiesCss color and background properties
Css color and background properties
 
Microsoft word
Microsoft wordMicrosoft word
Microsoft word
 
TLE - Mechanical Drafting (Teaching Guide)
TLE - Mechanical Drafting (Teaching Guide)TLE - Mechanical Drafting (Teaching Guide)
TLE - Mechanical Drafting (Teaching Guide)
 

Semelhante a Unit iii css and javascript 1

Introduction of css
Introduction of cssIntroduction of css
Introduction of cssDinesh Kumar
 
Chapter 3 - CSS.pdf
Chapter 3 - CSS.pdfChapter 3 - CSS.pdf
Chapter 3 - CSS.pdfwubiederebe1
 
Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8RohanMistry15
 
CSS Training in Bangalore
CSS Training in BangaloreCSS Training in Bangalore
CSS Training in Bangalorerajkamal560066
 
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
 
Css introduction
Css introductionCss introduction
Css introductionSridhar P
 
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
 
Beginners css tutorial for web designers
Beginners css tutorial for web designersBeginners css tutorial for web designers
Beginners css tutorial for web designersSingsys Pte Ltd
 
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
 
Using Cascading Style Sheets2
Using Cascading Style Sheets2Using Cascading Style Sheets2
Using Cascading Style Sheets2Sutinder Mann
 
Vskills certified css designer Notes
Vskills certified css designer NotesVskills certified css designer Notes
Vskills certified css designer NotesVskills
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpcasestudyhelp
 

Semelhante a Unit iii css and javascript 1 (20)

CSS.ppt
CSS.pptCSS.ppt
CSS.ppt
 
Introduction of css
Introduction of cssIntroduction of css
Introduction of css
 
Chapter 3 - CSS.pdf
Chapter 3 - CSS.pdfChapter 3 - CSS.pdf
Chapter 3 - CSS.pdf
 
Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8
 
CSS Training in Bangalore
CSS Training in BangaloreCSS Training in Bangalore
CSS Training in Bangalore
 
Welcome to css!
Welcome to css!Welcome to css!
Welcome to 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
 
Lecture-6.pptx
Lecture-6.pptxLecture-6.pptx
Lecture-6.pptx
 
Css introduction
Css introductionCss introduction
Css introduction
 
Full
FullFull
Full
 
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
 
Beginners css tutorial for web designers
Beginners css tutorial for web designersBeginners css tutorial for web designers
Beginners css tutorial for web designers
 
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
 
Css
CssCss
Css
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
Using Cascading Style Sheets2
Using Cascading Style Sheets2Using Cascading Style Sheets2
Using Cascading Style Sheets2
 
Vskills certified css designer Notes
Vskills certified css designer NotesVskills certified css designer Notes
Vskills certified css designer Notes
 
Cascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) helpCascading Style Sheets (CSS) help
Cascading Style Sheets (CSS) help
 
chitra
chitrachitra
chitra
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 

Mais de Jesus Obenita Jr.

Mais de Jesus Obenita Jr. (20)

Organization and management 3 a Evolution of Management Theory
Organization and management 3 a Evolution of Management TheoryOrganization and management 3 a Evolution of Management Theory
Organization and management 3 a Evolution of Management Theory
 
Organization and management 2 Management Function
Organization and management 2 Management FunctionOrganization and management 2 Management Function
Organization and management 2 Management Function
 
Organization and management 1
Organization and management 1Organization and management 1
Organization and management 1
 
Designing web page marquee and img tag
Designing web page  marquee and img tagDesigning web page  marquee and img tag
Designing web page marquee and img tag
 
Ms excel 2013 formatting worksheets
Ms excel 2013 formatting worksheetsMs excel 2013 formatting worksheets
Ms excel 2013 formatting worksheets
 
Ms excel 2013 data management
Ms excel 2013 data managementMs excel 2013 data management
Ms excel 2013 data management
 
Microsoft Excel introduction
Microsoft Excel introductionMicrosoft Excel introduction
Microsoft Excel introduction
 
Word 2013 working with pictures
Word 2013 working with picturesWord 2013 working with pictures
Word 2013 working with pictures
 
Word 2013 Formatting Page
Word 2013 Formatting PageWord 2013 Formatting Page
Word 2013 Formatting Page
 
Word 2013 8
Word 2013 8Word 2013 8
Word 2013 8
 
Ms word 2013 7
Ms word 2013 7Ms word 2013 7
Ms word 2013 7
 
Ms word 2013 6
Ms word 2013 6Ms word 2013 6
Ms word 2013 6
 
Ms word 2013 4
Ms word 2013 4Ms word 2013 4
Ms word 2013 4
 
Ms word 2013 2
Ms word 2013 2Ms word 2013 2
Ms word 2013 2
 
Ms word 2013
Ms word 2013Ms word 2013
Ms word 2013
 
Parts of the ms word 2013 screen and
Parts of the ms word 2013 screen andParts of the ms word 2013 screen and
Parts of the ms word 2013 screen and
 
Word processor
Word processorWord processor
Word processor
 
Session 2 test construction.mt's
Session 2   test construction.mt'sSession 2   test construction.mt's
Session 2 test construction.mt's
 
Cooking ingredients
Cooking ingredientsCooking ingredients
Cooking ingredients
 
Color theory
Color theoryColor theory
Color theory
 

Último

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
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
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
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
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Último (20)

The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
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
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

Unit iii css and javascript 1

  • 2. REVIEW  WHAT IS THE FULL CODE TO START A WEB PAGE./HTML DOCUMENTS?  WHAT IS THE FULL CODE TO CHANGE THE BACKGROUND TO GREEN?  WHAT IS THE HTML CODE TO USE IMAGE AS BACKGROUND?  WHAT IS THE CODE TO START A PARAGRAPH AND INSERT A NEW LINE.  HOW TO CHANGES THE FONT ATTRIBUTES.  WHAT IS THE FULL CODE TO INSERT A TABLE?  WHAT IS THE FULL CODE TO INSERT A VIDEO?
  • 3. WHAT IS CSS?  CSS stands for Cascading Style Sheets.  It is a style language that specifies the layout of HTML documents.  Many of the properties used in CSS are similar to those of HTML, thus basic experience with HTML is a pre-requisite.  Using CSS allows you to separate the page’s contents from the page’s layout.  CSS takes care of the layout while HTML handles the content’s structure.
  • 4. CSS allows you to  Save a lot of time- you can apply a set of styles to several parts of the web pages.  Control the layout of many Web pages from one single style sheet only- you don’t need to go to entire pages just to change every code.  Apply more advanced and sophisticated layout techniques.- CSS offers more formatting elements compared to standard HTML.
  • 5. How do we write in CSS?  The following is the basic syntax of CSS: Selector {property: value} attribute HTML Value of tag the attribute Body {background-color: #FFCC00;}
  • 6. APPLYING CSS TO AN HTML DOCUMENT  The 3 styles you can use to apply CSS are:  1. in-line style  2. internal style  3. external style  IN-LINE STYLE- is also called the attribute style because style attributes are placed within the HTML tag to be affected.
  • 7. You may use the in-line style if you need to apply a set of styles to only a single element in the web page. Otherwise, it forfeits the main purpose of CSS, which is to separate web content from layout or presentation.  INTERNAL STYLE- is also called the tag style because CSS codes are placed within the <head></head> tag using the <style> tag.
  • 8. You may use the internal style if you need to apply a set of styles to the elements that are all found in a single web page. This is helpful if you want that the style will be exclusive for a single web page only.  EXTERNAL STYLE- is a text file with .css extension. The HTML documents is linked to the style using an HTML code which is inserted in the header section of the HTML document.
  • 9.  <html>  <body style=“background-color: Dim gray; color: powder blue; font-size: 15pt; margin- left: 30px;”>  <html>  <head><title>Internal CSS style</title>  <style type= “text/css”>  Body{background: white url(“wallpaper.jpg”) no repeat fixed center;}
  • 10.  <html>  <head><title> External Style Sheet</title>  <link rel= “stylesheet” type= “text/css href= “style.css”/>  </head>
  • 11. COMPUQUIZ  The acronym CSS stands for?  What is the main purpose of the CSS?  CSS allows you to?  What is the basic syntax of the CSS?  What are the three styles of CSS?  Which style is known as the attribute style?  Which style is specified within the head tag?  It is a text file with .css extension.