SlideShare a Scribd company logo
1 of 21
Download to read offline
! quot; #%
     $    &'




                                   quot; (
                             )     *
     + ,' - .
        quot;
        '
         / -' quot; & ' / & * quot; * quot; / +
          - ( "   (   quot;( '/
          '   +   (
            quot;( '/    /  "
                         (  ** '    0
              quot;
           '('
            quot; quot;quot;   '
          quot;*
           (         0  ' '/
            quot;(   '   quot;'
         -' quot;
          quot;(




                                        2




                                            1
3




                  CSS Advantages
%          (/          ('       '
    'quot;       &*
    '          quot;            *
'
quot;        &* / ,    (
1       quot;' * '
         '   '     *

2 quot; quot; *quot;




                                    4




                                        2
'
 quot;   '

   "
    ( quot;/     &/ +
  (
 3/'quot;        &
 (
 #' ' /      quot;'
             &*
             quot;




                        5




2*       '
  &
  quot;
  (   quot;//    quot;      &
+   ($
3/      4' '
          5*
#' /   quot;+  (        *




                            3
20    ''
   &
   quot;
   (  quot;       0& , /
                quot; quot;$
                '
&0 quot;
quot;
'
 /     4quot; 6 '
        ' 5 * quot;/
/     quot; &+    (   quot;quot;
, // $ &
 quot;     quot;'




*          '
 quot;quot;
 *'   20   ''




                   8




                       4
9




                                  0 *'
   &
   quot;
   (       +      (     quot;' '          0
   ',
   '        (      $
body { color: blue;
        background-color: yellow; }
 /quot; '' ,quot;   quot; /0
             (                        quot;''
                                      *
 -'  /, ' $
         ,
body { color: #0000FF;
        background-color: #FFFF00; }




                                            10




                                                 5
11




12




     6
13




14




     7
8
"
                                    quot; ( ' ,/
                                    (      quot;
                                        '
                                        quot;
      /        '# quot;
       7' .             *          '      'quot;                -'   quot;

2 *'
 0  .&
     quot;
     (                         '       0quot;       4 5'
                                                 /  *   .
<h1 style=quot;color:#ff0000quot;>Heading text is red</h1>


2 *' . &
 0            quot;(/            0quot; / / quot;      (        &quot;
                                                     (     (
       (      quot;// quot;       (
           ' ' ' quot; ,/          quot;8
<h1 style=quot;color:#FF0000;background-color:#ccccccquot;>This is
  displayed as a red heading with gray background</h1>




                                                                     17




                       <style type =quot;text/cssquot;>
                       body { background-
                       color: #000000;
                              color: #FFFFFF;
                       }
                       </style>




                                                                     18




                                                                          9
2*               '
                                    •/    '    /
                                    ( ' ' '& /
                                    '           quot;
                                     ($

                                    • / ( ''
                                         '
                                     - quot; &45/ 45
                                              /
                                     '*    // /'
                                      '$
<style type=quot;text/cssquot;>
body { background-color: #E6E6FA;
        color: #191970;}
h1 { background-color: #191970;
        color: #E6E6FA;}
h2 { background-color: #AEAED4;
       color: #191970;}
</style>




9- ,
 quot;
             '/
             quot;                             +   (:
 $


  $
  +/   quot;quot;
       (( (/      '   ///
    &' ' & 0    (    , quot;quot; (
                      /
         &
         quot;
         (   ' '&   /0 '
     (   ':

 ;$               quot;         -(          quot;*
                                        (
      'quot;          &'
                   quot;quot;       ':




                                                    10
& quot; 0, /
          quot;(
          (     quot;
          quot;&        & quot; 0.
                    quot;(
                    (
& <, quot;
     (/
     &
     quot;
     (    /    '    &0
&<   '
     &
     quot;
     (    0        quot;'
                    quot;   '
& <quot;
   =
     &
     quot;
     (    / quot; &/
            =           0
& <& quot;
    *'
     &
     quot;
     (    /&       &    &/   0




                                 11
p {font-family: Arial,Verdana, sans-serif;}




                            2*                 '
                                            2 *'
                                             0

           <style type=quot;text/cssquot;>
           body { background-color: #E6E6FA;
              color: #191970;
              font-family: Arial, Verdana, sans-serif; }
           h1 { background-color: #191970;
              color: #E6E6FA;
              line-height: 200%;
              font-family: Georgia, quot;Times New Romanquot;, serif; }
           h2 { background-color: #AEAED4;
              color: #191970;
              font-family: Georgia, quot;Times New Romanquot;, serif; }
           p {font-size: .90em; }
           ul {font-weight: bold; }
           </style>




                                                                  12
<style type=quot;text/cssquot;>
                                  .new { color: #FF0000;
                                         font-style: italic;
                                        }
                                  </style>




<p class=“new”>This is text is red and in italics</p>




                                                         26




                                                               13
<style type=quot;text/cssquot;>
                                 #new { color: #FF0000;
                                         font-size:2em;
                                         font-style: italic;
                                        }
                                 </style>




<p id=“new”>This is text is red, large, and in italics</p>




                                                               27




                                                               28




                                                                    14
4quot; 2 *
                  -'
                   5                2 *'
                                     0
       &
       quot;
       (         (&
  2*             .
<style type=quot;text/cssquot;>
.footer { font-size: small;
         text-align: center; }
</style>
  XHTML:
<div class=“footerquot;>Copyright &copy; 2009</div>




                                                  29




                                                  30




                                                       15
4             52 *
                                         '                     2 *'
                                                                0
                 2*               .
             <style type=quot;text/cssquot;>
             .companyname { font-weight: bold;
             font-family: Georgia, quot;Times New Romanquot;, serif;
             font-size: 1.25em;
             }
              </style>

                          .
             <p>Your needs are important to us at <span
               class=“companynamequot;>Acme Web Design</span>.
               We will work with you to build your Web site.</p>




                                                                                    31




                                       20            ' '/
                    Multiple web pages can associate with
                    the same external style sheet file.
              site.css
                                                        index.htm
body {background-color:#E6E6FA;
          color:#000000;
          font-family:Arial, sans-serif;
                                                               clients.htm
          font-size:90%; }
h2 { color: #003366; }
.nav { font-size: 16px;                                              about.htm
       font-weight: bold; }

                                                                             etc…

                                                                                    32




                                                                                         16
<link rel=quot;stylesheetquot; href=quot;color.cssquot; type=quot;text/cssquot; />


                                                                   33




                 3quot; 2
                   (0                        ' '/


         body { background-color: #0000FF;
                color: #FFFFFF;
         }


To link to the external style sheet called color.css, the
  XHTML code placed in the header section is:
<link rel=quot;stylesheetquot; href=quot;color.cssquot; type=quot;text/cssquot; />




                                                                        17
9- ,
                  quot;
           1.   Can you provide a reason to use embedded
                styles? Where are embedded styles placed on a
                web page?

           2.   Can you describe a reason to use external
                styles? Where are external styles laced and how
                do web pages indicate they are using external
                styles?

           3.   Can you write the code to configure a web page
                to use an external style sheet called
                “mystyles.css”?


                                                                  35




                           quot; 1(
                            (                      ,/
                                                    quot;
#container { margin-left: auto;
             margin-right: auto;
             width:80%; }




                                                                       18
+;                 7' quot;
                                    quot;
 / .quot; ,, $ ( <-'
   6( $; 6
    6
    >          quot;                       6




%quot;'
  quot;             (quot;(                    ,/
                                        quot;
9- , /
 quot;         quot; &/
           (          (
     &
     quot;
     (   ('
         '&       '           quot;& /         '
      quot; quot; ''
       &    *  ? / 4 54 ;
                    /  /5                  @       '
     ' '& / quot;&   $
      quot;(
       &       /' ( -quot;&
                    quot;
                    (                          A
     &
     quot;
     (         quot;'  quot;& /$
                 (/               quot;*   &/
'*         '                  $
 9-
  quot;              $
 )         quot;quot;
           (    A*-       '       0    '&
                                       $quot;
                                        '

1quot;
'(         quot;(    quot;
                 *                quot;quot; ,
                                  -quot;  /            quot;quot;
                                                   ((
+  quot;




                                                        19
'/ quot; quot;
                                (
7quot;
 &           quot; /.
               (         8 * 'quot; / quot;
                                  (/           /
            &$
/       /            quot; Bquot; quot;
                      ((          &,
                                  .                /
            quot; -' $
7 quot; / /C
  &              D* '          ''
 / /         0&   '         /quot;        quot;
-' &           ($
&       &        ,               E.
 9- ,
   quot;
 !*   quot; /&
         quot;  '/ quot;   '$
                   quot;
 )& /    quot;quot; / ' - / ' / quot;                 '$
                                          quot;

7'
 quot;               / .quot; ,, $ ( <-'
                   6( $; 6
                    6
                    >          quot;




                                      **

    quot;        quot;     quot;( ' / 9'
        quot;     ,/ '
               quot;     0,    (

     -  quot;quot;
         '  '*                        '
    0  ' '$

     -               '                '        quot;
     '       $

         quot;   7' quot; -
               quot;    quot;
    / .quot; ,, $ ( <-'
      6( $; 6
       6
       >          quot;



                                                       40




                                                            20
21

More Related Content

What's hot

sprint nextel Quarterly Presentations 2005 4th
sprint nextel Quarterly Presentations  2005 4thsprint nextel Quarterly Presentations  2005 4th
sprint nextel Quarterly Presentations 2005 4thfinance6
 
Preliminary DBA Thesis - Basic Social Math
Preliminary DBA Thesis - Basic Social MathPreliminary DBA Thesis - Basic Social Math
Preliminary DBA Thesis - Basic Social MathJared Lee Hanson
 
The Critical Need for Encrypted Email and File Transfer Solutions
The Critical Need for Encrypted Email and File Transfer SolutionsThe Critical Need for Encrypted Email and File Transfer Solutions
The Critical Need for Encrypted Email and File Transfer SolutionsOsterman Research, Inc.
 
Feedback gulele &amp;shuro meda 2009
Feedback gulele &amp;shuro meda 2009Feedback gulele &amp;shuro meda 2009
Feedback gulele &amp;shuro meda 2009berhanu taye
 
R57php 1231677414471772-2
R57php 1231677414471772-2R57php 1231677414471772-2
R57php 1231677414471772-2ady36
 
Margie Dana's New Rules for Print Buying
Margie Dana's New Rules for Print BuyingMargie Dana's New Rules for Print Buying
Margie Dana's New Rules for Print BuyingMargiedana.com
 
Varias formas de se ver uma loja Artigo para a Revista Dirigente Lojista
Varias formas de se ver uma loja Artigo para a Revista Dirigente LojistaVarias formas de se ver uma loja Artigo para a Revista Dirigente Lojista
Varias formas de se ver uma loja Artigo para a Revista Dirigente LojistaFlávio Radamarker, RDI
 
Microformats, Building Blocks of the Semantic Web
Microformats, Building Blocks of the Semantic WebMicroformats, Building Blocks of the Semantic Web
Microformats, Building Blocks of the Semantic WebChris Griego
 
Rachel Greenstadt: Security and Virtualized Environments: An Overview
Rachel Greenstadt: Security and Virtualized Environments: An OverviewRachel Greenstadt: Security and Virtualized Environments: An Overview
Rachel Greenstadt: Security and Virtualized Environments: An OverviewEvangeline
 
Projet Sponsoring Paris Football Club
Projet Sponsoring Paris Football ClubProjet Sponsoring Paris Football Club
Projet Sponsoring Paris Football ClubJim Totime
 
Presidential Canidate
Presidential CanidatePresidential Canidate
Presidential Canidatejlee128
 
Story bird resources_part_3
Story bird resources_part_3Story bird resources_part_3
Story bird resources_part_3Eric Brace
 
Paras Holidays Europe USA Group Tours 2015 Brochure
Paras Holidays Europe USA Group Tours 2015 BrochureParas Holidays Europe USA Group Tours 2015 Brochure
Paras Holidays Europe USA Group Tours 2015 BrochureParas Holidays Pvt Ltd
 
KepMenKeh 1983, Penetapan Lapas Menjadi Rutan
KepMenKeh 1983, Penetapan Lapas Menjadi RutanKepMenKeh 1983, Penetapan Lapas Menjadi Rutan
KepMenKeh 1983, Penetapan Lapas Menjadi Rutanrutanprabumulih
 
2. csi rebate process workshop october 2010 long-1
2. csi rebate process workshop   october 2010 long-12. csi rebate process workshop   october 2010 long-1
2. csi rebate process workshop october 2010 long-1moeshahram
 

What's hot (20)

sprint nextel Quarterly Presentations 2005 4th
sprint nextel Quarterly Presentations  2005 4thsprint nextel Quarterly Presentations  2005 4th
sprint nextel Quarterly Presentations 2005 4th
 
Treball espai familiar
Treball espai familiarTreball espai familiar
Treball espai familiar
 
Preliminary DBA Thesis - Basic Social Math
Preliminary DBA Thesis - Basic Social MathPreliminary DBA Thesis - Basic Social Math
Preliminary DBA Thesis - Basic Social Math
 
The Critical Need for Encrypted Email and File Transfer Solutions
The Critical Need for Encrypted Email and File Transfer SolutionsThe Critical Need for Encrypted Email and File Transfer Solutions
The Critical Need for Encrypted Email and File Transfer Solutions
 
Feedback gulele &amp;shuro meda 2009
Feedback gulele &amp;shuro meda 2009Feedback gulele &amp;shuro meda 2009
Feedback gulele &amp;shuro meda 2009
 
R57php 1231677414471772-2
R57php 1231677414471772-2R57php 1231677414471772-2
R57php 1231677414471772-2
 
Margie Dana's New Rules for Print Buying
Margie Dana's New Rules for Print BuyingMargie Dana's New Rules for Print Buying
Margie Dana's New Rules for Print Buying
 
Varias formas de se ver uma loja Artigo para a Revista Dirigente Lojista
Varias formas de se ver uma loja Artigo para a Revista Dirigente LojistaVarias formas de se ver uma loja Artigo para a Revista Dirigente Lojista
Varias formas de se ver uma loja Artigo para a Revista Dirigente Lojista
 
Microformats, Building Blocks of the Semantic Web
Microformats, Building Blocks of the Semantic WebMicroformats, Building Blocks of the Semantic Web
Microformats, Building Blocks of the Semantic Web
 
BladeCenter Foundation For Cloud Models
BladeCenter Foundation For Cloud ModelsBladeCenter Foundation For Cloud Models
BladeCenter Foundation For Cloud Models
 
Rachel Greenstadt: Security and Virtualized Environments: An Overview
Rachel Greenstadt: Security and Virtualized Environments: An OverviewRachel Greenstadt: Security and Virtualized Environments: An Overview
Rachel Greenstadt: Security and Virtualized Environments: An Overview
 
Projet Sponsoring Paris Football Club
Projet Sponsoring Paris Football ClubProjet Sponsoring Paris Football Club
Projet Sponsoring Paris Football Club
 
Presidential Canidate
Presidential CanidatePresidential Canidate
Presidential Canidate
 
Story bird resources_part_3
Story bird resources_part_3Story bird resources_part_3
Story bird resources_part_3
 
Paras Holidays Europe USA Group Tours 2015 Brochure
Paras Holidays Europe USA Group Tours 2015 BrochureParas Holidays Europe USA Group Tours 2015 Brochure
Paras Holidays Europe USA Group Tours 2015 Brochure
 
Motherloss
MotherlossMotherloss
Motherloss
 
Story Telling With Open Data
Story Telling With Open DataStory Telling With Open Data
Story Telling With Open Data
 
First Discourse
First DiscourseFirst Discourse
First Discourse
 
KepMenKeh 1983, Penetapan Lapas Menjadi Rutan
KepMenKeh 1983, Penetapan Lapas Menjadi RutanKepMenKeh 1983, Penetapan Lapas Menjadi Rutan
KepMenKeh 1983, Penetapan Lapas Menjadi Rutan
 
2. csi rebate process workshop october 2010 long-1
2. csi rebate process workshop   october 2010 long-12. csi rebate process workshop   october 2010 long-1
2. csi rebate process workshop october 2010 long-1
 

Viewers also liked

IST 561 Session2--Feb 2, 2009 Basic XHTML Concepts
IST 561 Session2--Feb 2, 2009 Basic XHTML ConceptsIST 561 Session2--Feb 2, 2009 Basic XHTML Concepts
IST 561 Session2--Feb 2, 2009 Basic XHTML ConceptsD.A. Garofalo
 
IST 561 Spring 2009, Session9--Web 2.0 Introduction for libraries
IST 561 Spring 2009, Session9--Web 2.0 Introduction for librariesIST 561 Spring 2009, Session9--Web 2.0 Introduction for libraries
IST 561 Spring 2009, Session9--Web 2.0 Introduction for librariesD.A. Garofalo
 
IST 561, Spring 2009--Session11, Libraries, the future, and the final
IST 561, Spring 2009--Session11, Libraries, the future, and the finalIST 561, Spring 2009--Session11, Libraries, the future, and the final
IST 561, Spring 2009--Session11, Libraries, the future, and the finalD.A. Garofalo
 
IST 561 Spring 2007--Session7, Sources of Information
IST 561 Spring 2007--Session7, Sources of InformationIST 561 Spring 2007--Session7, Sources of Information
IST 561 Spring 2007--Session7, Sources of InformationD.A. Garofalo
 
IST561 Spring 2009--Session8, Java and JavaScript: the bare basics
IST561 Spring 2009--Session8, Java and JavaScript: the bare basicsIST561 Spring 2009--Session8, Java and JavaScript: the bare basics
IST561 Spring 2009--Session8, Java and JavaScript: the bare basicsD.A. Garofalo
 
IST 561 Session10, Spring 2009--Student Projects and Presentations
IST 561 Session10, Spring 2009--Student Projects and PresentationsIST 561 Session10, Spring 2009--Student Projects and Presentations
IST 561 Session10, Spring 2009--Student Projects and PresentationsD.A. Garofalo
 
IST 561 Spring 2009--Session6, Information Literacy and Web Site Evaluation
IST 561 Spring 2009--Session6, Information Literacy and Web Site EvaluationIST 561 Spring 2009--Session6, Information Literacy and Web Site Evaluation
IST 561 Spring 2009--Session6, Information Literacy and Web Site EvaluationD.A. Garofalo
 
Summer 2010 Newsletter
Summer 2010 NewsletterSummer 2010 Newsletter
Summer 2010 Newsletterrsumrell
 
Ethical hacking Chapter 6 - Port Scanning - Eric Vanderburg
Ethical hacking   Chapter 6 - Port Scanning - Eric VanderburgEthical hacking   Chapter 6 - Port Scanning - Eric Vanderburg
Ethical hacking Chapter 6 - Port Scanning - Eric VanderburgEric Vanderburg
 
Storyboarding - Information Systems Engineering
Storyboarding - Information Systems EngineeringStoryboarding - Information Systems Engineering
Storyboarding - Information Systems Engineeringsandra sukarieh
 
Youth & Brands : The Game of Emotions & Passions
Youth & Brands : The Game of Emotions & PassionsYouth & Brands : The Game of Emotions & Passions
Youth & Brands : The Game of Emotions & Passionssimplyritz
 
Chapt 2 storyboarding techniques
Chapt 2   storyboarding techniquesChapt 2   storyboarding techniques
Chapt 2 storyboarding techniquesMuhd Basheer
 
Different Types of Websites
Different Types of WebsitesDifferent Types of Websites
Different Types of WebsitesNeil Lohana
 
valero energy Quarterly and Other SEC Reports 2006 2nd
valero energy  Quarterly and Other SEC Reports 2006 2ndvalero energy  Quarterly and Other SEC Reports 2006 2nd
valero energy Quarterly and Other SEC Reports 2006 2ndfinance2
 
E Penso A Te
E Penso A TeE Penso A Te
E Penso A TePaola Z.
 
Chris Bull's Bi Portfolio
Chris Bull's Bi PortfolioChris Bull's Bi Portfolio
Chris Bull's Bi Portfolioz3bull
 
AIG First Quarter 2008FinancialSupplement
AIG First Quarter 2008FinancialSupplementAIG First Quarter 2008FinancialSupplement
AIG First Quarter 2008FinancialSupplementfinance2
 

Viewers also liked (20)

IST 561 Session2--Feb 2, 2009 Basic XHTML Concepts
IST 561 Session2--Feb 2, 2009 Basic XHTML ConceptsIST 561 Session2--Feb 2, 2009 Basic XHTML Concepts
IST 561 Session2--Feb 2, 2009 Basic XHTML Concepts
 
IST 561 Spring 2009, Session9--Web 2.0 Introduction for libraries
IST 561 Spring 2009, Session9--Web 2.0 Introduction for librariesIST 561 Spring 2009, Session9--Web 2.0 Introduction for libraries
IST 561 Spring 2009, Session9--Web 2.0 Introduction for libraries
 
IST 561, Spring 2009--Session11, Libraries, the future, and the final
IST 561, Spring 2009--Session11, Libraries, the future, and the finalIST 561, Spring 2009--Session11, Libraries, the future, and the final
IST 561, Spring 2009--Session11, Libraries, the future, and the final
 
IST 561 Spring 2007--Session7, Sources of Information
IST 561 Spring 2007--Session7, Sources of InformationIST 561 Spring 2007--Session7, Sources of Information
IST 561 Spring 2007--Session7, Sources of Information
 
IST561 Spring 2009--Session8, Java and JavaScript: the bare basics
IST561 Spring 2009--Session8, Java and JavaScript: the bare basicsIST561 Spring 2009--Session8, Java and JavaScript: the bare basics
IST561 Spring 2009--Session8, Java and JavaScript: the bare basics
 
IST 561 Session10, Spring 2009--Student Projects and Presentations
IST 561 Session10, Spring 2009--Student Projects and PresentationsIST 561 Session10, Spring 2009--Student Projects and Presentations
IST 561 Session10, Spring 2009--Student Projects and Presentations
 
IST 561 Spring 2009--Session6, Information Literacy and Web Site Evaluation
IST 561 Spring 2009--Session6, Information Literacy and Web Site EvaluationIST 561 Spring 2009--Session6, Information Literacy and Web Site Evaluation
IST 561 Spring 2009--Session6, Information Literacy and Web Site Evaluation
 
Summer 2010 Newsletter
Summer 2010 NewsletterSummer 2010 Newsletter
Summer 2010 Newsletter
 
Broadband Types
Broadband TypesBroadband Types
Broadband Types
 
Ethical hacking Chapter 6 - Port Scanning - Eric Vanderburg
Ethical hacking   Chapter 6 - Port Scanning - Eric VanderburgEthical hacking   Chapter 6 - Port Scanning - Eric Vanderburg
Ethical hacking Chapter 6 - Port Scanning - Eric Vanderburg
 
Storyboarding - Information Systems Engineering
Storyboarding - Information Systems EngineeringStoryboarding - Information Systems Engineering
Storyboarding - Information Systems Engineering
 
Youth & Brands : The Game of Emotions & Passions
Youth & Brands : The Game of Emotions & PassionsYouth & Brands : The Game of Emotions & Passions
Youth & Brands : The Game of Emotions & Passions
 
Chapt 2 storyboarding techniques
Chapt 2   storyboarding techniquesChapt 2   storyboarding techniques
Chapt 2 storyboarding techniques
 
Different Types of Websites
Different Types of WebsitesDifferent Types of Websites
Different Types of Websites
 
Taller XHTML y CSS3 - XHTML
Taller XHTML y CSS3 - XHTMLTaller XHTML y CSS3 - XHTML
Taller XHTML y CSS3 - XHTML
 
Myce.nl
Myce.nlMyce.nl
Myce.nl
 
valero energy Quarterly and Other SEC Reports 2006 2nd
valero energy  Quarterly and Other SEC Reports 2006 2ndvalero energy  Quarterly and Other SEC Reports 2006 2nd
valero energy Quarterly and Other SEC Reports 2006 2nd
 
E Penso A Te
E Penso A TeE Penso A Te
E Penso A Te
 
Chris Bull's Bi Portfolio
Chris Bull's Bi PortfolioChris Bull's Bi Portfolio
Chris Bull's Bi Portfolio
 
AIG First Quarter 2008FinancialSupplement
AIG First Quarter 2008FinancialSupplementAIG First Quarter 2008FinancialSupplement
AIG First Quarter 2008FinancialSupplement
 

Similar to IST 561 Session 3, Feb 9, 2009--XHMTL and CSS basics

Moss Jacosbon Ems Pla 182 Final Submission 12 15 08
Moss Jacosbon   Ems Pla 182 Final Submission 12 15 08Moss Jacosbon   Ems Pla 182 Final Submission 12 15 08
Moss Jacosbon Ems Pla 182 Final Submission 12 15 08mossbmw
 
MUDD Assignment 1_Generic Report Final
MUDD Assignment 1_Generic Report FinalMUDD Assignment 1_Generic Report Final
MUDD Assignment 1_Generic Report Finalevelynkinwah
 
Israel & Whistleblowing
Israel & WhistleblowingIsrael & Whistleblowing
Israel & WhistleblowingBrian Rowe
 
841charity
841charity841charity
841charityspmath
 
Import transaction
Import transactionImport transaction
Import transactionb3randal
 
LAMP_TRAINING_SESSION_6
LAMP_TRAINING_SESSION_6LAMP_TRAINING_SESSION_6
LAMP_TRAINING_SESSION_6umapst
 
Baldwin's collection of islamic coins before 100 AH
Baldwin's collection of islamic coins before 100 AHBaldwin's collection of islamic coins before 100 AH
Baldwin's collection of islamic coins before 100 AHSyed Zahid Ahmad
 
Poverty eradication focusing on artisanal mining
Poverty eradication   focusing on artisanal miningPoverty eradication   focusing on artisanal mining
Poverty eradication focusing on artisanal miningDr Lendy Spires
 
Surgimento dasociologia
Surgimento dasociologiaSurgimento dasociologia
Surgimento dasociologiaMariana Dantas
 
PCon 2016: Cross-Device Marketing (Anna Petrushkina, Yahoo)
PCon 2016: Cross-Device Marketing (Anna Petrushkina, Yahoo)PCon 2016: Cross-Device Marketing (Anna Petrushkina, Yahoo)
PCon 2016: Cross-Device Marketing (Anna Petrushkina, Yahoo)e-dialog GmbH
 
slam robotic navigatin genetic localization
slam robotic navigatin genetic localizationslam robotic navigatin genetic localization
slam robotic navigatin genetic localizationlzenki
 
LAMP_TRAINING_SESSION_3
LAMP_TRAINING_SESSION_3LAMP_TRAINING_SESSION_3
LAMP_TRAINING_SESSION_3umapst
 
LAMP_TRAINING_SESSION_1
LAMP_TRAINING_SESSION_1LAMP_TRAINING_SESSION_1
LAMP_TRAINING_SESSION_1umapst
 

Similar to IST 561 Session 3, Feb 9, 2009--XHMTL and CSS basics (20)

Cinquieme Atelier Recherche Du Reseau EDEN
Cinquieme Atelier Recherche Du Reseau EDENCinquieme Atelier Recherche Du Reseau EDEN
Cinquieme Atelier Recherche Du Reseau EDEN
 
Moss Jacosbon Ems Pla 182 Final Submission 12 15 08
Moss Jacosbon   Ems Pla 182 Final Submission 12 15 08Moss Jacosbon   Ems Pla 182 Final Submission 12 15 08
Moss Jacosbon Ems Pla 182 Final Submission 12 15 08
 
Layouts
LayoutsLayouts
Layouts
 
MUDD Assignment 1_Generic Report Final
MUDD Assignment 1_Generic Report FinalMUDD Assignment 1_Generic Report Final
MUDD Assignment 1_Generic Report Final
 
Israel & Whistleblowing
Israel & WhistleblowingIsrael & Whistleblowing
Israel & Whistleblowing
 
ESWC 2009 Lightning Talks
ESWC 2009 Lightning TalksESWC 2009 Lightning Talks
ESWC 2009 Lightning Talks
 
841charity
841charity841charity
841charity
 
Import transaction
Import transactionImport transaction
Import transaction
 
LAMP_TRAINING_SESSION_6
LAMP_TRAINING_SESSION_6LAMP_TRAINING_SESSION_6
LAMP_TRAINING_SESSION_6
 
Baldwin's collection of islamic coins before 100 AH
Baldwin's collection of islamic coins before 100 AHBaldwin's collection of islamic coins before 100 AH
Baldwin's collection of islamic coins before 100 AH
 
Poverty eradication focusing on artisanal mining
Poverty eradication   focusing on artisanal miningPoverty eradication   focusing on artisanal mining
Poverty eradication focusing on artisanal mining
 
Nop2
Nop2Nop2
Nop2
 
Camino orar7dias
Camino orar7diasCamino orar7dias
Camino orar7dias
 
OpenSSO Microsoft Interop
OpenSSO Microsoft InteropOpenSSO Microsoft Interop
OpenSSO Microsoft Interop
 
Surgimento dasociologia
Surgimento dasociologiaSurgimento dasociologia
Surgimento dasociologia
 
Pres Project
Pres ProjectPres Project
Pres Project
 
PCon 2016: Cross-Device Marketing (Anna Petrushkina, Yahoo)
PCon 2016: Cross-Device Marketing (Anna Petrushkina, Yahoo)PCon 2016: Cross-Device Marketing (Anna Petrushkina, Yahoo)
PCon 2016: Cross-Device Marketing (Anna Petrushkina, Yahoo)
 
slam robotic navigatin genetic localization
slam robotic navigatin genetic localizationslam robotic navigatin genetic localization
slam robotic navigatin genetic localization
 
LAMP_TRAINING_SESSION_3
LAMP_TRAINING_SESSION_3LAMP_TRAINING_SESSION_3
LAMP_TRAINING_SESSION_3
 
LAMP_TRAINING_SESSION_1
LAMP_TRAINING_SESSION_1LAMP_TRAINING_SESSION_1
LAMP_TRAINING_SESSION_1
 

Recently uploaded

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

IST 561 Session 3, Feb 9, 2009--XHMTL and CSS basics

  • 1. ! quot; #% $ &' quot; ( ) * + ,' - . quot; ' / -' quot; & ' / & * quot; * quot; / + - ( &quot; ( quot;( '/ ' + ( quot;( '/ / &quot; ( ** ' 0 quot; '(' quot; quot;quot; ' quot;* ( 0 ' '/ quot;( ' quot;' -' quot; quot;( 2 1
  • 2. 3 CSS Advantages % (/ (' ' 'quot; &* ' quot; * ' quot; &* / , ( 1 quot;' * ' ' ' * 2 quot; quot; *quot; 4 2
  • 3. ' quot; ' &quot; ( quot;/ &/ + ( 3/'quot; & ( #' ' / quot;' &* quot; 5 2* ' & quot; ( quot;// quot; & + ($ 3/ 4' ' 5* #' / quot;+ ( * 3
  • 4. 20 '' & quot; ( quot; 0& , / quot; quot;$ ' &0 quot; quot; ' / 4quot; 6 ' ' 5 * quot;/ / quot; &+ ( quot;quot; , // $ & quot; quot;' * ' quot;quot; *' 20 '' 8 4
  • 5. 9 0 *' & quot; ( + ( quot;' ' 0 ', ' ( $ body { color: blue; background-color: yellow; } /quot; '' ,quot; quot; /0 ( quot;'' * -' /, ' $ , body { color: #0000FF; background-color: #FFFF00; } 10 5
  • 6. 11 12 6
  • 7. 13 14 7
  • 8. 8
  • 9. &quot; quot; ( ' ,/ ( quot; ' quot; / '# quot; 7' . * ' 'quot; -' quot; 2 *' 0 .& quot; ( ' 0quot; 4 5' / * . <h1 style=quot;color:#ff0000quot;>Heading text is red</h1> 2 *' . & 0 quot;(/ 0quot; / / quot; ( &quot; ( ( ( quot;// quot; ( ' ' ' quot; ,/ quot;8 <h1 style=quot;color:#FF0000;background-color:#ccccccquot;>This is displayed as a red heading with gray background</h1> 17 <style type =quot;text/cssquot;> body { background- color: #000000; color: #FFFFFF; } </style> 18 9
  • 10. 2* ' •/ ' / ( ' ' '& / ' quot; ($ • / ( '' ' - quot; &45/ 45 / '* // /' '$ <style type=quot;text/cssquot;> body { background-color: #E6E6FA; color: #191970;} h1 { background-color: #191970; color: #E6E6FA;} h2 { background-color: #AEAED4; color: #191970;} </style> 9- , quot; '/ quot; + (: $ $ +/ quot;quot; (( (/ ' /// &' ' & 0 ( , quot;quot; ( / & quot; ( ' '& /0 ' ( ': ;$ quot; -( quot;* ( 'quot; &' quot;quot; ': 10
  • 11. & quot; 0, / quot;( ( quot; quot;& & quot; 0. quot;( ( & <, quot; (/ & quot; ( / ' &0 &< ' & quot; ( 0 quot;' quot; ' & <quot; = & quot; ( / quot; &/ = 0 & <& quot; *' & quot; ( /& & &/ 0 11
  • 12. p {font-family: Arial,Verdana, sans-serif;} 2* ' 2 *' 0 <style type=quot;text/cssquot;> body { background-color: #E6E6FA; color: #191970; font-family: Arial, Verdana, sans-serif; } h1 { background-color: #191970; color: #E6E6FA; line-height: 200%; font-family: Georgia, quot;Times New Romanquot;, serif; } h2 { background-color: #AEAED4; color: #191970; font-family: Georgia, quot;Times New Romanquot;, serif; } p {font-size: .90em; } ul {font-weight: bold; } </style> 12
  • 13. <style type=quot;text/cssquot;> .new { color: #FF0000; font-style: italic; } </style> <p class=“new”>This is text is red and in italics</p> 26 13
  • 14. <style type=quot;text/cssquot;> #new { color: #FF0000; font-size:2em; font-style: italic; } </style> <p id=“new”>This is text is red, large, and in italics</p> 27 28 14
  • 15. 4quot; 2 * -' 5 2 *' 0 & quot; ( (& 2* . <style type=quot;text/cssquot;> .footer { font-size: small; text-align: center; } </style> XHTML: <div class=“footerquot;>Copyright &copy; 2009</div> 29 30 15
  • 16. 4 52 * ' 2 *' 0 2* . <style type=quot;text/cssquot;> .companyname { font-weight: bold; font-family: Georgia, quot;Times New Romanquot;, serif; font-size: 1.25em; } </style> . <p>Your needs are important to us at <span class=“companynamequot;>Acme Web Design</span>. We will work with you to build your Web site.</p> 31 20 ' '/ Multiple web pages can associate with the same external style sheet file. site.css index.htm body {background-color:#E6E6FA; color:#000000; font-family:Arial, sans-serif; clients.htm font-size:90%; } h2 { color: #003366; } .nav { font-size: 16px; about.htm font-weight: bold; } etc… 32 16
  • 17. <link rel=quot;stylesheetquot; href=quot;color.cssquot; type=quot;text/cssquot; /> 33 3quot; 2 (0 ' '/ body { background-color: #0000FF; color: #FFFFFF; } To link to the external style sheet called color.css, the XHTML code placed in the header section is: <link rel=quot;stylesheetquot; href=quot;color.cssquot; type=quot;text/cssquot; /> 17
  • 18. 9- , quot; 1. Can you provide a reason to use embedded styles? Where are embedded styles placed on a web page? 2. Can you describe a reason to use external styles? Where are external styles laced and how do web pages indicate they are using external styles? 3. Can you write the code to configure a web page to use an external style sheet called “mystyles.css”? 35 quot; 1( ( ,/ quot; #container { margin-left: auto; margin-right: auto; width:80%; } 18
  • 19. +; 7' quot; quot; / .quot; ,, $ ( <-' 6( $; 6 6 > quot; 6 %quot;' quot; (quot;( ,/ quot; 9- , / quot; quot; &/ ( ( & quot; ( (' '& ' quot;& / ' quot; quot; '' & * ? / 4 54 ; / /5 @ ' ' '& / quot;& $ quot;( & /' ( -quot;& quot; ( A & quot; ( quot;' quot;& /$ (/ quot;* &/ '* ' $ 9- quot; $ ) quot;quot; ( A*- ' 0 '& $quot; ' 1quot; '( quot;( quot; * quot;quot; , -quot; / quot;quot; (( + quot; 19
  • 20. '/ quot; quot; ( 7quot; & quot; /. ( 8 * 'quot; / quot; (/ / &$ / / quot; Bquot; quot; (( &, . / quot; -' $ 7 quot; / /C & D* ' '' / / 0& ' /quot; quot; -' & ($ & & , E. 9- , quot; !* quot; /& quot; '/ quot; '$ quot; )& / quot;quot; / ' - / ' / quot; '$ quot; 7' quot; / .quot; ,, $ ( <-' 6( $; 6 6 > quot; ** quot; quot; quot;( ' / 9' quot; ,/ ' quot; 0, ( - quot;quot; ' '* ' 0 ' '$ - ' ' quot; ' $ quot; 7' quot; - quot; quot; / .quot; ,, $ ( <-' 6( $; 6 6 > quot; 40 20
  • 21. 21