SlideShare uma empresa Scribd logo
1 de 24
Building and Marketing Websites
Marketing Tidbit
• Google
• Majority of revenue (97%) comes from
  advertising
<html>
    <head>
              <title>Simple Website</title>
    </head>                                     Web Server
    <body>
              <h1>Welcome</h1>
              <p>This is a demonstration.</p>
    </body>
</html>


                HTML
HTML Example
<html>
  <head>
     <title>Simple Website</title>
  </head>
  <body>
     <h1>Welcome</h1>
     <p>This is a demonstration.</p>
  </body>
</html>
“Nesting”
• Putting one element inside another
How Browser Displays Images
1. Loads HTML
2. Looks through HTML for image tags
3. Asks Server for each image it finds in HTML

                                    peanut-butter.jpg




           HTML
Image Tag
<html>
  <head>
     <title>Simple Website</title>
  </head>
  <body>
     <h1>Peanut Butter</h1>
     <img src=“peanut-butter.jpg” />
  </body>
</html>
Element Attributes
• Instructions that clarify or modify an element.

<element attribute-name="value">Content</element>
<element attribute-name="value" />



 <img src=“peanut-butter.jpg” alt=“Sandwich” />
HTML comments
• <!– Comment goes here -->

• Great for leaving notes to yourself
CSS
• HTML describes the content in a
  Web page

• CSS describes how you want that
  content to look
HTML for Structure

CSS for Presentation
Style element
<html>
   <head>
      <title>Simple Website</title>
      <style type=“text/css”>

      </style>
   </head>
   <body>
        <h1>Welcome</h1>
        <p>This is a demonstration.</p>
   </body>
</html>
Style sheet
   <head>
       <title>Simple Website</title>
        <style type=“text/css”>
                p { border:2px solid black; }
        </style>
   </head>


• Made up of one or more style instructions
  (called rules)
• Rules describe how an element or group of
  elements should be displayed.
Style sheet rules
<style type="text/css">
       h1 { border:2px solid green; }
       p { border:2px solid black; }
       img { border:2px solid red; }
</style>
Selector
<style type="text/css">
          h1 { border:2px solid green; }
          p { border:2px solid black; }
          img { border:2px solid red; }
</style>




          • Example of element type selector
          • Most basic type of selector
Declaration
<style type="text/css">
          h1 { border:2px solid green; }
          p { border:2px solid black; }
          img { border:2px solid red; }
</style>




                      • Property/value pair
Declaration Block




• There can be more than one declaration in a single rule
Style sheet rules
<style type="text/css">
       h1 { border:2px solid green; }
       p { border:2px solid black; }
       img { border:2px solid red; }
</style>
Combining Rules
<style type="text/css">
       h1 { border:2px solid black; }
       h2 { border:2px solid black; }
</style>



 <style type="text/css">
        h1, h2 { border:2px solid black; }
 </style>
Selectors visually

<style type="text/css">
          h1 { border:2px solid green; }
          p { border:2px solid black; }
          img { border:2px solid red; }
</style>
h1 {
   border: 2px solid black;
 }


           html

     head         body

h1          h2                p   p
h1, h2 {
   border: 2px solid black;
 }


           html

     head         body

h1          h2                p   p
p{
   color: green;
 }


           html

     head          body

h1          h2            p   p

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Unit 2 (it workshop)
Unit 2 (it workshop)Unit 2 (it workshop)
Unit 2 (it workshop)
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Web 102 INtro to CSS
Web 102  INtro to CSSWeb 102  INtro to CSS
Web 102 INtro to CSS
 
Cascading Style Sheet
Cascading Style SheetCascading Style Sheet
Cascading Style Sheet
 
HTML & XHTML Basics
HTML & XHTML BasicsHTML & XHTML Basics
HTML & XHTML Basics
 
HTML and CSS crash course!
HTML and CSS crash course!HTML and CSS crash course!
HTML and CSS crash course!
 
Intro to WebSite Development ( Text properties and margins )
Intro to WebSite Development ( Text properties and margins )Intro to WebSite Development ( Text properties and margins )
Intro to WebSite Development ( Text properties and margins )
 
Css
CssCss
Css
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
Web topic 15 1 basic css layout
Web topic 15 1  basic css layoutWeb topic 15 1  basic css layout
Web topic 15 1 basic css layout
 
Html part 2
Html part 2Html part 2
Html part 2
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
CSS-3 Course Slide
CSS-3 Course SlideCSS-3 Course Slide
CSS-3 Course Slide
 
CSS
CSSCSS
CSS
 
Css.html
Css.htmlCss.html
Css.html
 

Destaque

Powerpoint guide
Powerpoint guidePowerpoint guide
Powerpoint guideshare2010
 
User-centred innovation at Digital World Research Centre
User-centred innovation at Digital World Research CentreUser-centred innovation at Digital World Research Centre
User-centred innovation at Digital World Research CentrePeter Lancaster
 
Energy-Price-Driven Query Processing in Multi-center Web Search Engines
Energy-Price-Driven Query Processing in Multi-center WebSearch EnginesEnergy-Price-Driven Query Processing in Multi-center WebSearch Engines
Energy-Price-Driven Query Processing in Multi-center Web Search EnginesRoi Blanco
 
D:\งานส่ง\G48 53011810075
D:\งานส่ง\G48 53011810075D:\งานส่ง\G48 53011810075
D:\งานส่ง\G48 53011810075BenjamasS
 
Nonlocal effects in models of liquid crystal materials
Nonlocal effects in models of liquid crystal materialsNonlocal effects in models of liquid crystal materials
Nonlocal effects in models of liquid crystal materialsNigel Mottram
 
What is Effective Technology Integration for 21st Century Learners?
What is Effective Technology Integration for 21st Century Learners?What is Effective Technology Integration for 21st Century Learners?
What is Effective Technology Integration for 21st Century Learners?Jessica Watson
 
International MBA Student Connector Program
International MBA Student Connector ProgramInternational MBA Student Connector Program
International MBA Student Connector ProgramHalifax Partnership
 
Hellomynameis,lindsayhoward
Hellomynameis,lindsayhowardHellomynameis,lindsayhoward
Hellomynameis,lindsayhowardLindsay Howard
 
Strategic research agenda for cocoa coffee Wageningen UR 09062014
Strategic research agenda for cocoa coffee Wageningen UR 09062014Strategic research agenda for cocoa coffee Wageningen UR 09062014
Strategic research agenda for cocoa coffee Wageningen UR 09062014Verina Ingram
 
Corporate wellbeing
Corporate wellbeingCorporate wellbeing
Corporate wellbeingRavi Samuel
 
The Happenings Gay Magazine (2007) Mayonn, Inc.
The Happenings Gay Magazine (2007) Mayonn, Inc.The Happenings Gay Magazine (2007) Mayonn, Inc.
The Happenings Gay Magazine (2007) Mayonn, Inc.mayonn
 
Web 2.0..Business Friend or Foe?
Web 2.0..Business Friend or Foe?Web 2.0..Business Friend or Foe?
Web 2.0..Business Friend or Foe?Stites & Harbison
 
Plan Amsterdam, over de brettenzone en Sloterdijk met onze bijdrage!
Plan Amsterdam, over de brettenzone en Sloterdijk met onze bijdrage!Plan Amsterdam, over de brettenzone en Sloterdijk met onze bijdrage!
Plan Amsterdam, over de brettenzone en Sloterdijk met onze bijdrage!Wouter Valkenier
 
D:\Ben\G48 53011810075
D:\Ben\G48 53011810075D:\Ben\G48 53011810075
D:\Ben\G48 53011810075BenjamasS
 

Destaque (20)

Tsa presentation
Tsa presentationTsa presentation
Tsa presentation
 
Powerpoint guide
Powerpoint guidePowerpoint guide
Powerpoint guide
 
User-centred innovation at Digital World Research Centre
User-centred innovation at Digital World Research CentreUser-centred innovation at Digital World Research Centre
User-centred innovation at Digital World Research Centre
 
Energy-Price-Driven Query Processing in Multi-center Web Search Engines
Energy-Price-Driven Query Processing in Multi-center WebSearch EnginesEnergy-Price-Driven Query Processing in Multi-center WebSearch Engines
Energy-Price-Driven Query Processing in Multi-center Web Search Engines
 
D:\งานส่ง\G48 53011810075
D:\งานส่ง\G48 53011810075D:\งานส่ง\G48 53011810075
D:\งานส่ง\G48 53011810075
 
Rrp 2
Rrp 2Rrp 2
Rrp 2
 
Wssu session 2
Wssu session 2Wssu session 2
Wssu session 2
 
Nonlocal effects in models of liquid crystal materials
Nonlocal effects in models of liquid crystal materialsNonlocal effects in models of liquid crystal materials
Nonlocal effects in models of liquid crystal materials
 
What is Effective Technology Integration for 21st Century Learners?
What is Effective Technology Integration for 21st Century Learners?What is Effective Technology Integration for 21st Century Learners?
What is Effective Technology Integration for 21st Century Learners?
 
International MBA Student Connector Program
International MBA Student Connector ProgramInternational MBA Student Connector Program
International MBA Student Connector Program
 
Hellomynameis,lindsayhoward
Hellomynameis,lindsayhowardHellomynameis,lindsayhoward
Hellomynameis,lindsayhoward
 
Strategic research agenda for cocoa coffee Wageningen UR 09062014
Strategic research agenda for cocoa coffee Wageningen UR 09062014Strategic research agenda for cocoa coffee Wageningen UR 09062014
Strategic research agenda for cocoa coffee Wageningen UR 09062014
 
Corporate wellbeing
Corporate wellbeingCorporate wellbeing
Corporate wellbeing
 
The Happenings Gay Magazine (2007) Mayonn, Inc.
The Happenings Gay Magazine (2007) Mayonn, Inc.The Happenings Gay Magazine (2007) Mayonn, Inc.
The Happenings Gay Magazine (2007) Mayonn, Inc.
 
Portfolio
PortfolioPortfolio
Portfolio
 
Web 2.0..Business Friend or Foe?
Web 2.0..Business Friend or Foe?Web 2.0..Business Friend or Foe?
Web 2.0..Business Friend or Foe?
 
Plan Amsterdam, over de brettenzone en Sloterdijk met onze bijdrage!
Plan Amsterdam, over de brettenzone en Sloterdijk met onze bijdrage!Plan Amsterdam, over de brettenzone en Sloterdijk met onze bijdrage!
Plan Amsterdam, over de brettenzone en Sloterdijk met onze bijdrage!
 
Def jam comeback
Def jam comebackDef jam comeback
Def jam comeback
 
D:\Ben\G48 53011810075
D:\Ben\G48 53011810075D:\Ben\G48 53011810075
D:\Ben\G48 53011810075
 
Case studies
Case studiesCase studies
Case studies
 

Semelhante a Build Websites and Market Them Effectively

Semelhante a Build Websites and Market Them Effectively (20)

Pres
PresPres
Pres
 
css1.pptx
css1.pptxcss1.pptx
css1.pptx
 
Html advance
Html advanceHtml advance
Html advance
 
HTML-Advance.pptx
HTML-Advance.pptxHTML-Advance.pptx
HTML-Advance.pptx
 
[SUTD GDSC] Intro to HTML and CSS
[SUTD GDSC] Intro to HTML and CSS[SUTD GDSC] Intro to HTML and CSS
[SUTD GDSC] Intro to HTML and CSS
 
CSS.pdf
CSS.pdfCSS.pdf
CSS.pdf
 
Web Design Course: CSS lecture 2
Web Design Course: CSS  lecture 2Web Design Course: CSS  lecture 2
Web Design Course: CSS lecture 2
 
Intro to CSS_APEC CascadingStyleSheets.pptx
Intro to CSS_APEC CascadingStyleSheets.pptxIntro to CSS_APEC CascadingStyleSheets.pptx
Intro to CSS_APEC CascadingStyleSheets.pptx
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
Web Development Using CSS3
Web Development Using CSS3Web Development Using CSS3
Web Development Using CSS3
 
Web Development Using CSS3
Web Development Using CSS3Web Development Using CSS3
Web Development Using CSS3
 
Css, CaseCading Style Sheet
Css, CaseCading Style SheetCss, CaseCading Style Sheet
Css, CaseCading Style Sheet
 
Cascade.ss
Cascade.ssCascade.ss
Cascade.ss
 
Html intro
Html introHtml intro
Html intro
 
HTML, CSS, JavaScript for beginners
HTML, CSS, JavaScript for beginnersHTML, CSS, JavaScript for beginners
HTML, CSS, JavaScript for beginners
 
HTML and CSS
HTML and CSSHTML and CSS
HTML and CSS
 
Hypertext markup language(html)
Hypertext markup language(html)Hypertext markup language(html)
Hypertext markup language(html)
 
Cascading style sheet: complete explanation with some examples
Cascading style sheet: complete explanation with some examplesCascading style sheet: complete explanation with some examples
Cascading style sheet: complete explanation with some examples
 
html
htmlhtml
html
 
Html coding
Html codingHtml coding
Html coding
 

Mais de Andrey L

Mais de Andrey L (6)

Pres
PresPres
Pres
 
Pres
PresPres
Pres
 
Pres
PresPres
Pres
 
Pres
PresPres
Pres
 
Pres
PresPres
Pres
 
Intro 1 sept_14_2010
Intro 1 sept_14_2010Intro 1 sept_14_2010
Intro 1 sept_14_2010
 

Build Websites and Market Them Effectively

  • 2. Marketing Tidbit • Google • Majority of revenue (97%) comes from advertising
  • 3. <html> <head> <title>Simple Website</title> </head> Web Server <body> <h1>Welcome</h1> <p>This is a demonstration.</p> </body> </html> HTML
  • 4. HTML Example <html> <head> <title>Simple Website</title> </head> <body> <h1>Welcome</h1> <p>This is a demonstration.</p> </body> </html>
  • 5. “Nesting” • Putting one element inside another
  • 6. How Browser Displays Images 1. Loads HTML 2. Looks through HTML for image tags 3. Asks Server for each image it finds in HTML peanut-butter.jpg HTML
  • 7. Image Tag <html> <head> <title>Simple Website</title> </head> <body> <h1>Peanut Butter</h1> <img src=“peanut-butter.jpg” /> </body> </html>
  • 8. Element Attributes • Instructions that clarify or modify an element. <element attribute-name="value">Content</element> <element attribute-name="value" /> <img src=“peanut-butter.jpg” alt=“Sandwich” />
  • 9. HTML comments • <!– Comment goes here --> • Great for leaving notes to yourself
  • 10. CSS
  • 11. • HTML describes the content in a Web page • CSS describes how you want that content to look
  • 12. HTML for Structure CSS for Presentation
  • 13. Style element <html> <head> <title>Simple Website</title> <style type=“text/css”> </style> </head> <body> <h1>Welcome</h1> <p>This is a demonstration.</p> </body> </html>
  • 14. Style sheet <head> <title>Simple Website</title> <style type=“text/css”> p { border:2px solid black; } </style> </head> • Made up of one or more style instructions (called rules) • Rules describe how an element or group of elements should be displayed.
  • 15. Style sheet rules <style type="text/css"> h1 { border:2px solid green; } p { border:2px solid black; } img { border:2px solid red; } </style>
  • 16. Selector <style type="text/css"> h1 { border:2px solid green; } p { border:2px solid black; } img { border:2px solid red; } </style> • Example of element type selector • Most basic type of selector
  • 17. Declaration <style type="text/css"> h1 { border:2px solid green; } p { border:2px solid black; } img { border:2px solid red; } </style> • Property/value pair
  • 18. Declaration Block • There can be more than one declaration in a single rule
  • 19. Style sheet rules <style type="text/css"> h1 { border:2px solid green; } p { border:2px solid black; } img { border:2px solid red; } </style>
  • 20. Combining Rules <style type="text/css"> h1 { border:2px solid black; } h2 { border:2px solid black; } </style> <style type="text/css"> h1, h2 { border:2px solid black; } </style>
  • 21. Selectors visually <style type="text/css"> h1 { border:2px solid green; } p { border:2px solid black; } img { border:2px solid red; } </style>
  • 22. h1 { border: 2px solid black; } html head body h1 h2 p p
  • 23. h1, h2 { border: 2px solid black; } html head body h1 h2 p p
  • 24. p{ color: green; } html head body h1 h2 p p