SlideShare une entreprise Scribd logo
1  sur  39
Télécharger pour lire hors ligne
SPEED, SEMANTICS
                              & STRUCTURE
                             Modern HTML and CSS Coding




    Jon Henshaw
    Co-Founder & CPO
    @RavenJon


Saturday, November 12, 11
Speed


                            Why Speed?


Saturday, November 12, 11
Consolidate CSS


               Less calls mean faster loading




Saturday, November 12, 11
Reference Elements


     Avoid making IDs and Classes when possible




Saturday, November 12, 11
Reference Elements

                             h1 { font-size:2em; }
                             p span { font-style:italic; }
                             em { background:#ccc; }
                             blockquote { padding:10px; }




Saturday, November 12, 11
Don’t Overload


       Objective is to reduce load and rendering time




Saturday, November 12, 11
Don’t Overload




Saturday, November 12, 11
Be Wary of JavaScript

                                   Libraries can conflict

                            Multiple libraries increase load time

           Social JavaScript can keep a page from fully rendering




Saturday, November 12, 11
More Speed Options

                                  Caching
                                   CDN
                             Image Compression
                                Good Hosting


Saturday, November 12, 11
W3 Total Cache

                            http://raven.im/pvXTdi




Saturday, November 12, 11
CDN: AWS CloudFront

                            http://raven.im/o57Ko4




Saturday, November 12, 11
PNGCrush

                            http://raven.im/n8QeMi




Saturday, November 12, 11
Pair Networks

                            http://raven.im/nzFX3x




Saturday, November 12, 11
http://gtmetrix.com/




Saturday, November 12, 11
Google Webmaster Tools




Saturday, November 12, 11
Semantics


                            Why Semantics?


Saturday, November 12, 11
Semantic CSS


                            Name by function


Saturday, November 12, 11
Semantic CSS
                                        No

                            <div class="yellow curved">
                              <p>Help...</p>
                            </div>

                                       Yes

                            <div class="helpbox">
                              <p>Help...</p>
                            </div>
Saturday, November 12, 11
Living Standard HTML




Saturday, November 12, 11
Semantic Elements

                            http://raven.im/obswfn
                               nav, header, footer,
                            section, article and aside


Saturday, November 12, 11
Saturday, November 12, 11
http://html5boilerplate.com




Saturday, November 12, 11
Structured Data


             Why Structured Data?


Saturday, November 12, 11
Saturday, November 12, 11
Structured Data Options

                                    Microformats
                                       RDFa
                                    Microdata




Saturday, November 12, 11
schema.org

          Microdata schemas for people, products, events,
          organizations, movies, books, reviews and much more




Saturday, November 12, 11
Saturday, November 12, 11
http://schema-creator.org




Saturday, November 12, 11
Social META Data




Saturday, November 12, 11
Open Graph Protocol

                       http://raven.im/pX2P1X




Saturday, November 12, 11
Saturday, November 12, 11
Evernote Site Memory

                            http://raven.im/qb69tm




Saturday, November 12, 11
Saturday, November 12, 11
Saturday, November 12, 11
Input Types

                            http://raven.im/s4rJci

                            Better user experience
                              especially on mobile

Saturday, November 12, 11
Input Types: Search


                            <input type="search" />




Saturday, November 12, 11
Input Types: URL


                            <input type="url" />




Saturday, November 12, 11
Input Types: Email


                            <input type="email" />




Saturday, November 12, 11
Find me online at
                             @RavenJon


    Jon Henshaw
    Co-Founder & CPO
    @RavenJon


Saturday, November 12, 11

Contenu connexe

En vedette

En vedette (20)

groovy & grails - lecture 13
groovy & grails - lecture 13groovy & grails - lecture 13
groovy & grails - lecture 13
 
Responsive Design
Responsive DesignResponsive Design
Responsive Design
 
Stack_Overflow-Network_Graph
Stack_Overflow-Network_GraphStack_Overflow-Network_Graph
Stack_Overflow-Network_Graph
 
Presentacion MoodleMoot 2014 Colombia - Integración Moodle con un Repositorio...
Presentacion MoodleMoot 2014 Colombia - Integración Moodle con un Repositorio...Presentacion MoodleMoot 2014 Colombia - Integración Moodle con un Repositorio...
Presentacion MoodleMoot 2014 Colombia - Integración Moodle con un Repositorio...
 
Stack Overflow - It's all about performance / Marco Cecconi (Stack Overflow)
Stack Overflow - It's all about performance / Marco Cecconi (Stack Overflow)Stack Overflow - It's all about performance / Marco Cecconi (Stack Overflow)
Stack Overflow - It's all about performance / Marco Cecconi (Stack Overflow)
 
StrongLoop Overview
StrongLoop OverviewStrongLoop Overview
StrongLoop Overview
 
Why Scala for Web 2.0?
Why Scala for Web 2.0?Why Scala for Web 2.0?
Why Scala for Web 2.0?
 
Curso avanzado de capacitación en DSpace
Curso avanzado de capacitación en DSpaceCurso avanzado de capacitación en DSpace
Curso avanzado de capacitación en DSpace
 
Asynchronous programming done right - Node.js
Asynchronous programming done right - Node.jsAsynchronous programming done right - Node.js
Asynchronous programming done right - Node.js
 
Html5 devconf nodejs_devops_shubhra
Html5 devconf nodejs_devops_shubhraHtml5 devconf nodejs_devops_shubhra
Html5 devconf nodejs_devops_shubhra
 
Node.js Frameworks & Design Patterns Webinar
Node.js Frameworks & Design Patterns WebinarNode.js Frameworks & Design Patterns Webinar
Node.js Frameworks & Design Patterns Webinar
 
Webstock 2010 - Stack Overflow: Building Social Software for the Anti-Social
Webstock 2010 - Stack Overflow: Building Social Software for the Anti-SocialWebstock 2010 - Stack Overflow: Building Social Software for the Anti-Social
Webstock 2010 - Stack Overflow: Building Social Software for the Anti-Social
 
Toronto node js_meetup
Toronto node js_meetupToronto node js_meetup
Toronto node js_meetup
 
Introducing the New DSpace User Interface
Introducing the New DSpace User InterfaceIntroducing the New DSpace User Interface
Introducing the New DSpace User Interface
 
Stack Overflow slides Data Analytics
Stack Overflow slides Data Analytics Stack Overflow slides Data Analytics
Stack Overflow slides Data Analytics
 
minne の API 改善
minne の API 改善minne の API 改善
minne の API 改善
 
STACK OVERFLOW DATASET ANALYSIS
STACK OVERFLOW DATASET ANALYSISSTACK OVERFLOW DATASET ANALYSIS
STACK OVERFLOW DATASET ANALYSIS
 
Coding Dojo In 5 minutes
Coding Dojo In 5 minutesCoding Dojo In 5 minutes
Coding Dojo In 5 minutes
 
Big Data: Experiencias (académicas) reales
Big Data: Experiencias (académicas) realesBig Data: Experiencias (académicas) reales
Big Data: Experiencias (académicas) reales
 
Archivo -› repositorio -› web : la ruta lógica para archivos por Patricio Pas...
Archivo -› repositorio -› web : la ruta lógica para archivos por Patricio Pas...Archivo -› repositorio -› web : la ruta lógica para archivos por Patricio Pas...
Archivo -› repositorio -› web : la ruta lógica para archivos por Patricio Pas...
 

Similaire à Modern HTML & CSS Coding: Speed, Semantics & Structure

Optimizing your site for contextual ads: SEO, Design and Content
Optimizing your site for contextual ads: SEO, Design and ContentOptimizing your site for contextual ads: SEO, Design and Content
Optimizing your site for contextual ads: SEO, Design and Content
Raven Tools
 
Rcos presentation
Rcos presentationRcos presentation
Rcos presentation
mskmoorthy
 
Dominion Enterprises _H@&lt;k@th0n_
Dominion Enterprises _H@&lt;k@th0n_Dominion Enterprises _H@&lt;k@th0n_
Dominion Enterprises _H@&lt;k@th0n_
Ken Collins
 
Performance & Responsive Web Design
Performance & Responsive Web DesignPerformance & Responsive Web Design
Performance & Responsive Web Design
Zach Leatherman
 
Design process
Design processDesign process
Design process
Tim Wright
 

Similaire à Modern HTML & CSS Coding: Speed, Semantics & Structure (20)

Optimizing your site for contextual ads: SEO, Design and Content
Optimizing your site for contextual ads: SEO, Design and ContentOptimizing your site for contextual ads: SEO, Design and Content
Optimizing your site for contextual ads: SEO, Design and Content
 
Coding, Scaling, and Deploys... Oh My!
Coding, Scaling, and Deploys... Oh My!Coding, Scaling, and Deploys... Oh My!
Coding, Scaling, and Deploys... Oh My!
 
Apache Flume NG
Apache Flume NGApache Flume NG
Apache Flume NG
 
Multiplatform, Promises and HTML5
Multiplatform, Promises and HTML5Multiplatform, Promises and HTML5
Multiplatform, Promises and HTML5
 
Rcos presentation
Rcos presentationRcos presentation
Rcos presentation
 
Mobile? WT... F?
Mobile? WT... F?Mobile? WT... F?
Mobile? WT... F?
 
Lightning talks percona live mysql_2012
Lightning talks percona live mysql_2012Lightning talks percona live mysql_2012
Lightning talks percona live mysql_2012
 
Adapt and respond: keeping responsive into the future
Adapt and respond: keeping responsive into the futureAdapt and respond: keeping responsive into the future
Adapt and respond: keeping responsive into the future
 
Big app design for Node.js
Big app design for Node.jsBig app design for Node.js
Big app design for Node.js
 
JS-Everywhere - SSE Hands-on
JS-Everywhere - SSE Hands-onJS-Everywhere - SSE Hands-on
JS-Everywhere - SSE Hands-on
 
Active Record Introduction - 3
Active Record Introduction - 3Active Record Introduction - 3
Active Record Introduction - 3
 
Dominion Enterprises _H@&lt;k@th0n_
Dominion Enterprises _H@&lt;k@th0n_Dominion Enterprises _H@&lt;k@th0n_
Dominion Enterprises _H@&lt;k@th0n_
 
JS-Everywhere - LocalStorage Hands-on
JS-Everywhere - LocalStorage Hands-onJS-Everywhere - LocalStorage Hands-on
JS-Everywhere - LocalStorage Hands-on
 
Performance & Responsive Web Design
Performance & Responsive Web DesignPerformance & Responsive Web Design
Performance & Responsive Web Design
 
iPad Apps for teachers
iPad Apps for teachersiPad Apps for teachers
iPad Apps for teachers
 
The Journey to a Full-Time Freelance Web Design Business
The Journey to a Full-Time Freelance Web Design BusinessThe Journey to a Full-Time Freelance Web Design Business
The Journey to a Full-Time Freelance Web Design Business
 
Basic html for Normal People
Basic html for Normal PeopleBasic html for Normal People
Basic html for Normal People
 
Design process
Design processDesign process
Design process
 
I Love Techno - the site
I Love Techno - the siteI Love Techno - the site
I Love Techno - the site
 
The CoffeeScript Edge
The CoffeeScript EdgeThe CoffeeScript Edge
The CoffeeScript Edge
 

Plus de Raven Tools

How to create a traffic machine for your content
How to create a traffic machine for your contentHow to create a traffic machine for your content
How to create a traffic machine for your content
Raven Tools
 

Plus de Raven Tools (20)

Fully Optimized
Fully OptimizedFully Optimized
Fully Optimized
 
Essential On-Page SEO
Essential On-Page SEOEssential On-Page SEO
Essential On-Page SEO
 
On-Page SEO for Mobile
On-Page SEO for MobileOn-Page SEO for Mobile
On-Page SEO for Mobile
 
How to Establish Social Proof Using Social Love
How to Establish Social Proof Using Social LoveHow to Establish Social Proof Using Social Love
How to Establish Social Proof Using Social Love
 
How to Discover Marketing Opportunities For Any Website
How to Discover Marketing Opportunities For Any WebsiteHow to Discover Marketing Opportunities For Any Website
How to Discover Marketing Opportunities For Any Website
 
The 5 Most Important Benchmarks for a New SEO Client
The 5 Most Important Benchmarks for a New SEO ClientThe 5 Most Important Benchmarks for a New SEO Client
The 5 Most Important Benchmarks for a New SEO Client
 
Mobile Marketing Misconceptions and the Real Truth
Mobile Marketing Misconceptions and the Real TruthMobile Marketing Misconceptions and the Real Truth
Mobile Marketing Misconceptions and the Real Truth
 
Eliminate Google Analytics Confusion with Raven
Eliminate Google Analytics Confusion with RavenEliminate Google Analytics Confusion with Raven
Eliminate Google Analytics Confusion with Raven
 
How to create a traffic machine for your content
How to create a traffic machine for your contentHow to create a traffic machine for your content
How to create a traffic machine for your content
 
Bootstrap Marketing for Entrepreneurs and Startups
Bootstrap Marketing for Entrepreneurs and StartupsBootstrap Marketing for Entrepreneurs and Startups
Bootstrap Marketing for Entrepreneurs and Startups
 
Content Marketing: 50 Words That Will Help Improve Your Next 500 Blog Posts
Content Marketing: 50 Words That Will Help Improve Your Next 500 Blog PostsContent Marketing: 50 Words That Will Help Improve Your Next 500 Blog Posts
Content Marketing: 50 Words That Will Help Improve Your Next 500 Blog Posts
 
The Future of Search in a Social World
The Future of Search in a Social WorldThe Future of Search in a Social World
The Future of Search in a Social World
 
Measuring Social Media: A Tweet Is Worth WHAT?
Measuring Social Media: A Tweet Is Worth WHAT?Measuring Social Media: A Tweet Is Worth WHAT?
Measuring Social Media: A Tweet Is Worth WHAT?
 
Essential Content Marketing Templates
Essential Content Marketing TemplatesEssential Content Marketing Templates
Essential Content Marketing Templates
 
Why Press Releases Are (Still) Useful for Marketers
Why Press Releases Are (Still) Useful for MarketersWhy Press Releases Are (Still) Useful for Marketers
Why Press Releases Are (Still) Useful for Marketers
 
Measure It! Social media metrics made simple
Measure It! Social media metrics made simpleMeasure It! Social media metrics made simple
Measure It! Social media metrics made simple
 
Social Media Crimes of Passion
Social Media Crimes of PassionSocial Media Crimes of Passion
Social Media Crimes of Passion
 
SEO performance metrics that actually matter
SEO performance metrics that actually matterSEO performance metrics that actually matter
SEO performance metrics that actually matter
 
Tools Shoot Out - SEMPDX SearchFest
Tools Shoot Out - SEMPDX SearchFestTools Shoot Out - SEMPDX SearchFest
Tools Shoot Out - SEMPDX SearchFest
 
Link Building: The Best Marketing Strategy You've Never Heard Of
Link Building: The Best Marketing Strategy You've Never Heard OfLink Building: The Best Marketing Strategy You've Never Heard Of
Link Building: The Best Marketing Strategy You've Never Heard Of
 

Dernier

call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Morcall Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
vikas rana
 

Dernier (15)

Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Tingre Nagar ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls
9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls
9892124323, Call Girls in mumbai, Vashi Call Girls , Kurla Call girls
 
(Aarini) Russian Call Girls Surat Call Now 8250077686 Surat Escorts 24x7
(Aarini) Russian Call Girls Surat Call Now 8250077686 Surat Escorts 24x7(Aarini) Russian Call Girls Surat Call Now 8250077686 Surat Escorts 24x7
(Aarini) Russian Call Girls Surat Call Now 8250077686 Surat Escorts 24x7
 
(Anamika) VIP Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts ...
(Anamika) VIP Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts ...(Anamika) VIP Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts ...
(Anamika) VIP Call Girls Navi Mumbai Call Now 8250077686 Navi Mumbai Escorts ...
 
2k Shots ≽ 9205541914 ≼ Call Girls In Mukherjee Nagar (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Mukherjee Nagar (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Mukherjee Nagar (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Mukherjee Nagar (Delhi)
 
WOMEN EMPOWERMENT women empowerment.pptx
WOMEN EMPOWERMENT women empowerment.pptxWOMEN EMPOWERMENT women empowerment.pptx
WOMEN EMPOWERMENT women empowerment.pptx
 
2k Shots ≽ 9205541914 ≼ Call Girls In Palam (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Palam (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Palam (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Palam (Delhi)
 
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Morcall Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
call Now 9811711561 Cash Payment乂 Call Girls in Dwarka Mor
 
2k Shots ≽ 9205541914 ≼ Call Girls In Jasola (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Jasola (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Jasola (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Jasola (Delhi)
 
LC_YouSaidYes_NewBelieverBookletDone.pdf
LC_YouSaidYes_NewBelieverBookletDone.pdfLC_YouSaidYes_NewBelieverBookletDone.pdf
LC_YouSaidYes_NewBelieverBookletDone.pdf
 
2k Shots ≽ 9205541914 ≼ Call Girls In Dashrath Puri (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Dashrath Puri (Delhi)2k Shots ≽ 9205541914 ≼ Call Girls In Dashrath Puri (Delhi)
2k Shots ≽ 9205541914 ≼ Call Girls In Dashrath Puri (Delhi)
 
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
$ Love Spells^ 💎 (310) 882-6330 in West Virginia, WV | Psychic Reading Best B...
 
The Selfspace Journal Preview by Mindbrush
The Selfspace Journal Preview by MindbrushThe Selfspace Journal Preview by Mindbrush
The Selfspace Journal Preview by Mindbrush
 
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
8377087607 Full Enjoy @24/7-CLEAN-Call Girls In Chhatarpur,
 
Pokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy TheoryPokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy Theory
 

Modern HTML & CSS Coding: Speed, Semantics & Structure