SlideShare a Scribd company logo
Twitter hashtag:


#des4mo
The good news

 Good mobile web development only requires
  understanding of XHTML / CSS, and best practices in
  Web Standards-based design as they’ve been
  highlighted in the last handful of years
 Mobile web sites are easier than ever before to build.



           …not as good..?
 Easier said than done.
On with the Semanticity…
Semantic Markup

 General definition:
    “The meaning of the element or property in relation to the
     content which it describes”

 Mine:
    “Content in context”
    or… “XHTML elements used correctly.”

 Specifically:
    XHTML has structure-creating elements and attributes that
     enrich content.
Enriched how?

 Markup structure enriches content through assigned:
      Intonation
      Pauses
      Rhythm, timing
      Punctuation
      facial expressions and body language
       …. very likely half your message.
   
And Markup is..?

Text annotation describing how its content is to be structured, laid out, or
                              formatted.

            In our case, HTML: Hypertext Markup Language



           <tag attribute=quot;valuequot;>Loremipsum.</tag>
Semantic vs…well, bad
Bad HTML

 PRESENTATIONAL:
      “this is red,”
  
      “this is Arial and is aligned center.”
  
     Inflexible, poor longevity, little reuse.
     Worst offenders are tools that hide markup from author.

 DELIBERATE:
     were created specifically for presentation
     elements have no semantic meaning
     Elements: <center>, <font>, <frame>, <iframe>
     Attributes: align, face and size, width, height
Bad HTML

<center>
<font face=quot;arialquot; size=quot;4quot;>Acme Inc.</font>
<font color=quot;redquot; size=quot;1quot;>Pseudo-reliable products</font>
</center>




     PRESENTATIONAL with DELIBERATE elements
Bad HTML

<table border=quot;1quot; cellspacing=quot;5quot; cellpadding=quot;5quot;>
<tr>
<td width=quot;10quot;><imgsrc=quot;bullet.gifquot; /></td>
<td width=quot;150quot;>Item 1</td>
</tr>
<tr>
<td width=quot;10quot;><imgsrc=quot;bullet.gifquot; /></td>
<td width=quot;150quot;>Item 2</td>
</tr>
<tr>
<td width=quot;10quot;><imgsrc=quot;bullet.gifquot; /></td>
<td width=quot;150quot;>Item 3</td>
</tr>
</table>
Bad HTML

                   <table> != layout format

 PROBLEM: presentation embedded in markup
      Development more difficult
       Cumbersome and difficult to support – let alone maintain
   
      Restricts adaptability. Not optimum for repurposing for multiple
       devices.
      Increased file size
      AT BEST, using tables for layout will result in poor performance and
       rendering results out of left field.

 SOLUTION: flexibility and lower document size achieved through
  CSS-based layout. Separate the layers.
Semantic HTML

 DESCRIPTIVE:
    Doesn’t insist what you (browsers, actually) should do
     with it; only says what it is.
    Open-ended, large-scale publishing enabled.
    Flexible and reusable.

          <h1>Acme Inc.</h1>
          <p>Pseudo-reliable products</p>

 Expresses on behalf of the document’s content.
Semantic HTML

  <ul class=quot;menuquot;>
  <li>Item 1</li>
  <li>Item 2</li>
  <li>Item 3</li>
  </ul>
Semantic HTML

<table>
<tr>
<th>Product</th>
<th>Price</th>
</tr>
<tr>
<td class=quot;productquot;>Jet Pack</td>
<td class=quot;pricequot;>$199</td>
</tr>
<tr>
<td class=quot;productquot;>Rope</td>
<td class=quot;pricequot;>$19</td>
</tr>
</table>
Semantic HTML

                 <table> == tabular data

 CHALLENGE: even for tabular data, tables are not guaranteed
  to work well or render accurately on some mobile browsers,
  especially with smaller screens.

 ACCEPTABLE ALTERNATE: Definition lists, <dl>, can be used
  to express relationships between data values.
Semantic HTML

 <dl>
 <dt>Jet Pack</dt>
 <dd>$199</dd>
 <dt>Rope</dt>
 <dd>$19</dd>
 </dl>
Semantic HTML

 ABUSED: elements possess semantic meaning, but
  used incorrectly because of their default browser
  rendering.

 <blockquote>Loremipsum dolor sit</blockquote>


    <blockquote> != indent this
    <h1> != big and bold
    <table> != let’s create some visual columns
Think different: structurally

 Don’t think on how the content looks, it doesn’t
  matter… yet.

 Not yet a layout, only a structure of content blocks
  with related meaning.

 Describe your content by assigning the most precise
  HTML building block.

 Once structurally sound, it’s ready to be told how to
  appear. Bring in your style layer.
Variety found in…

       Devices

     XHTML Basic

     XHTML-MP

      CSS or no

       Colors

      Tables…
Let’s put that aside; more pressing concerns…
Constraints

 Connection speed

Bandwidth allotment

    Battery life

       CPU

     Memory
Consider…

 ASSUMPTIONS:
   users in a mobile context are more keen on the
    information they want to view now.
   browsing behavior more likely to be
    Information-seeking.
   expect an unobstructed view through well-structured
    content.
Consider…

 THEREFORE:
   Presentation is secondary
   Content and functionality are primary
We owe it to them.

Enable sites and its compelling content
       and features to reach them
      faster and still be compelling.
What’s the good news again?
The good news

 Good mobile web development only requires
  understanding of XHTML / CSS, and best practices
  in Web Standards-based as they’ve been
  highlighted in the last handful of years

 Mobile web sites are easier than every before to
  build.

 And let me add: 5+ years worth of knowledge and
  resources everywhere at your disposal begging to
  help you.
The good news

Stick to these practices and the amount of worry
diminishes about testing across every possible
                   rendering.

   Design and Develop with confidence
Semantics & the Mobile Web

More Related Content

What's hot

Intro 1 sept_14_2010
Intro 1 sept_14_2010Intro 1 sept_14_2010
Intro 1 sept_14_2010
Andrey L
 
Web publishing and XHTML
Web publishing and XHTMLWeb publishing and XHTML
Web publishing and XHTML
bjornh
 
Xhtml Part1
Xhtml Part1Xhtml Part1
Xhtml Part1
nleesite
 
Jade & Javascript templating
Jade & Javascript templatingJade & Javascript templating
Jade & Javascript templating
wearefractal
 

What's hot (19)

Intro 1 sept_14_2010
Intro 1 sept_14_2010Intro 1 sept_14_2010
Intro 1 sept_14_2010
 
HTML to FTP
HTML to FTPHTML to FTP
HTML to FTP
 
HTML Basic, CSS Basic, JavaScript basic.
HTML Basic, CSS Basic, JavaScript basic.HTML Basic, CSS Basic, JavaScript basic.
HTML Basic, CSS Basic, JavaScript basic.
 
Learning HTML
Learning HTMLLearning HTML
Learning HTML
 
Using HTML5 and CSS3 today
Using HTML5 and CSS3 todayUsing HTML5 and CSS3 today
Using HTML5 and CSS3 today
 
How To Write Beautiful Code
How To Write Beautiful CodeHow To Write Beautiful Code
How To Write Beautiful Code
 
How to update HTML files
How to update HTML filesHow to update HTML files
How to update HTML files
 
Web publishing and XHTML
Web publishing and XHTMLWeb publishing and XHTML
Web publishing and XHTML
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 
CSS
CSSCSS
CSS
 
Xhtml Part1
Xhtml Part1Xhtml Part1
Xhtml Part1
 
Enigma codes
Enigma codesEnigma codes
Enigma codes
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
YL Intro html
YL Intro htmlYL Intro html
YL Intro html
 
Onpage SEO Essentials
Onpage SEO EssentialsOnpage SEO Essentials
Onpage SEO Essentials
 
How an html file is structured
How an html file is structuredHow an html file is structured
How an html file is structured
 
Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5Solving Complex JavaScript Issues and Leveraging Semantic HTML5
Solving Complex JavaScript Issues and Leveraging Semantic HTML5
 
Technical SEO Terms for Advanced SEO
Technical SEO Terms for Advanced SEOTechnical SEO Terms for Advanced SEO
Technical SEO Terms for Advanced SEO
 
Jade & Javascript templating
Jade & Javascript templatingJade & Javascript templating
Jade & Javascript templating
 

Viewers also liked

Viewers also liked (6)

Kerry Taylor - Semantics & sensors
Kerry Taylor - Semantics & sensorsKerry Taylor - Semantics & sensors
Kerry Taylor - Semantics & sensors
 
Prototyping is an attitude
Prototyping is an attitudePrototyping is an attitude
Prototyping is an attitude
 
10 Insightful Quotes On Designing A Better Customer Experience
10 Insightful Quotes On Designing A Better Customer Experience10 Insightful Quotes On Designing A Better Customer Experience
10 Insightful Quotes On Designing A Better Customer Experience
 
How to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media PlanHow to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media Plan
 
Learn BEM: CSS Naming Convention
Learn BEM: CSS Naming ConventionLearn BEM: CSS Naming Convention
Learn BEM: CSS Naming Convention
 
SEO: Getting Personal
SEO: Getting PersonalSEO: Getting Personal
SEO: Getting Personal
 

Similar to Semantics & the Mobile Web

Michael(tm) Smith ED09 presentation
Michael(tm) Smith ED09 presentationMichael(tm) Smith ED09 presentation
Michael(tm) Smith ED09 presentation
Michael(tm) Smith
 
Introduction to Web Design
Introduction to Web DesignIntroduction to Web Design
Introduction to Web Design
webhostingguy
 
Microformats HTML to API
Microformats HTML to APIMicroformats HTML to API
Microformats HTML to API
elliando dias
 
Lecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITPLecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITP
yucefmerhi
 
What I brought back from Austin
What I brought back from AustinWhat I brought back from Austin
What I brought back from Austin
Lisa Adkins
 
Web design 2 - Basic HTML 2010
Web design 2 - Basic HTML 2010Web design 2 - Basic HTML 2010
Web design 2 - Basic HTML 2010
Matthew Mobbs
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
vikram singh
 
HTML Advanced
HTML AdvancedHTML Advanced
HTML Advanced
c525600
 

Similar to Semantics & the Mobile Web (20)

Michael(tm) Smith ED09 presentation
Michael(tm) Smith ED09 presentationMichael(tm) Smith ED09 presentation
Michael(tm) Smith ED09 presentation
 
HTML5 - techMaine Presentation 5/18/09
HTML5 - techMaine Presentation 5/18/09HTML5 - techMaine Presentation 5/18/09
HTML5 - techMaine Presentation 5/18/09
 
Introduction to Web Design
Introduction to Web DesignIntroduction to Web Design
Introduction to Web Design
 
HTML5 - One spec to rule them all
HTML5 - One spec to rule them allHTML5 - One spec to rule them all
HTML5 - One spec to rule them all
 
Microformats HTML to API
Microformats HTML to APIMicroformats HTML to API
Microformats HTML to API
 
(SEO) Search Engine Optimization
(SEO) Search Engine Optimization(SEO) Search Engine Optimization
(SEO) Search Engine Optimization
 
Lecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITPLecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITP
 
Basics of Rich Internet Applications
Basics of Rich Internet ApplicationsBasics of Rich Internet Applications
Basics of Rich Internet Applications
 
Block2 Session2 Presentation
Block2 Session2 PresentationBlock2 Session2 Presentation
Block2 Session2 Presentation
 
What I brought back from Austin
What I brought back from AustinWhat I brought back from Austin
What I brought back from Austin
 
Creating a Webpage
Creating a WebpageCreating a Webpage
Creating a Webpage
 
Web design 2 - Basic HTML 2010
Web design 2 - Basic HTML 2010Web design 2 - Basic HTML 2010
Web design 2 - Basic HTML 2010
 
introduction to web technology
introduction to web technologyintroduction to web technology
introduction to web technology
 
Worry free web development
Worry free web developmentWorry free web development
Worry free web development
 
HTML Advanced
HTML AdvancedHTML Advanced
HTML Advanced
 
Looking into HTML5
Looking into HTML5Looking into HTML5
Looking into HTML5
 
Html Expression Web
Html Expression WebHtml Expression Web
Html Expression Web
 
Html
HtmlHtml
Html
 
Web designing using html
Web designing using htmlWeb designing using html
Web designing using html
 
Introducing YUI
Introducing YUIIntroducing YUI
Introducing YUI
 

Recently uploaded

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 

Recently uploaded (20)

Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 

Semantics & the Mobile Web

  • 1.
  • 3. The good news  Good mobile web development only requires understanding of XHTML / CSS, and best practices in Web Standards-based design as they’ve been highlighted in the last handful of years  Mobile web sites are easier than ever before to build. …not as good..?  Easier said than done.
  • 4. On with the Semanticity…
  • 5. Semantic Markup  General definition:  “The meaning of the element or property in relation to the content which it describes”  Mine:  “Content in context”  or… “XHTML elements used correctly.”  Specifically:  XHTML has structure-creating elements and attributes that enrich content.
  • 6. Enriched how?  Markup structure enriches content through assigned:  Intonation  Pauses  Rhythm, timing  Punctuation  facial expressions and body language …. very likely half your message. 
  • 7. And Markup is..? Text annotation describing how its content is to be structured, laid out, or formatted. In our case, HTML: Hypertext Markup Language <tag attribute=quot;valuequot;>Loremipsum.</tag>
  • 9. Bad HTML  PRESENTATIONAL: “this is red,”  “this is Arial and is aligned center.”   Inflexible, poor longevity, little reuse.  Worst offenders are tools that hide markup from author.  DELIBERATE:  were created specifically for presentation  elements have no semantic meaning  Elements: <center>, <font>, <frame>, <iframe>  Attributes: align, face and size, width, height
  • 10. Bad HTML <center> <font face=quot;arialquot; size=quot;4quot;>Acme Inc.</font> <font color=quot;redquot; size=quot;1quot;>Pseudo-reliable products</font> </center>  PRESENTATIONAL with DELIBERATE elements
  • 11. Bad HTML <table border=quot;1quot; cellspacing=quot;5quot; cellpadding=quot;5quot;> <tr> <td width=quot;10quot;><imgsrc=quot;bullet.gifquot; /></td> <td width=quot;150quot;>Item 1</td> </tr> <tr> <td width=quot;10quot;><imgsrc=quot;bullet.gifquot; /></td> <td width=quot;150quot;>Item 2</td> </tr> <tr> <td width=quot;10quot;><imgsrc=quot;bullet.gifquot; /></td> <td width=quot;150quot;>Item 3</td> </tr> </table>
  • 12. Bad HTML <table> != layout format  PROBLEM: presentation embedded in markup  Development more difficult Cumbersome and difficult to support – let alone maintain   Restricts adaptability. Not optimum for repurposing for multiple devices.  Increased file size  AT BEST, using tables for layout will result in poor performance and rendering results out of left field.  SOLUTION: flexibility and lower document size achieved through CSS-based layout. Separate the layers.
  • 13. Semantic HTML  DESCRIPTIVE:  Doesn’t insist what you (browsers, actually) should do with it; only says what it is.  Open-ended, large-scale publishing enabled.  Flexible and reusable. <h1>Acme Inc.</h1> <p>Pseudo-reliable products</p>  Expresses on behalf of the document’s content.
  • 14. Semantic HTML <ul class=quot;menuquot;> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul>
  • 15. Semantic HTML <table> <tr> <th>Product</th> <th>Price</th> </tr> <tr> <td class=quot;productquot;>Jet Pack</td> <td class=quot;pricequot;>$199</td> </tr> <tr> <td class=quot;productquot;>Rope</td> <td class=quot;pricequot;>$19</td> </tr> </table>
  • 16. Semantic HTML <table> == tabular data  CHALLENGE: even for tabular data, tables are not guaranteed to work well or render accurately on some mobile browsers, especially with smaller screens.  ACCEPTABLE ALTERNATE: Definition lists, <dl>, can be used to express relationships between data values.
  • 17. Semantic HTML <dl> <dt>Jet Pack</dt> <dd>$199</dd> <dt>Rope</dt> <dd>$19</dd> </dl>
  • 18. Semantic HTML  ABUSED: elements possess semantic meaning, but used incorrectly because of their default browser rendering. <blockquote>Loremipsum dolor sit</blockquote>  <blockquote> != indent this  <h1> != big and bold  <table> != let’s create some visual columns
  • 19.
  • 20. Think different: structurally  Don’t think on how the content looks, it doesn’t matter… yet.  Not yet a layout, only a structure of content blocks with related meaning.  Describe your content by assigning the most precise HTML building block.  Once structurally sound, it’s ready to be told how to appear. Bring in your style layer.
  • 21.
  • 22.
  • 23. Variety found in… Devices XHTML Basic XHTML-MP CSS or no Colors Tables…
  • 24. Let’s put that aside; more pressing concerns…
  • 25. Constraints Connection speed Bandwidth allotment Battery life CPU Memory
  • 26. Consider…  ASSUMPTIONS:  users in a mobile context are more keen on the information they want to view now.  browsing behavior more likely to be Information-seeking.  expect an unobstructed view through well-structured content.
  • 27. Consider…  THEREFORE:  Presentation is secondary  Content and functionality are primary
  • 28. We owe it to them. Enable sites and its compelling content and features to reach them faster and still be compelling.
  • 29. What’s the good news again?
  • 30. The good news  Good mobile web development only requires understanding of XHTML / CSS, and best practices in Web Standards-based as they’ve been highlighted in the last handful of years  Mobile web sites are easier than every before to build.  And let me add: 5+ years worth of knowledge and resources everywhere at your disposal begging to help you.
  • 31. The good news Stick to these practices and the amount of worry diminishes about testing across every possible rendering. Design and Develop with confidence