SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Week 01
Introduction to HTML & CSS
DEFINITIONS

 HTML          Hyper Text Mark-Up Language:
STRUCTURE      A system of tags that describe the structure of a
               webpage.



           +
CSS            Cascading Stylesheets:
               Design Instructions for each tag.
DESIGN


         =
 Browser       Software that can read & Display
 DISPLAY        HTML, CSS, Java, PHP, etc.
HTML SYNTAX




 <h1> Cool Website </h1>



<img src="cat.jpg" title="My Cat" />
HTML SYNTAX




 <h1> Cool Website </h1>



<img src="cat.jpg" title="My Cat" />
HTML SYNTAX


            Start        Element      End
            Tag          Content      Tag

Element      <h1> Cool Website </h1>



Element   <img src="cat.jpg" title="My Cat" />


                  Attribut   Value   Attribut   Value   End
                     e                  e               Tag
          Start
          Tag
Mark-Up: Required Format
  <!DOCTYPE html>
<html>

    <head>
          <title> My First Website </title>
          <link type="text/css" rel="stylesheet" href="style.css">


   </head>
    <body>

          <h1> My First Website </h1>




   </body>
</html>
Mark-Up: Tabbing
  <!DOCTYPE html>
<html>

    <head>
          <title> My First Website </title>
          <link type="text/css" rel="stylesheet" href="style.css">


   </head>
    <body>

          <h1> My First Website </h1>




   </body>
</html>
HTML Nesting


                CORRECT


<li> <a href="...">   Text   </a> </li>




<li> <a href="...">   Text   </li> </a>

              INCORRECT
Mark-Up: Nesting
<!DOCTYPE html>

  <html>
      <head>
      <title> My First Website </title>

      <link type="text/css" rel="stylesheet"
      href="style.css">

     </head>
      <body>

       <h1> My First Website </h1>




     </body>
 </html>
Mark-Up in the Body                         plain text

 This is a Heading!
This is a Sub-Heading!


Google
NYTimes
Facebook


This is a Sub-Sub-Heading


Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Curabitur eu ante odio. Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Vestibulum ac ipsum urna. Maecenas volutpat,
tellus non molestie vestibulum, velit ipsum sollicitudin nisi,
vel volutpat augue nibh eget metus. Integer vitae metus eget
augue fermentum egestas.
Mark-Up in the Body                     Identify Parts

This is a Heading!
This is a SubHeading!



Google
NYTimes
Facebook



This is a Sub-Sub-Heading



Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Curabitur eu ante odio. Lorem ipsum dolor sit amet,
consectetur adipiscing elit. Vestibulum ac ipsum urna.
Maecenas volutpat, tellus non molestie vestibulum, velit ipsum
sollicitudin nisi, vel volutpat augue nibh eget metus. Integer
vitae metus eget augue fermentum egestas.
Mark-Up in the Body                          Add Tags
<body>
    <h1>This is a Heading!</h1>
    <h2>This is a SubHeading!</h2>

    <ul>
        <li><a href="http://www.google.com"> Google </a></li>
        <li><a href="http://www.nytimes.com"> NYTimes </a></li>
        <li><a href="http://www.facebook.com"> Facebook </a></li>
    </ul>

    <h3>This is a Sub-Sub-Heading<h3>

    <p>
           Lorem ipsum dolor sit amet, consectetur adipiscing elit.
           Curabitur eu ante odio. Lorem ipsum dolor sit amet, consectetur
           adipiscing elit. Vestibulum ac ipsum urna. Maecenas volutpat,
           tellus non molestie vestibulum, velit ipsum sollicitudin nisi,
           vel volutpat augue nibh eget metus. Integer vitae metus eget
           augue fermentum egestas.
    </p>

</body>
Mark-Up in the Body                                        Browser View

This is a Heading!
This is a Sub-Heading!



Google
NYTimes
Facebook


This is a Sub-Sub-Heading


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eu ante odio. Lorem ipsum
dolor sit amet, consectetur adipiscing elit. Vestibulum ac ipsum urna. Maecenas volutpat, tellus
non molestie vestibulum, velit ipsum sollicitudin nisi, vel volutpat augue nibh eget metus.
Integer vitae metus eget augue fermentum egestas.
CSS Syntax




h1   {
         color: red;
         font-size: 20px;
     }
CSS Syntax: notation




h1   {
         color: red;
         font-size: 20px;
     }
CSS Syntax


Selector    Property   Value


 h1    {
           color: red;         Declaration

           font-size: 20px;    Declaration


       }
Relationship between
        HTML, CSS & the Browser




  HTML            CSS             Browser
STRUCTURE       DESIGN            DISPLAY
Relationship between
                           HTML, CSS & the Browser
            HTML                            CSS                                  Browser
<body>                          body {                           HEADER
                                  background-color: lightBlue;
                                }                                Sub-Header

     <h1> HEADER </h1>
     <h2> Sub-Header </h2>                                       First
                                                                 Second
                                h1 {                             Third
                                  font-size: 14px;
     <ul>                         text-decoration: underline;
         <li>First</li>         {
         <li>Second</li>                                         This is a paragraph. It is made of sentences and
                                                                 words.
         <li>Third</li>
     </ul>                      h2 {
                                  font-size: 12px;
                                }
     <p> This is a paragraph.
     It is made of sentences
     and words. </p>            ul {
                                  background-color: white;
                                }



</body>                         li {
                                  font-weight: bold;
                                  font-size: 12px;
                                  color: blue;
                                }
                                p {
                                  text-align: center;
                                }
Relationship between
                           HTML, CSS & the Browser
            HTML                            CSS                                  Browser
<body>                          body {                           HEADER
                                  background-color: lightBlue;
                                }                                Sub-Header

     <h1> HEADER </h1>
     <h2> Sub-Header </h2>                                       First
                                                                 Second
                                h1 {                             Third
                                  font-size: 14px;
     <ul>                         text-decoration: underline;
         <li>First</li>         {
         <li>Second</li>                                         This is a paragraph. It is made of sentences and
                                                                 words.
         <li>Third</li>
     </ul>                      h2 {
                                  font-size: 12px;
                                }
     <p> This is a paragraph.
     It is made of sentences
     and words. </p>            ul {
                                  background-color: white;
                                }



</body>                         li {
                                  font-weight: bold;
                                  font-size: 12px;
                                  color: blue;
                                }
                                p {
                                  text-align: center;
                                }
Relationship between
                           HTML, CSS & the Browser
            HTML                            CSS                                  Browser
<body>                          body {                           HEADER
                                  background-color: lightBlue;
                                }                                Sub-Header

     <h1> HEADER </h1>
     <h2> Sub-Header </h2>                                       First
                                                                 Second
                                h1 {                             Third
                                  font-size: 14px;
     <ul>                         text-decoration: underline;
         <li>First</li>         {
         <li>Second</li>                                         This is a paragraph. It is made of sentences and
                                                                 words.
         <li>Third</li>
     </ul>                      h2 {
                                  font-size: 12px;
                                }
     <p> This is a paragraph.
     It is made of sentences
     and words. </p>            uo {
                                  background-color: white;
                                }



</body>                         li {
                                  font-weight: bold;
                                  font-size: 12px;
                                  color: blue;
                                }
                                p {
                                  text-align: center;
                                }
Relationship between
                           HTML, CSS & the Browser
            HTML                            CSS                                  Browser
<body>                          body {                           HEADER
                                  background-color: lightBlue;
                                }                                Sub-Header

     <h1> HEADER </h1>
     <h2> Sub-Header </h2>                                       First
                                                                 Second
                                h1 {                             Third
                                  font-size: 14px;
     <ul>                         text-decoration: underline;
         <li>First</li>         {
         <li>Second</li>                                         This is a paragraph. It is made of sentences and
                                                                 words.
         <li>Third</li>
     </ul>                      h2 {
                                  font-size: 12px;
                                }
     <p> This is a paragraph.
     It is made of sentences
     and words. </p>            ul {
                                  background-color: white;
                                }



</body>                         li {
                                  font-weight: bold;
                                  font-size: 12px;
                                  color: blue;
                                }
                                p {
                                  text-align: center;
                                }
Relationship between
                           HTML, CSS & the Browser
            HTML                            CSS                                  Browser
<body>                          body {                           HEADER
                                  background-color: lightBlue;
                                }                                Sub-Header

     <h1> HEADER </h1>
     <h2> Sub-Header </h2>                                       First
                                                                 Second
                                h1 {                             Third
                                  font-size: 14px;
     <ul>                         text-decoration: underline;
         <li>First</li>         {
         <li>Second</li>                                         This is a paragraph. It is made of sentences and
                                                                 words.
         <li>Third</li>
     </ul>                      h2 {
                                  font-size: 12px;
                                }
     <p> This is a paragraph.
     It is made of sentences
     and words. </p>            ul {
                                  background-color: white;
                                }



</body>                         li {
                                  font-weight: bold;
                                  font-size: 12px;
                                  color: blue;
                                }
                                p {
                                  text-align: center;
                                }
CONNECTING HTML TO CSS
                                             THE <link> TAG




<head>

    Start Tag                                               stylesheet = design               Path to the   End Tag
                                                                 instructions                 CSS sheet.
                            type of information Relation                            href
                  type
                attribute                       Attribute                         Attribute




 <link type="text/css" rel="stylesheet" href="style.css" />




</head>
Images in HTML




Start Tag                                           Alternate text if image                         End Tag
                                                        doesn't appear
             Search     Path to Image   Alternate                               Title Image Title
            Attribute                   Attribute                             Attribute




<img src="images/full/factory.jpg" alt="factory-pic" title="Factory" />
FOLDER STRUCTURE & PATHS

                Root Directory Folder



index.html   css           html         images
                                                   p1.jpg

             style.css     gallery         full
                            .html                  p2.jpg



                                                   t1.jpg
                            info          thumbs
                            .html
                                                   t2.jpg


                           contact
                            .html
FOLDER STRUCTURE & PATHS

                                         Root Directory Folder



           index.html                 css           html         images
                                                                            p1.jpg

                                      style.css     gallery         full
                                                     .html                  p2.jpg



                                                                            t1.jpg
                                                     info          thumbs
                                                     .html
                                                                            t2.jpg


                                                    contact
                                                     .html
Paths:
link from info.html to gallery.html


<a href="gallery.html">
FOLDER STRUCTURE & PATHS

                                               Root Directory Folder



        index.html                          css           html         images
                                                                                  p1.jpg

                                            style.css     gallery         full
                                                           .html                  p2.jpg



                                                                                  t1.jpg
                                                           info          thumbs
                                                           .html
                                                                                  t2.jpg


                                                          contact
                                                           .html
Paths:
hyperlink from index.html to gallery.html


<a href="html/gallery.html">
FOLDER STRUCTURE & PATHS

                                           Root Directory Folder



         index.html                     css           html         images
                                                                              p1.jpg

                                        style.css     gallery         full
                                                       .html                  p2.jpg



                                                                              t1.jpg
                                                       info          thumbs
                                                       .html
                                                                              t2.jpg


                                                      contact
                                                       .html
  Paths:
link between index.html and style.css

<link rel="stylesheet" type="text/css" href="css/style.css" />
FOLDER STRUCTURE & PATHS

                                              Root Directory Folder



         index.html                        css           html         images
                                                                                 p1.jpg

                                           style.css     gallery         full
                                                          .html                  p2.jpg



                                                                                 t1.jpg
                                                         info
                                                                        thumbs
                                                         .html
                                                                                 t2.jpg


                                                         contact
                                                          .html
Paths:
hyperlink from gallery.html to style.css


<link rel="stylesheet" type="text/css" href="../css/style.css" />
FOLDER STRUCTURE & PATHS

                                            Root Directory Folder



        index.html                       css           html         images
                                                                               p1.jpg

                                         style.css     gallery         full
                                                        .html                  p2.jpg



                                                                               t1.jpg
                                                       info
                                                                      thumbs
                                                       .html
                                                                               t2.jpg


                                                       contact
                                                        .html
Paths:
image p1.jpg displayed on gallery.html

<img src="../images/full/p1.jpg" />

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Html
HtmlHtml
Html
 
Html full
Html fullHtml full
Html full
 
Using SASS in the WordPress environment - Ran Bar Zik
Using SASS in the WordPress environment - Ran Bar ZikUsing SASS in the WordPress environment - Ran Bar Zik
Using SASS in the WordPress environment - Ran Bar Zik
 
Presentation 2
Presentation 2Presentation 2
Presentation 2
 
HTML & XHTML Basics
HTML & XHTML BasicsHTML & XHTML Basics
HTML & XHTML Basics
 
Html5
Html5Html5
Html5
 
TUTORIAL DE CSS 2.0
TUTORIAL DE CSS 2.0TUTORIAL DE CSS 2.0
TUTORIAL DE CSS 2.0
 
Basic HTML & CSS
Basic HTML & CSSBasic HTML & CSS
Basic HTML & CSS
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentation
 
Html Tags
Html TagsHtml Tags
Html Tags
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML
HTMLHTML
HTML
 
Web page concept final ppt
Web page concept  final pptWeb page concept  final ppt
Web page concept final ppt
 
Web Page Designing Using HTML
Web Page Designing Using HTMLWeb Page Designing Using HTML
Web Page Designing Using HTML
 
Theme 23
Theme 23Theme 23
Theme 23
 
Html
HtmlHtml
Html
 
Css1
Css1Css1
Css1
 
Document
DocumentDocument
Document
 
Html 5
Html 5Html 5
Html 5
 
Theme01
Theme01Theme01
Theme01
 

Ähnlich wie ID01 / W01

Hyper text markup Language
Hyper text markup LanguageHyper text markup Language
Hyper text markup LanguageNaveeth Babu
 
Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalorefathima12
 
Chapter 6 html
Chapter 6 htmlChapter 6 html
Chapter 6 htmlhome
 
Hypertext_markup_language
Hypertext_markup_languageHypertext_markup_language
Hypertext_markup_languageIshaq Shinwari
 
HTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docxHTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docxadampcarr67227
 
HTML all tags .........its to much helpful for beginners
HTML all tags .........its to much helpful for beginners HTML all tags .........its to much helpful for beginners
HTML all tags .........its to much helpful for beginners Nimrakhan89
 
Computer application html
Computer application htmlComputer application html
Computer application htmlPrashantChahal3
 

Ähnlich wie ID01 / W01 (20)

html.pptx
html.pptxhtml.pptx
html.pptx
 
Hyper text markup Language
Hyper text markup LanguageHyper text markup Language
Hyper text markup Language
 
IT Unit III.pptx
IT Unit III.pptxIT Unit III.pptx
IT Unit III.pptx
 
HTML and DHTML
HTML and DHTMLHTML and DHTML
HTML and DHTML
 
Basic html
Basic htmlBasic html
Basic html
 
Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalore
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
 
Chapter 6 html
Chapter 6 htmlChapter 6 html
Chapter 6 html
 
HTML5 with PHP.ini
HTML5 with PHP.iniHTML5 with PHP.ini
HTML5 with PHP.ini
 
Html.docx
Html.docxHtml.docx
Html.docx
 
Hypertext_markup_language
Hypertext_markup_languageHypertext_markup_language
Hypertext_markup_language
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
HTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docxHTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docx
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
HTML.ppt
HTML.pptHTML.ppt
HTML.ppt
 
HTML all tags .........its to much helpful for beginners
HTML all tags .........its to much helpful for beginners HTML all tags .........its to much helpful for beginners
HTML all tags .........its to much helpful for beginners
 
Java script and html new
Java script and html newJava script and html new
Java script and html new
 
Java script and html
Java script and htmlJava script and html
Java script and html
 
Computer application html
Computer application htmlComputer application html
Computer application html
 

Kürzlich hochgeladen

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 

Kürzlich hochgeladen (20)

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 

ID01 / W01

  • 2. DEFINITIONS HTML Hyper Text Mark-Up Language: STRUCTURE A system of tags that describe the structure of a webpage. + CSS Cascading Stylesheets: Design Instructions for each tag. DESIGN = Browser Software that can read & Display DISPLAY HTML, CSS, Java, PHP, etc.
  • 3. HTML SYNTAX <h1> Cool Website </h1> <img src="cat.jpg" title="My Cat" />
  • 4. HTML SYNTAX <h1> Cool Website </h1> <img src="cat.jpg" title="My Cat" />
  • 5. HTML SYNTAX Start Element End Tag Content Tag Element <h1> Cool Website </h1> Element <img src="cat.jpg" title="My Cat" /> Attribut Value Attribut Value End e e Tag Start Tag
  • 6. Mark-Up: Required Format <!DOCTYPE html> <html> <head> <title> My First Website </title> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <h1> My First Website </h1> </body> </html>
  • 7. Mark-Up: Tabbing <!DOCTYPE html> <html> <head> <title> My First Website </title> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <h1> My First Website </h1> </body> </html>
  • 8. HTML Nesting CORRECT <li> <a href="..."> Text </a> </li> <li> <a href="..."> Text </li> </a> INCORRECT
  • 9. Mark-Up: Nesting <!DOCTYPE html> <html> <head> <title> My First Website </title> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <h1> My First Website </h1> </body> </html>
  • 10. Mark-Up in the Body plain text This is a Heading! This is a Sub-Heading! Google NYTimes Facebook This is a Sub-Sub-Heading Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eu ante odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ac ipsum urna. Maecenas volutpat, tellus non molestie vestibulum, velit ipsum sollicitudin nisi, vel volutpat augue nibh eget metus. Integer vitae metus eget augue fermentum egestas.
  • 11. Mark-Up in the Body Identify Parts This is a Heading! This is a SubHeading! Google NYTimes Facebook This is a Sub-Sub-Heading Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eu ante odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ac ipsum urna. Maecenas volutpat, tellus non molestie vestibulum, velit ipsum sollicitudin nisi, vel volutpat augue nibh eget metus. Integer vitae metus eget augue fermentum egestas.
  • 12. Mark-Up in the Body Add Tags <body> <h1>This is a Heading!</h1> <h2>This is a SubHeading!</h2> <ul> <li><a href="http://www.google.com"> Google </a></li> <li><a href="http://www.nytimes.com"> NYTimes </a></li> <li><a href="http://www.facebook.com"> Facebook </a></li> </ul> <h3>This is a Sub-Sub-Heading<h3> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eu ante odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ac ipsum urna. Maecenas volutpat, tellus non molestie vestibulum, velit ipsum sollicitudin nisi, vel volutpat augue nibh eget metus. Integer vitae metus eget augue fermentum egestas. </p> </body>
  • 13. Mark-Up in the Body Browser View This is a Heading! This is a Sub-Heading! Google NYTimes Facebook This is a Sub-Sub-Heading Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur eu ante odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ac ipsum urna. Maecenas volutpat, tellus non molestie vestibulum, velit ipsum sollicitudin nisi, vel volutpat augue nibh eget metus. Integer vitae metus eget augue fermentum egestas.
  • 14. CSS Syntax h1 { color: red; font-size: 20px; }
  • 15. CSS Syntax: notation h1 { color: red; font-size: 20px; }
  • 16. CSS Syntax Selector Property Value h1 { color: red; Declaration font-size: 20px; Declaration }
  • 17. Relationship between HTML, CSS & the Browser HTML CSS Browser STRUCTURE DESIGN DISPLAY
  • 18. Relationship between HTML, CSS & the Browser HTML CSS Browser <body> body { HEADER background-color: lightBlue; } Sub-Header <h1> HEADER </h1> <h2> Sub-Header </h2> First Second h1 { Third font-size: 14px; <ul> text-decoration: underline; <li>First</li> { <li>Second</li> This is a paragraph. It is made of sentences and words. <li>Third</li> </ul> h2 { font-size: 12px; } <p> This is a paragraph. It is made of sentences and words. </p> ul { background-color: white; } </body> li { font-weight: bold; font-size: 12px; color: blue; } p { text-align: center; }
  • 19. Relationship between HTML, CSS & the Browser HTML CSS Browser <body> body { HEADER background-color: lightBlue; } Sub-Header <h1> HEADER </h1> <h2> Sub-Header </h2> First Second h1 { Third font-size: 14px; <ul> text-decoration: underline; <li>First</li> { <li>Second</li> This is a paragraph. It is made of sentences and words. <li>Third</li> </ul> h2 { font-size: 12px; } <p> This is a paragraph. It is made of sentences and words. </p> ul { background-color: white; } </body> li { font-weight: bold; font-size: 12px; color: blue; } p { text-align: center; }
  • 20. Relationship between HTML, CSS & the Browser HTML CSS Browser <body> body { HEADER background-color: lightBlue; } Sub-Header <h1> HEADER </h1> <h2> Sub-Header </h2> First Second h1 { Third font-size: 14px; <ul> text-decoration: underline; <li>First</li> { <li>Second</li> This is a paragraph. It is made of sentences and words. <li>Third</li> </ul> h2 { font-size: 12px; } <p> This is a paragraph. It is made of sentences and words. </p> uo { background-color: white; } </body> li { font-weight: bold; font-size: 12px; color: blue; } p { text-align: center; }
  • 21. Relationship between HTML, CSS & the Browser HTML CSS Browser <body> body { HEADER background-color: lightBlue; } Sub-Header <h1> HEADER </h1> <h2> Sub-Header </h2> First Second h1 { Third font-size: 14px; <ul> text-decoration: underline; <li>First</li> { <li>Second</li> This is a paragraph. It is made of sentences and words. <li>Third</li> </ul> h2 { font-size: 12px; } <p> This is a paragraph. It is made of sentences and words. </p> ul { background-color: white; } </body> li { font-weight: bold; font-size: 12px; color: blue; } p { text-align: center; }
  • 22. Relationship between HTML, CSS & the Browser HTML CSS Browser <body> body { HEADER background-color: lightBlue; } Sub-Header <h1> HEADER </h1> <h2> Sub-Header </h2> First Second h1 { Third font-size: 14px; <ul> text-decoration: underline; <li>First</li> { <li>Second</li> This is a paragraph. It is made of sentences and words. <li>Third</li> </ul> h2 { font-size: 12px; } <p> This is a paragraph. It is made of sentences and words. </p> ul { background-color: white; } </body> li { font-weight: bold; font-size: 12px; color: blue; } p { text-align: center; }
  • 23. CONNECTING HTML TO CSS THE <link> TAG <head> Start Tag stylesheet = design Path to the End Tag instructions CSS sheet. type of information Relation href type attribute Attribute Attribute <link type="text/css" rel="stylesheet" href="style.css" /> </head>
  • 24. Images in HTML Start Tag Alternate text if image End Tag doesn't appear Search Path to Image Alternate Title Image Title Attribute Attribute Attribute <img src="images/full/factory.jpg" alt="factory-pic" title="Factory" />
  • 25. FOLDER STRUCTURE & PATHS Root Directory Folder index.html css html images p1.jpg style.css gallery full .html p2.jpg t1.jpg info thumbs .html t2.jpg contact .html
  • 26. FOLDER STRUCTURE & PATHS Root Directory Folder index.html css html images p1.jpg style.css gallery full .html p2.jpg t1.jpg info thumbs .html t2.jpg contact .html Paths: link from info.html to gallery.html <a href="gallery.html">
  • 27. FOLDER STRUCTURE & PATHS Root Directory Folder index.html css html images p1.jpg style.css gallery full .html p2.jpg t1.jpg info thumbs .html t2.jpg contact .html Paths: hyperlink from index.html to gallery.html <a href="html/gallery.html">
  • 28. FOLDER STRUCTURE & PATHS Root Directory Folder index.html css html images p1.jpg style.css gallery full .html p2.jpg t1.jpg info thumbs .html t2.jpg contact .html Paths: link between index.html and style.css <link rel="stylesheet" type="text/css" href="css/style.css" />
  • 29. FOLDER STRUCTURE & PATHS Root Directory Folder index.html css html images p1.jpg style.css gallery full .html p2.jpg t1.jpg info thumbs .html t2.jpg contact .html Paths: hyperlink from gallery.html to style.css <link rel="stylesheet" type="text/css" href="../css/style.css" />
  • 30. FOLDER STRUCTURE & PATHS Root Directory Folder index.html css html images p1.jpg style.css gallery full .html p2.jpg t1.jpg info thumbs .html t2.jpg contact .html Paths: image p1.jpg displayed on gallery.html <img src="../images/full/p1.jpg" />

Hinweis der Redaktion

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n