Top Banner
Introduction to Web Standards Adam Darowski BatchBlue Software, LLC NewBCamp 2.23.08
57

NewBCamp08: Intro to Web Standards

Nov 28, 2014

Download

Business

Adam Darowski

NewBCamp08 was a first-time unconference for web newbies. There were "tracks" for web development, social media, etc. For more info: newbcamp.com

This presentation addresses: What are web standards? Why use them? Why haven't we been using them all along? What are Microformats? How can you use the URL as a UI?
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: NewBCamp08: Intro to Web Standards

Introduction toWeb Standards

Adam DarowskiBatchBlue Software, LLC

NewBCamp 2.23.08

Page 2: NewBCamp08: Intro to Web Standards

Topics

• What are Web Standards?

• Why Web Standards?

• Microformats

• URL as UI

• Resources

2

Page 3: NewBCamp08: Intro to Web Standards

Topics

• What are Web Standards?

• Why Web Standards?

• Microformats

• URL as UI

• Resources

3

Page 4: NewBCamp08: Intro to Web Standards

What are Web Standards?

• World Wide Web Consortium (W3C) standards

4

Page 5: NewBCamp08: Intro to Web Standards

What are Web Standards?

• World Wide Web Consortium (W3C) standards

5

CSS(X)HTML

Page 6: NewBCamp08: Intro to Web Standards

What are Web Standards?

• HTML: markup language

BatchBook by BatchBlue Software

BatchBook is an easy-to-use contact management system designed with small businesses in mind. And it can be customized depending on your unique business needs to help you grow and manage your business.

6

Page 7: NewBCamp08: Intro to Web Standards

What are Web Standards?

• HTML: markup language

<h1>BatchBook by BatchBlue Software</h1>

<p>BatchBook is an easy-to-use <strong>contact management system</strong> designed with small businesses in mind. And it can be customized depending on your unique business needs to help you grow and manage your business.</p>

7

Page 8: NewBCamp08: Intro to Web Standards

What are Web Standards?

• CSS: presentation rules for markup

8

Page 9: NewBCamp08: Intro to Web Standards

What are Web Standards?

• CSS: presentation rules for markup

9

Page 10: NewBCamp08: Intro to Web Standards

What are Web Standards?

• CSS: presentation rules for markup

h1 {

font-family: Arial, sans-serif; font-size: 120%; line-height: 180%; font-weight: bold; color: blue;}

10

Page 11: NewBCamp08: Intro to Web Standards

What are Web Standards?

• CSS: presentation rules for markup

11

Page 12: NewBCamp08: Intro to Web Standards

What are Web Standards?

• CSS: presentation rules for markup

div#header {

float: left; width: 100%;}

12

<div id="header">

This is the header content.

</div>

Page 13: NewBCamp08: Intro to Web Standards

What are Web Standards?

• CSS: presentation rules for markup

p.caption {

font-weight: bold; font-size: 90%;}

13

<p class="photocaption">

This is the photo caption.

</div>

Page 14: NewBCamp08: Intro to Web Standards

What are Web Standards?

• Where it all went wrong:

- First, there was the <font> tag (for text)

- Then came the <table> (for layout)

14

Page 15: NewBCamp08: Intro to Web Standards

What are Web Standards?

• Where are we now?

- Standards compliant browsers are the norm (Firefox, Safari, Opera, etc.)

- Then there’s Internet Explorer... (still requires a series of hacks)

15

Page 16: NewBCamp08: Intro to Web Standards

Topics

• What are Web Standards?

• Why Web Standards?

• Microformats

• URL as UI

• Resources

16

Page 17: NewBCamp08: Intro to Web Standards

Why Web Standards?

• Accessibility

17

Braille ReaderPhoto by: leorex

Page 18: NewBCamp08: Intro to Web Standards

Why Web Standards?

• Accessibility

18

Page 19: NewBCamp08: Intro to Web Standards

Why Web Standards?

• Accessibility

• Maintainability

• Readability

• Forward compatibility

• Portability

• Better Google crawling

• Less bandwidth usage

19

Page 20: NewBCamp08: Intro to Web Standards

Why Web Standards?

• Accessibility

• Maintainability

• Readability

• Forward compatibility

• Portability

• Better Google crawling

• Less bandwidth usage

20

Page 21: NewBCamp08: Intro to Web Standards

Why Web Standards?

• Accessibility

• Maintainability

• Readability

• Forward compatibility

• Portability

• Better Google crawling

• Less bandwidth usage

21

Page 22: NewBCamp08: Intro to Web Standards

Why Web Standards?

• Accessibility

• Maintainability

• Readability

• Forward compatibility

• Portability

• Better Google crawling

• Less bandwidth usage

22

Page 23: NewBCamp08: Intro to Web Standards

Why Web Standards?

• Accessibility

• Maintainability

• Readability

• Forward compatibility

• Portability

• Better Google crawling

• Less bandwidth usage

23

Page 24: NewBCamp08: Intro to Web Standards

Why Web Standards?

• Accessibility

• Maintainability

• Readability

• Forward compatibility

• Portability

• Better Google crawling

• Less bandwidth usage

24

Page 25: NewBCamp08: Intro to Web Standards

Why Web Standards?

• Bulletproof Web Design

- Book by Dan Cederholm

- Design for worst case scenarios

- Let go of pixel precision

25

Page 26: NewBCamp08: Intro to Web Standards

Topics

• What are Web Standards?

• Why Web Standards?

• Microformats

• URL as UI

• Resources

26

Page 27: NewBCamp08: Intro to Web Standards

Microformats

• What are Microformats?

- Standard class names

27

Photo by: kurafire

Page 28: NewBCamp08: Intro to Web Standards

28

Page 29: NewBCamp08: Intro to Web Standards

Microformats

• hCard for contact information

29

<div id="col-content">

<h1 id="h1-darowski"><span class="hidetext">Adam Darowski</span></h1>

<h2>User Experience Designer <span class="hidetext">, BatchBlue Software, LLC</span></h2>

<p><a href="mailto:[email protected]"> [email protected]</a></p>

...

Page 30: NewBCamp08: Intro to Web Standards

Microformats

• hCard for contact information

30

<div id="col-content" class="vcard">

<h1 id="h1-darowski"><span class="hidetext">Adam Darowski</span></h1>

<h2>User Experience Designer <span class="hidetext">, BatchBlue Software, LLC</span></h2>

<p><a href="mailto:[email protected]"> [email protected]</a></p>

...

Page 31: NewBCamp08: Intro to Web Standards

Microformats

• hCard for contact information

31

<div id="col-content" class="vcard">

<h1 id="h1-darowski"><span class="hidetext fn">Adam Darowski</span></h1>

<h2>User Experience Designer <span class="hidetext">, BatchBlue Software, LLC</span></h2>

<p><a href="mailto:[email protected]"> [email protected]</a></p>

...

Page 32: NewBCamp08: Intro to Web Standards

Microformats

• hCard for contact information

32

<div id="col-content" class="vcard">

<h1 id="h1-darowski"><span class="hidetext fn">Adam Darowski</span></h1>

<h2><span class="title">User Experience Designer </span><span class="hidetext">, BatchBlue Software, LLC </span></h2>

<p><a href="mailto:[email protected]"> [email protected]</a></p>

...

Page 33: NewBCamp08: Intro to Web Standards

Microformats

• hCard for contact information

33

<div id="col-content" class="vcard">

<h1 id="h1-darowski"><span class="hidetext fn">Adam Darowski</span></h1>

<h2><span class="title">User Experience Designer </span><span class="hidetext">, <span class="org">BatchBlue Software, LLC</span></span></h2>

<p><a href="mailto:[email protected]"> [email protected]</a></p>

...

Page 34: NewBCamp08: Intro to Web Standards

Microformats

• hCard for contact information

34

<div id="col-content" class="vcard">

<h1 id="h1-darowski"><span class="hidetext fn">Adam Darowski</span></h1>

<h2><span class="title">User Experience Designer </span><span class="hidetext">, <span class="org">BatchBlue Software, LLC</span></span></h2>

<p><a class="email" href="mailto:[email protected]"> [email protected]</a></p>

...

Page 35: NewBCamp08: Intro to Web Standards

35

Page 36: NewBCamp08: Intro to Web Standards

36

Page 37: NewBCamp08: Intro to Web Standards

Microformats

37

Page 38: NewBCamp08: Intro to Web Standards

38

Page 39: NewBCamp08: Intro to Web Standards

Microformats

• hCalendar for event information

<dl class="vevent">

<dt class="summary">Web 2.0 Conference</dt>

<dd><strong>Date:</strong> <abbr class="dtstart" title="2008-09-01"> 09/01/2008</abbr></dd>

<dd><strong>Location:</strong> <span class="location">New York, NY</span></dd>

<dd><strong>Website:</strong> <a class="url" href="http://www.web2expo.com/"> www.web2expo.com</a></dd>

<dd class="description">Web 2.0 Expo, co-produced by ...

39

Page 40: NewBCamp08: Intro to Web Standards

40

Page 41: NewBCamp08: Intro to Web Standards

41

Page 42: NewBCamp08: Intro to Web Standards

42

Page 43: NewBCamp08: Intro to Web Standards

Topics

• What are Web Standards?

• Why Web Standards?

• Microformats

• URL as UI

• Resources

43

Page 44: NewBCamp08: Intro to Web Standards

URL as UI

• Search on Amazon

- You get this:

44

http://www.amazon.com/Rock-Action-Mogwai/dp/B00005AUBA/ref=pd_bbs_sr_1?ie=UTF8&s=music&qid=1203311335&sr=8-1

Page 45: NewBCamp08: Intro to Web Standards

URL as UI

• Search on Amazon

- You get this:

45

http://www.amazon.com/Rock-Action-Mogwai/dp/B00005AUBA/

Page 46: NewBCamp08: Intro to Web Standards

URL as UI

• Search on Barnes & Noble

- You get this:

46

http://music.barnesandnoble.com/search/product.asp?z=y&EAN=744861049029&itm=1

Page 47: NewBCamp08: Intro to Web Standards

URL as UI

• Same album on last.fm:

47

http://www.last.fm/music/Mogwai/Rock+Action

Page 48: NewBCamp08: Intro to Web Standards

URL as UI

• More last.fm URL examples:

48

http://www.last.fm/music/Mogwai/ = artist

http://www.last.fm/music/Mogwai/_/Sine+Wave = single track

http://www.last.fm/music/Mogwai/+wiki = wiki bio

http://www.last.fm/music/Mogwai/+pictures = photos

http://www.last.fm/label/Matador/ = label

http://www.last.fm/user/adarowski/ = user

http://www.last.fm/tag/post-rock = tag

Page 49: NewBCamp08: Intro to Web Standards

URL as UI

• Flickr

49

http://www.flickr.com/photos/darowskidotcom/ = my photos

http://www.flickr.com/photos/darowskidotcom/tags/ = my tags

http://www.flickr.com/photos/darowskidotcom/tags/redsox/ = my photos tagged “red sox”

Page 50: NewBCamp08: Intro to Web Standards

Topics

• What are Web Standards?

• Why Web Standards?

• Microformats

• URL as UI

• Resources

50

Page 51: NewBCamp08: Intro to Web Standards

Resources

• Books

- Web Standards Solutions, Dan Cederholm

- Bulletproof Web Design, Dan Cederholm

- HTML Mastery, Paul Haine

- CSS Mastery, Andy Budd- (many, many others)

51

Page 52: NewBCamp08: Intro to Web Standards

Resources

• Websites/Blogs

- A List Apart

- Vitamin

- Digital Web Magazine

- SimpleBits, Dan Cederholm

- 456 Berea Street, Roger Johannson- (many, many others)

52

Page 53: NewBCamp08: Intro to Web Standards

Resources

• Firefox Extensions

- Web Developer Toolbar

53

Page 54: NewBCamp08: Intro to Web Standards

Resources

• Firefox Extensions

- Operator

54

Page 55: NewBCamp08: Intro to Web Standards

Resources

• Firefox Extensions

- Firebug

55

Page 56: NewBCamp08: Intro to Web Standards

56