Top Banner
Meaningful HTML Importance of Semantic HTML Shajed Evan
31
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Meaningful HTML - A talk on structured markups

Meaningful HTMLImportance of Semantic HTML

Shajed Evan

Page 2: Meaningful HTML - A talk on structured markups

WHAT??&

WHY??

Page 3: Meaningful HTML - A talk on structured markups

WebsiteContents of different types

=

Page 4: Meaningful HTML - A talk on structured markups

Contents withMeaning

Goals&

for target group!!

Page 5: Meaningful HTML - A talk on structured markups

Which Target Group?

Page 6: Meaningful HTML - A talk on structured markups

Human……

Page 7: Meaningful HTML - A talk on structured markups

of

Human

differentcultures, ages,

values, tastes&needs

Page 8: Meaningful HTML - A talk on structured markups

HumanInteract

s betterwith

Visual Interface

Page 9: Meaningful HTML - A talk on structured markups

User Interface

Page 10: Meaningful HTML - A talk on structured markups

limited to

Visuals

Not

only…

Page 11: Meaningful HTML - A talk on structured markups

Human

Machine&

Page 12: Meaningful HTML - A talk on structured markups

Improving

accessibility,search engine indexing,

most important of all ….

browser compatibility,&

Page 13: Meaningful HTML - A talk on structured markups

Smart

Capabilitieson

Enhance

Devices Systems

Page 14: Meaningful HTML - A talk on structured markups

Smart Phones

Page 15: Meaningful HTML - A talk on structured markups

Smart TV

Page 16: Meaningful HTML - A talk on structured markups

Voice-Guided

GPS Navigation

Device Accessible Web Apps

Page 17: Meaningful HTML - A talk on structured markups

Localization

Service

Page 18: Meaningful HTML - A talk on structured markups

Structured Data Markup

https://support.google.com/webmasters/answer/3069489?topic=3070267&rd=1

Page 19: Meaningful HTML - A talk on structured markups

HTML

serves Specific

Meaning to

Machines

Page 20: Meaningful HTML - A talk on structured markups

<div>

Come hear the Tiny Tim Tribute Band, live in concert on

July 6, 2013 at the beautiful Regency Theater!

</div>

Structured Data Markup

Example

Common structure

Page 21: Meaningful HTML - A talk on structured markups

Structured Data Markup

Example

Microdata structure

<div itemscope itemtype="http://schema.org/Event">

Come hear the

<span itemprop="name">Tiny Tim Tribute Band</span>,

live in concert on

<span itemprop="startDate"

content="2013-07-06>July 6, 2013</span>

at the beautiful

<span itemprop="location" itemscope

itemtype="http://schema.org/Place">

<span itemprop="name">Regency Theater</span>!

</span>

</div>

http://schema.org

Page 22: Meaningful HTML - A talk on structured markups

Sample

Page Layout

Page 23: Meaningful HTML - A talk on structured markups

Intended

Page Layout

Page 24: Meaningful HTML - A talk on structured markups

<div class="parent"> <h2>Heading</h2> <p>Some content...</p> <div class="child"> <h2>Another heading</h2> <p>Some other content...</p> </div> </div>

Not Helping ….

Page 25: Meaningful HTML - A talk on structured markups

Introducing

HTML5 Section

<section>, <header>

<aside>, <article>

<nav>, <footer>

http://diveintohtml5.info/semantics.html

Page 26: Meaningful HTML - A talk on structured markups

HTML5Input

Page 27: Meaningful HTML - A talk on structured markups

<!-- A common form that includes input tags --><form action="getform.php" method="get"> First name: <input type="text" name="first_name" /><br /> Last name: <input type="text" name="last_name" /><br /> E-mail: <input type="email" name="user_email" /><br /><input type="submit" value="Submit" /></form>

HTML5 Input

Page 28: Meaningful HTML - A talk on structured markups

Visual

Webpage Safari

Page 29: Meaningful HTML - A talk on structured markups

Text ViewLynx Browser

Page 30: Meaningful HTML - A talk on structured markups

“HTML is not a collection of tags that we used to see. It is at it’s best when it reflects the meaning of the contents, made for it’s users”

- Shajed Evan

Page 31: Meaningful HTML - A talk on structured markups

Thanks YouShajed Evan

http://byevan.com