SlideShare a Scribd company logo
HTML5
                             Getting started from Scratch




Monday, September 27, 2010
What is HTML?

                   • Easy to learn
                   • Requires no special hardware
                   • <p>Uses <em>tags</em> to tell the
                             browser how to display text and other
                             content</p>



Monday, September 27, 2010
What is HTML5?
                   • The latest version of HTML
                   • The latest version of CSS
                   • Native video, audio, form validation,
                             caching, geolocation,
                   • Allows you to build applications as well as
                             pages


Monday, September 27, 2010
This is HTML
       <h1 id="firstHeading" class="firstHeading">The Wizard of Oz (1939
       film)</h1>

       <!-- bodyContent -->
       ! <div id="bodyContent">
       ! <!-- tagline -->
       ! <div id="siteSub">From Wikipedia, the free encyclopedia</div>
       ! <!-- /tagline -->

       <p>Twelve-year-old orphan Dorothy Gale (<a href="/wiki/Judy_Garland"
       title="Judy Garland">Judy Garland</a>) lives in rural Kansas with her
       Aunt Em (<a href="/wiki/Clara_Blandick" title="Clara Blandick">Clara
       Blandick</a>), Uncle Henry (<a href="/wiki/Charles_Grapewin"
       title="Charles Grapewin">Charles Grapewin</a>), and three farm hands,
       Hickory (<a href="/wiki/Jack_Haley" title="Jack Haley">Jack Haley</
       a>), Hunk (<a href="/wiki/Ray_Bolger" title="Ray Bolger">Ray Bolger</
       a>), and Zeke (<a href="/wiki/Bert_Lahr" title="Bert Lahr">Bert Lahr</
       a>). </p>



Monday, September 27, 2010
This is HTML5
       <article>
       ! <header>
            <h1><a href="http://www.amazon.com/">The Wizard of Oz</a></h1>
          </header>
       ! <figure>
             <a href="http://www.amazon.com/"><img src="http://ecx.images-
       amazon.com/wiz.jpg" alt="The Wizard of Oz"></a>
          </figure>
       ! ! <details open="">
       ! ! <ul>
       ! ! <li><summary>When it was released during Hollywood's golden year of
       1939,The Wizard of Oz didn't start out as the perennial classic it has since
       become. The film did respectable business, but it wasn't until its debut on
       television that this family favorite saw its popularity soar. And while Oz's
       TV b…</summary></li>
       ! ! <li class="actors"><strong>Actors</strong>: Judy Garland, Frank
       Morgan, Ray Bolger, Bert Lahr, Jack Haley</li>    <li><strong>$19.96</
       strong> DVD Metro-Goldwyn-Mayer (MGM)</li>
          </ul>
       ! </details>
       </article>




Monday, September 27, 2010
This is CSS2




Monday, September 27, 2010
This is CSS3




Monday, September 27, 2010
Let’s get down to the
                              basics


Monday, September 27, 2010
Structure
                   • Give your content structure
                   • Choose the most semantic container
                   • Do you use a tupperware bowl to serve
                             gravy?
                   • Tags: figure, p, li, blockquote, cite, video,
                             article, footer, navigation, header, section



Monday, September 27, 2010
The holy trinity
                             HTML + CSS + JS

                   • HTML - content, structure
                   • CSS - design, feedback
                   • JS - interaction, movement, data transfer


Monday, September 27, 2010
The new studs
                   • Canvas - animation, charts, transformations
                   • SVG - like canvas but more data oriented
                   • Video, Audio - no plugins needed
                   • Geo-Location - where are you sitting?
                   • Web Workers, Web Sockets - data
                             manipulation


Monday, September 27, 2010
Before we code
             • relative url:
                    <a href=”next.html”>next</a>
             • absolute url:
                    <a href=”http://doglr.com>doglr</a>
             • meta tags: invisible information about the page for
                    search engines and the browser
             • tag: <p>, <li>, <footer>
             • attribute: class=”mod”, id=”main”, src=”...”
Monday, September 27, 2010
Before we code
                   • Accessibility: everyone can use your page
                   • S.E.O.: snake oil salesmen. Good content,
                             good markup, inbound links
                   • Validation: make sure your code is correct.
                             Valid code is much easier to style and
                             debug.
                   • foo, bar, baz: standard geek placeholders
Monday, September 27, 2010
HTML5 Tags
                                   Containers
               <header>, <footer>,<section>, <article>, <div>, <span>




Monday, September 27, 2010
<header> & <footer>
                   •         <header> usually             •   <footer> usually
                             contains the top                 contains the copyright,
                             navigation, branding, icon       secondary navigation,
                                                              contact information, and
                   •         <header> can also be             other details
                             used within individual
                             sections of a page




Monday, September 27, 2010
<section> & <article>
                   •         <section> contains         •   <article> is a self-
                             content that is related.       contained chunk of
                                                            information
                   •         <section> can be nested
                                                        •   an <article> could be
                   •         <section> may be the           grabbed and placed in
                                                            another page without
                             main section of a page
                             and the sub modules            losing context.

                                                        •   <article> use: blog post,
                                                            product detail, tweet




Monday, September 27, 2010
<div> & <span>
                   •         <div> is a container with   •   <span> is a container
                             no semantic value.              with no semantic
                                                             value
                   •         <div> can be nested
                                                         •   <span> is inline, it can
                   •         <div> can contain just          only contain text and
                             about anything                  other inline content

                   •         <div> is old HTML, use      •   use <span> when you
                             <section> or <article>          target text and don’t
                             where appropriate               want to add structure




Monday, September 27, 2010
HTML5 Tags
                                     Lists
                               <ul>, <ol>, <dl>




Monday, September 27, 2010
<ul> & <ol>
                   •         <ul> is the most           •   <ol> is an ordered list.
                             common
                                                        •   They are used for
                   •         unordered list, no             instructions, outlines,
                             hierarchy                      steps...

                   •         the bullets can be         •   the bullets can be
                             changed or removed.            numbers, letters, roman
                             The list can be vertical       numerals, or removed.
                             on horizontal
                                                        •   <ol><li>foo</li><ol>
                   •         <ul><li>foo</li><ul>



Monday, September 27, 2010
<dl>
           • <dl> is a definition list
           • contains terms and definitions
           • HTML5 allows more flexibility, ignore the old
                  HTML dl haters :-)
           • great for glossaries, product specifications,
                  personal information
           • <dl><dt>term</dt></dd>definition</dd></dl>
           • I loves my <dl>. I abuse my <dl>.
Monday, September 27, 2010
HTML5 Tags
                                       Common stuff
                             <p>, <a>, <strong>, <b>,<em>,<i>




Monday, September 27, 2010
<p>
                   • This is one of the most common tags.
                   • <p>This is a paragraph</p>
                   • You cannot nest <p> tags
                   • A <p> can go inside a list item, but don’t
                             put a list inside a <p>
                   • You can place an image inside a <p>
Monday, September 27, 2010
<a>
                   • The <a> generates a link
                   • While the <a> is normally inline, HTML5
                             allows us to wrap multiple elements in a
                             single link. <a href=”/”><dl><dt>Mac
                             Lipstick</dt><dd>Sassy Pink</dd><dd>
                             $5.00</dd></dl></a>
                   • Attributes: href, title, hreflang
                   • Avoid these attributes: target, name

Monday, September 27, 2010
<strong> & <b>
                   •         <strong> is semantic        •   <b> is simply
                                                             presentational
                   •         <strong> is for bolding
                                                         •   <b> tells us to bold
                   •         <strong> tells the              something, but the text
                                                             has no importance at all.
                             browser that this text is
                             more important.
                                                         •   Avoid <b>. Use CSS to
                   •         Search engines like             make something bold.
                                                             Use <strong> to add
                             <strong> text
                                                             strength.
                   •         Think of it as ALLCAPS


Monday, September 27, 2010
<em> & <i>
                   •         <em> adds emphasis            •   <i> is purely
                                                               presentational
                   •         It normally italicizes text
                                                           •   It normally italicizes text
                   •         It’s similar to <strong>
                             but not as powerful           •   It adds no semantic
                                                               value to the text
                   •         Think of a voice
                             changing but not getting      •   Use <em> instead
                             louder.




Monday, September 27, 2010
Homework
        • Use the sample files to begin writing pages.You can
               only learn HTML by practicing
        • Watch Douglas Crockford discuss coding history
               (episode 1).
        • Download and install Firefox, Safari, and Chrome
               (Google). Install the web developer toolbar and
               firebug for Firefox.
        • Dive into HTML5 (use Safari or Chrome) http://
               diveintohtml5.org/
Monday, September 27, 2010

More Related Content

Similar to HTML5 - getting started (20)

PDF
Html5 training
James VanDyke
 
PDF
A practical guide to building websites with HTML5 & CSS3
Darren Wood
 
PDF
HTML5 Pearson preso
Chris Mills
 
PDF
Intro to HTML 5 / CSS 3
Tadpole Collective
 
PDF
HTML5, just another presentation :)
François Massart
 
KEY
2022 HTML5: The future is now
Gonzalo Cordero
 
PDF
A Primer on HTML 5 - By Nick Armstrong
Nick Armstrong
 
PDF
Foundation of Web Application Developmnet - XHTML
Vashira Ravipanich
 
PDF
TOSSUG HTML5 讀書會 新標籤與表單
偉格 高
 
ODP
Light introduction to HTML
abidibo Contini
 
DOC
web technologiesUnit 1
Pathi Radhika
 
PDF
Refreshdc html5css3-090719085307-phpapp01
Apoorvi Kapoor
 
PDF
Up to Speed on HTML 5 and CSS 3
M. Jackson Wilkinson
 
PPT
Introduction to HTML
Abzetdin Adamov
 
PPTX
Castro Chapter 3
Jeff Byrnes
 
PDF
Beginner & Intermediate Guide to HTML5/CSS3 In Drupal
Mediacurrent
 
PPT
HTML 5
Doncho Minkov
 
PPTX
Hardcore HTML
PDX Web & Design
 
PDF
HTML5 Now
Clinton Dreisbach
 
Html5 training
James VanDyke
 
A practical guide to building websites with HTML5 & CSS3
Darren Wood
 
HTML5 Pearson preso
Chris Mills
 
Intro to HTML 5 / CSS 3
Tadpole Collective
 
HTML5, just another presentation :)
François Massart
 
2022 HTML5: The future is now
Gonzalo Cordero
 
A Primer on HTML 5 - By Nick Armstrong
Nick Armstrong
 
Foundation of Web Application Developmnet - XHTML
Vashira Ravipanich
 
TOSSUG HTML5 讀書會 新標籤與表單
偉格 高
 
Light introduction to HTML
abidibo Contini
 
web technologiesUnit 1
Pathi Radhika
 
Refreshdc html5css3-090719085307-phpapp01
Apoorvi Kapoor
 
Up to Speed on HTML 5 and CSS 3
M. Jackson Wilkinson
 
Introduction to HTML
Abzetdin Adamov
 
Castro Chapter 3
Jeff Byrnes
 
Beginner & Intermediate Guide to HTML5/CSS3 In Drupal
Mediacurrent
 
Hardcore HTML
PDX Web & Design
 

More from Ted Drake (20)

PPTX
Ensuring AI Trust and Transparency with Inclusive Design
Ted Drake
 
PPTX
Expanding your DEIA with age and belonging
Ted Drake
 
PPTX
Verbose AI: The Accessibility Challenge - CSUN 2025
Ted Drake
 
PPTX
Introduce Trauma-Informed Design to Your Organization - CSUN ATC 2024
Ted Drake
 
PPTX
Transforming Accessibility one lunch at a tiime - CSUN 2023
Ted Drake
 
PPTX
Inclusive Design for cognitive disabilities, neurodiversity, and chronic illness
Ted Drake
 
PPTX
Inclusive design for Long Covid
Ted Drake
 
PPTX
Covid 19, brain fog, and inclusive design
Ted Drake
 
PPTX
Customer obsession and accessibility
Ted Drake
 
PPTX
The Saga of Accessible Colors
Ted Drake
 
PPTX
Artificial Intelligence and Accessibility - GAAD 2020 - Hello A11y
Ted Drake
 
PPTX
Expand your outreach with an accessibility champions program
Ted Drake
 
PPTX
Intuit's Accessibility Champion Program - Coaching and Celebrating
Ted Drake
 
PPTX
Accessibility First Innovation
Ted Drake
 
PPTX
Inclusive customer interviews make it your friday task
Ted Drake
 
PPTX
Coaching and Celebrating Accessibility Champions
Ted Drake
 
PPTX
Accessibility statements and resource publishing best practices csun 2019
Ted Drake
 
PPTX
Raising Accessibility Awareness at Intuit
Ted Drake
 
PDF
Trickle Down Accessibility
Ted Drake
 
PDF
Trickle-Down Accessibility - CSUN 2018
Ted Drake
 
Ensuring AI Trust and Transparency with Inclusive Design
Ted Drake
 
Expanding your DEIA with age and belonging
Ted Drake
 
Verbose AI: The Accessibility Challenge - CSUN 2025
Ted Drake
 
Introduce Trauma-Informed Design to Your Organization - CSUN ATC 2024
Ted Drake
 
Transforming Accessibility one lunch at a tiime - CSUN 2023
Ted Drake
 
Inclusive Design for cognitive disabilities, neurodiversity, and chronic illness
Ted Drake
 
Inclusive design for Long Covid
Ted Drake
 
Covid 19, brain fog, and inclusive design
Ted Drake
 
Customer obsession and accessibility
Ted Drake
 
The Saga of Accessible Colors
Ted Drake
 
Artificial Intelligence and Accessibility - GAAD 2020 - Hello A11y
Ted Drake
 
Expand your outreach with an accessibility champions program
Ted Drake
 
Intuit's Accessibility Champion Program - Coaching and Celebrating
Ted Drake
 
Accessibility First Innovation
Ted Drake
 
Inclusive customer interviews make it your friday task
Ted Drake
 
Coaching and Celebrating Accessibility Champions
Ted Drake
 
Accessibility statements and resource publishing best practices csun 2019
Ted Drake
 
Raising Accessibility Awareness at Intuit
Ted Drake
 
Trickle Down Accessibility
Ted Drake
 
Trickle-Down Accessibility - CSUN 2018
Ted Drake
 
Ad

Recently uploaded (20)

PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Ad

HTML5 - getting started

  • 1. HTML5 Getting started from Scratch Monday, September 27, 2010
  • 2. What is HTML? • Easy to learn • Requires no special hardware • <p>Uses <em>tags</em> to tell the browser how to display text and other content</p> Monday, September 27, 2010
  • 3. What is HTML5? • The latest version of HTML • The latest version of CSS • Native video, audio, form validation, caching, geolocation, • Allows you to build applications as well as pages Monday, September 27, 2010
  • 4. This is HTML <h1 id="firstHeading" class="firstHeading">The Wizard of Oz (1939 film)</h1> <!-- bodyContent --> ! <div id="bodyContent"> ! <!-- tagline --> ! <div id="siteSub">From Wikipedia, the free encyclopedia</div> ! <!-- /tagline --> <p>Twelve-year-old orphan Dorothy Gale (<a href="/wiki/Judy_Garland" title="Judy Garland">Judy Garland</a>) lives in rural Kansas with her Aunt Em (<a href="/wiki/Clara_Blandick" title="Clara Blandick">Clara Blandick</a>), Uncle Henry (<a href="/wiki/Charles_Grapewin" title="Charles Grapewin">Charles Grapewin</a>), and three farm hands, Hickory (<a href="/wiki/Jack_Haley" title="Jack Haley">Jack Haley</ a>), Hunk (<a href="/wiki/Ray_Bolger" title="Ray Bolger">Ray Bolger</ a>), and Zeke (<a href="/wiki/Bert_Lahr" title="Bert Lahr">Bert Lahr</ a>). </p> Monday, September 27, 2010
  • 5. This is HTML5 <article> ! <header> <h1><a href="http://www.amazon.com/">The Wizard of Oz</a></h1> </header> ! <figure> <a href="http://www.amazon.com/"><img src="http://ecx.images- amazon.com/wiz.jpg" alt="The Wizard of Oz"></a> </figure> ! ! <details open=""> ! ! <ul> ! ! <li><summary>When it was released during Hollywood's golden year of 1939,The Wizard of Oz didn't start out as the perennial classic it has since become. The film did respectable business, but it wasn't until its debut on television that this family favorite saw its popularity soar. And while Oz's TV b…</summary></li> ! ! <li class="actors"><strong>Actors</strong>: Judy Garland, Frank Morgan, Ray Bolger, Bert Lahr, Jack Haley</li> <li><strong>$19.96</ strong> DVD Metro-Goldwyn-Mayer (MGM)</li> </ul> ! </details> </article> Monday, September 27, 2010
  • 6. This is CSS2 Monday, September 27, 2010
  • 7. This is CSS3 Monday, September 27, 2010
  • 8. Let’s get down to the basics Monday, September 27, 2010
  • 9. Structure • Give your content structure • Choose the most semantic container • Do you use a tupperware bowl to serve gravy? • Tags: figure, p, li, blockquote, cite, video, article, footer, navigation, header, section Monday, September 27, 2010
  • 10. The holy trinity HTML + CSS + JS • HTML - content, structure • CSS - design, feedback • JS - interaction, movement, data transfer Monday, September 27, 2010
  • 11. The new studs • Canvas - animation, charts, transformations • SVG - like canvas but more data oriented • Video, Audio - no plugins needed • Geo-Location - where are you sitting? • Web Workers, Web Sockets - data manipulation Monday, September 27, 2010
  • 12. Before we code • relative url: <a href=”next.html”>next</a> • absolute url: <a href=”http://doglr.com>doglr</a> • meta tags: invisible information about the page for search engines and the browser • tag: <p>, <li>, <footer> • attribute: class=”mod”, id=”main”, src=”...” Monday, September 27, 2010
  • 13. Before we code • Accessibility: everyone can use your page • S.E.O.: snake oil salesmen. Good content, good markup, inbound links • Validation: make sure your code is correct. Valid code is much easier to style and debug. • foo, bar, baz: standard geek placeholders Monday, September 27, 2010
  • 14. HTML5 Tags Containers <header>, <footer>,<section>, <article>, <div>, <span> Monday, September 27, 2010
  • 15. <header> & <footer> • <header> usually • <footer> usually contains the top contains the copyright, navigation, branding, icon secondary navigation, contact information, and • <header> can also be other details used within individual sections of a page Monday, September 27, 2010
  • 16. <section> & <article> • <section> contains • <article> is a self- content that is related. contained chunk of information • <section> can be nested • an <article> could be • <section> may be the grabbed and placed in another page without main section of a page and the sub modules losing context. • <article> use: blog post, product detail, tweet Monday, September 27, 2010
  • 17. <div> & <span> • <div> is a container with • <span> is a container no semantic value. with no semantic value • <div> can be nested • <span> is inline, it can • <div> can contain just only contain text and about anything other inline content • <div> is old HTML, use • use <span> when you <section> or <article> target text and don’t where appropriate want to add structure Monday, September 27, 2010
  • 18. HTML5 Tags Lists <ul>, <ol>, <dl> Monday, September 27, 2010
  • 19. <ul> & <ol> • <ul> is the most • <ol> is an ordered list. common • They are used for • unordered list, no instructions, outlines, hierarchy steps... • the bullets can be • the bullets can be changed or removed. numbers, letters, roman The list can be vertical numerals, or removed. on horizontal • <ol><li>foo</li><ol> • <ul><li>foo</li><ul> Monday, September 27, 2010
  • 20. <dl> • <dl> is a definition list • contains terms and definitions • HTML5 allows more flexibility, ignore the old HTML dl haters :-) • great for glossaries, product specifications, personal information • <dl><dt>term</dt></dd>definition</dd></dl> • I loves my <dl>. I abuse my <dl>. Monday, September 27, 2010
  • 21. HTML5 Tags Common stuff <p>, <a>, <strong>, <b>,<em>,<i> Monday, September 27, 2010
  • 22. <p> • This is one of the most common tags. • <p>This is a paragraph</p> • You cannot nest <p> tags • A <p> can go inside a list item, but don’t put a list inside a <p> • You can place an image inside a <p> Monday, September 27, 2010
  • 23. <a> • The <a> generates a link • While the <a> is normally inline, HTML5 allows us to wrap multiple elements in a single link. <a href=”/”><dl><dt>Mac Lipstick</dt><dd>Sassy Pink</dd><dd> $5.00</dd></dl></a> • Attributes: href, title, hreflang • Avoid these attributes: target, name Monday, September 27, 2010
  • 24. <strong> & <b> • <strong> is semantic • <b> is simply presentational • <strong> is for bolding • <b> tells us to bold • <strong> tells the something, but the text has no importance at all. browser that this text is more important. • Avoid <b>. Use CSS to • Search engines like make something bold. Use <strong> to add <strong> text strength. • Think of it as ALLCAPS Monday, September 27, 2010
  • 25. <em> & <i> • <em> adds emphasis • <i> is purely presentational • It normally italicizes text • It normally italicizes text • It’s similar to <strong> but not as powerful • It adds no semantic value to the text • Think of a voice changing but not getting • Use <em> instead louder. Monday, September 27, 2010
  • 26. Homework • Use the sample files to begin writing pages.You can only learn HTML by practicing • Watch Douglas Crockford discuss coding history (episode 1). • Download and install Firefox, Safari, and Chrome (Google). Install the web developer toolbar and firebug for Firefox. • Dive into HTML5 (use Safari or Chrome) http:// diveintohtml5.org/ Monday, September 27, 2010