SlideShare une entreprise Scribd logo
1  sur  34
HTML5 + WordPress Rob Larsen 1.23.2010 htmlcssjavascript.com | drunkenfist.com @robreact htmlcssjavascript.com /downloads/wordpress.ppt
Who is this Guy Anyway? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction to HTML5 ,[object Object],[object Object],[object Object],[object Object],[object Object]
What Are We Going To Talk About ,[object Object],[object Object]
Meet the New Semantic Elements ,[object Object]
Meet the New Semantic Elements ,[object Object]
Meet the New Semantic Elements ,[object Object]
Meet the New Semantic Elements ,[object Object]
Meet the New Semantic Elements ,[object Object],[object Object]
Meet the New Semantic Elements ,[object Object]
Meet the New Semantic Elements ,[object Object]
Meet the New Semantic Elements ,[object Object]
Meet the New Semantic Elements ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Isn’t All That New Stuff Just About Perfect for Marking up a Blog? ,[object Object]
Let’s Look at Some Code
header.php ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Default/Kubrick (part 1)
header.php ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Default/Kubrick (part 2)
header.php ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],AwiderNet.com
View Source ,[object Object],[object Object],[object Object],[object Object],[object Object],AwiderNet.com
index.php <?php /** * @package WordPress * @subpackage Kubrick_x_HTML5 */ get_header(); ?> <div id=&quot;content&quot; class=&quot;narrowcolumn&quot; > <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <article <?php post_class() ?> id=&quot;post-<?php the_ID(); ?>&quot;> <h1> <a href=&quot;<?php the_permalink() ?>&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to <?php the_title_attribute(); ?>&quot;><?php the_title(); ?></a> </h1>   <time datetime=&quot;<?php the_time('c') ?>&quot; pubdate=&quot;pubdate&quot;><?php the_time('F jS, Y') ?></time>   <div class=&quot;entry&quot;>   <?php the_content('Read the rest of this entry &raquo;'); ?>   </div>   <p class=&quot;postmetadata&quot;><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p> </article> <?php endwhile; ?> <nav class=&quot;navigation&quot;> <div class=&quot;alignleft&quot;><?php next_posts_link('&laquo; Older Entries') ?></div> <div class=&quot;alignright&quot;><?php previous_posts_link('Newer Entries &raquo;') ?></div> </nav> <?php else : ?> <h1 class=&quot;center&quot;>Not Found</h1> <p class=&quot;center&quot;>Sorry, but you are looking for something that isn't here.</p> <?php get_search_form(); ?> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?> Default/Kubrick
View Source s<article id=&quot;post-3&quot; class=&quot;post-3 post hentry category-uncategorized&quot;> <h1><a title=&quot;Permanent Link to This Is an HTML5ized Version of the Default Wordpress Theme&quot; rel=&quot;bookmark&quot; href=&quot;http://htmlcssjavascript.com/dev/?p=3&quot;>This Is an HTML5ized Version of the Default Wordpress Theme</a></h1> <time pubdate=&quot;pubdate&quot; datetime=&quot;2010-01-17T21:52:52+00:00&quot;>January 17th, 2010</time> <div class=&quot;entry&quot;> <p>Source Code and discussion.</p> </div> <p class=&quot;postmetadata&quot;> Posted in <a rel=&quot;category&quot; title=&quot;View all posts in Uncategorized&quot; href=&quot;http://htmlcssjavascript.com/dev/?cat=1&quot;>Uncategorized</a> | <a title=&quot;Edit post&quot; href=&quot;http://htmlcssjavascript.com/dev/wp-admin/post.php?action=edit&amp;post=3&quot; class=&quot;post-edit-link&quot;>Edit</a> | <a title=&quot;Comment on This Is an HTML5ized Version of the Default Wordpress Theme&quot; href=&quot;http://htmlcssjavascript.com/dev/?p=3#respond&quot;>No Comments »</a></p> </article> Default/Kubrick
sidebar.php <?php /** * @package WordPress * @subpackage Kubrick_x_HTML5 */ ?> <aside id=&quot;sidebar&quot; > <ul> <?php  /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <!-- SNIP --> </li> <?php }?> </ul> <nav> <ul> <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> <li><h2>Archives</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </li> <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?> </ul> </nav> <ul> <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <?php wp_list_bookmarks(); ?> <li><h2>Meta</h2> <!-- SNIP --> </li> <?php } ?> <?php endif; ?> </ul> </aside> Default/Kubrick
searchform.php <?php /** * @package WordPress * @subpackage Kubrick_x_HTML5 */ ?> <form method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;<?php bloginfo('url'); ?>&quot; > <div> <label class=&quot;screen-reader-text&quot; for=&quot;s&quot;>Search for:</label> <input  type=&quot;search&quot; placeholder=&quot;Search <?php bloginfo('blogtitle'); ?>&quot;  name=&quot;s&quot; id=&quot;s&quot; /> <input type=&quot;submit&quot; id=&quot;searchsubmit&quot; value=&quot;Search&quot; /> </div> </form> Default/Kubrick
comments.php <?php // snip! ?> <?php if ( comments_open() ) : ?> <div id=&quot;comment-form&quot;> <h2><?php comment_form_title( 'Leave a comment', 'Leave a Reply to %s' ); ?></h2> <div class=&quot;cancel-comment-reply&quot;> <small><?php cancel_comment_reply_link(); ?></small> </div> <?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?> <p>You must be <a href=&quot;<?php echo wp_login_url( get_permalink() ); ?>&quot;>logged in</a> to post a comment.</p> <?php else : ?> <form action=&quot;<?php echo get_option('siteurl'); ?>/wp-comments-post.php&quot; method=&quot;post&quot; id=&quot;commentform&quot;> <?php if ( is_user_logged_in() ) : ?> <p>Logged in as <a href=&quot;<?php echo get_option('siteurl'); ?>/wp-admin/profile.php&quot;><?php echo $user_identity; ?></a>. <a href=&quot;<?php echo wp_logout_url(get_permalink()); ?>&quot; title=&quot;Log out of this account&quot;>Log out &raquo;</a></p> <?php else : ?> <p><label for=&quot;author&quot;><small>Name <?php if ($req) echo &quot;(required)&quot;; ?></small></label><input type=&quot;text&quot; class=&quot;text-input&quot; name=&quot;author&quot; id=&quot;author&quot; value=&quot;<?php echo esc_attr($comment_author); ?>&quot; size=&quot;22&quot; tabindex=&quot;1&quot; <?php if ($req) echo &quot;aria-required='true'&quot;; ?> /> </p> <p><label for=&quot;email&quot;><small>Mail (will not be published) <?php if ($req) echo &quot;(required)&quot;; ?></small></label> <input type=&quot;email&quot;  class=&quot;text-input&quot; name=&quot;email&quot; id=&quot;email&quot; value=&quot;<?php echo esc_attr($comment_author_email); ?>&quot; size=&quot;22&quot; tabindex=&quot;2&quot; <?php if ($req) echo &quot;aria-required='true'&quot;; ?> /></p> <p><label for=&quot;url&quot;><small>Website</small></label>< input type=&quot;url&quot;  class=&quot;text-input&quot; name=&quot;url&quot; id=&quot;url&quot; value=&quot;<?php echo esc_attr($comment_author_url); ?>&quot; size=&quot;22&quot; tabindex=&quot;3&quot; /> </p> <?php endif; ?> <p><label for=&quot;comment&quot;><small>Comments</small></label> <textarea name=&quot;comment&quot; cols=&quot;100%&quot; rows=&quot;10&quot; tabindex=&quot;4&quot;></textarea> </p> <div class=&quot;button&quot;><input name=&quot;submit&quot; type=&quot;submit&quot; id=&quot;submit&quot; tabindex=&quot;5&quot; value=&quot;Submit&quot; /></div> <?php comment_id_fields(); ?> <?php do_action('comment_form', $post->ID); ?> </form> <!—SNIP-  AWiderNet
footer.php <?php /** * @package WordPress * @subpackage Kubrick_x_HTML5 */ ?> <hr /> <footer id=&quot;footer&quot; > <!-- If you'd like to support WordPress, having the &quot;powered by&quot; link somewhere on your blog is the best way; it's our only promotion or advertising. --> <p> <?php bloginfo('name'); ?> is proudly powered by <a href=&quot;http://wordpress.org/&quot;>WordPress</a> <br /><a href=&quot;<?php bloginfo('rss2_url'); ?>&quot;>Entries (RSS)</a> and <a href=&quot;<?php bloginfo('comments_rss2_url'); ?>&quot;>Comments (RSS)</a>. <!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. --> </p> </footer> </div> <!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ --> <?php /* &quot;Just what do you think you're doing Dave?&quot; */ ?> <?php wp_footer(); ?> </body> </html> Default/Kubrick
What’s the Diff? footer.php
archives.php <?php /** * @package WordPress * @subpackage Kubrick_x_HTML5 */ /* Template Name: Archives */ ?> <?php get_header(); ?> <div id=&quot;content&quot; class=&quot;widecolumn&quot;> <?php get_search_form(); ?> <section> <h2>Archives by Month:</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </section> <section> <h2>Archives by Subject:</h2> <ul>   <?php wp_list_categories(); ?> </ul> </section> </div> <?php get_footer(); ?> Kubrick/default
style.css /*SNIP!*/  /* Begin Structure */ body { margin: 0 0 20px 0; padding: 0; } /*HTML5*/ footer, section, article, aside, header, time { display:block; } #page { background-color: white; margin: 20px auto; padding: 0; width: 760px; border: 1px solid #959596; } #header /*SNIP!*/ Kubrick/default
What’s the Diff? style.css
style.css .borderradius.boxshadow.rgba #container #main article, .borderradius.boxshadow.rgba #container #main #posts > .meta-data, .borderradius.boxshadow.rgba #container #main #posts #no-results, .borderradius.boxshadow.rgba #container #main #posts .author { border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, .15); box-shadow: 0px 0px 5px rgba(0, 0, 0, .15); -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, .15); background:#fff; overflow: hidden; } AWiderNet
PSST! CSS3
Things I Learned ,[object Object],[object Object],[object Object]
Any Questions?
More Info ,[object Object],[object Object],[object Object],[object Object],[object Object]

Contenu connexe

Tendances

How does get template part works in twenty ten theme
How does get template part works in twenty ten themeHow does get template part works in twenty ten theme
How does get template part works in twenty ten thememohd rozani abd ghani
 
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...LinnAlexandra
 
Intro to Theming Drupal, FOSSLC Summer Camp 2010
Intro to Theming Drupal, FOSSLC Summer Camp 2010Intro to Theming Drupal, FOSSLC Summer Camp 2010
Intro to Theming Drupal, FOSSLC Summer Camp 2010Emma Jane Hogbin Westby
 
Learning Wordpress - the internal guide
Learning Wordpress - the internal guideLearning Wordpress - the internal guide
Learning Wordpress - the internal guidetom altman
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookScottperrone
 
An Introduction To HTML5
An Introduction To HTML5An Introduction To HTML5
An Introduction To HTML5Robert Nyman
 
Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Ryan Price
 
Html 5 in a big nutshell
Html 5 in a big nutshellHtml 5 in a big nutshell
Html 5 in a big nutshellLennart Schoors
 
An Introduction to HTML5
An Introduction to HTML5An Introduction to HTML5
An Introduction to HTML5Steven Chipman
 
WordPress and PHP - It Takes One to Know One
WordPress and PHP - It Takes One to Know OneWordPress and PHP - It Takes One to Know One
WordPress and PHP - It Takes One to Know OneLorelle VanFossen
 
Creating Themes
Creating ThemesCreating Themes
Creating ThemesDaisyOlsen
 
Theme development essentials columbus oh word camp 2012
Theme development essentials   columbus oh word camp 2012Theme development essentials   columbus oh word camp 2012
Theme development essentials columbus oh word camp 2012Joe Querin
 
HTML5 & Friends
HTML5 & FriendsHTML5 & Friends
HTML5 & FriendsRemy Sharp
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress ThemesLaura Hartwig
 

Tendances (20)

WordPress Theming 101
WordPress Theming 101WordPress Theming 101
WordPress Theming 101
 
Theming 101
Theming 101Theming 101
Theming 101
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 
How does get template part works in twenty ten theme
How does get template part works in twenty ten themeHow does get template part works in twenty ten theme
How does get template part works in twenty ten theme
 
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
Don't Fear the Custom Theme: How to build a custom WordPress theme with only ...
 
Intro to Theming Drupal, FOSSLC Summer Camp 2010
Intro to Theming Drupal, FOSSLC Summer Camp 2010Intro to Theming Drupal, FOSSLC Summer Camp 2010
Intro to Theming Drupal, FOSSLC Summer Camp 2010
 
Learning Wordpress - the internal guide
Learning Wordpress - the internal guideLearning Wordpress - the internal guide
Learning Wordpress - the internal guide
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - Ebook
 
Design to Theme @ CMSExpo
Design to Theme @ CMSExpoDesign to Theme @ CMSExpo
Design to Theme @ CMSExpo
 
An Introduction To HTML5
An Introduction To HTML5An Introduction To HTML5
An Introduction To HTML5
 
Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011Drupal Theme Development - DrupalCon Chicago 2011
Drupal Theme Development - DrupalCon Chicago 2011
 
Html 5 in a big nutshell
Html 5 in a big nutshellHtml 5 in a big nutshell
Html 5 in a big nutshell
 
An Introduction to HTML5
An Introduction to HTML5An Introduction to HTML5
An Introduction to HTML5
 
WordPress and PHP - It Takes One to Know One
WordPress and PHP - It Takes One to Know OneWordPress and PHP - It Takes One to Know One
WordPress and PHP - It Takes One to Know One
 
Creating Themes
Creating ThemesCreating Themes
Creating Themes
 
Drupal Theme Development
Drupal Theme DevelopmentDrupal Theme Development
Drupal Theme Development
 
Html 5
Html 5Html 5
Html 5
 
Theme development essentials columbus oh word camp 2012
Theme development essentials   columbus oh word camp 2012Theme development essentials   columbus oh word camp 2012
Theme development essentials columbus oh word camp 2012
 
HTML5 & Friends
HTML5 & FriendsHTML5 & Friends
HTML5 & Friends
 
Customizing WordPress Themes
Customizing WordPress ThemesCustomizing WordPress Themes
Customizing WordPress Themes
 

En vedette

Ecrea3j Brengman Malaika Ppt
Ecrea3j Brengman Malaika PptEcrea3j Brengman Malaika Ppt
Ecrea3j Brengman Malaika Pptimec.archive
 
Sg Ppres
Sg PpresSg Ppres
Sg PpresJess6
 
Diva Presentation
Diva PresentationDiva Presentation
Diva Presentationchriskovacs
 
Maria álvarez música-inglés
Maria álvarez música-inglésMaria álvarez música-inglés
Maria álvarez música-inglésiesaguia
 
Ecrea3b Lakel Amar Paper
Ecrea3b Lakel Amar PaperEcrea3b Lakel Amar Paper
Ecrea3b Lakel Amar Paperimec.archive
 
A2 Bforum P1 02 Ka Ho Sl Vincent Naessens E Idea
A2 Bforum P1 02 Ka Ho Sl   Vincent Naessens   E IdeaA2 Bforum P1 02 Ka Ho Sl   Vincent Naessens   E Idea
A2 Bforum P1 02 Ka Ho Sl Vincent Naessens E Ideaimec.archive
 
Atrapando Circulos
Atrapando CirculosAtrapando Circulos
Atrapando Circulosiesaguia
 
Стол за баня и тоалет комбиниран
Стол за баня и тоалет комбиниранСтол за баня и тоалет комбиниран
Стол за баня и тоалет комбиниранMeyra Bulgaria
 
A S S I N G M E N T
A S S I N G M E N TA S S I N G M E N T
A S S I N G M E N TZahoor Ahmed
 
Production Of Contents Page
Production Of Contents PageProduction Of Contents Page
Production Of Contents Pageguest03e64fb
 
2008 brokerage distributed software-service management [compatibility mode]
2008 brokerage distributed software-service management [compatibility mode]2008 brokerage distributed software-service management [compatibility mode]
2008 brokerage distributed software-service management [compatibility mode]imec.archive
 
WeBBT 2009 Coconut & MyBBT
WeBBT 2009 Coconut & MyBBTWeBBT 2009 Coconut & MyBBT
WeBBT 2009 Coconut & MyBBTimec.archive
 
NSTIC draft bylaws August 2012 w comments
NSTIC draft bylaws August 2012 w commentsNSTIC draft bylaws August 2012 w comments
NSTIC draft bylaws August 2012 w commentsJamie Clark
 
OASIS at ITU/NGMN: Convergence, Collaboration and Smart Shopping in Open Stan...
OASIS at ITU/NGMN: Convergence, Collaboration and Smart Shopping in Open Stan...OASIS at ITU/NGMN: Convergence, Collaboration and Smart Shopping in Open Stan...
OASIS at ITU/NGMN: Convergence, Collaboration and Smart Shopping in Open Stan...Jamie Clark
 
Crsm 7 2009 Jens Gebert Alcatel Lucent
Crsm 7 2009   Jens Gebert Alcatel LucentCrsm 7 2009   Jens Gebert Alcatel Lucent
Crsm 7 2009 Jens Gebert Alcatel Lucentimec.archive
 
משימה מספר 5 מט"ח - פנינה וסמדר 2003
משימה מספר 5  מט"ח - פנינה וסמדר   2003משימה מספר 5  מט"ח - פנינה וסמדר   2003
משימה מספר 5 מט"ח - פנינה וסמדר 2003smadar
 
I Minds2009 Tinkertouch
I Minds2009 TinkertouchI Minds2009 Tinkertouch
I Minds2009 Tinkertouchimec.archive
 

En vedette (20)

Ecrea3j Brengman Malaika Ppt
Ecrea3j Brengman Malaika PptEcrea3j Brengman Malaika Ppt
Ecrea3j Brengman Malaika Ppt
 
Sg Ppres
Sg PpresSg Ppres
Sg Ppres
 
Diva Presentation
Diva PresentationDiva Presentation
Diva Presentation
 
Maria álvarez música-inglés
Maria álvarez música-inglésMaria álvarez música-inglés
Maria álvarez música-inglés
 
Ecrea3b Lakel Amar Paper
Ecrea3b Lakel Amar PaperEcrea3b Lakel Amar Paper
Ecrea3b Lakel Amar Paper
 
A2 Bforum P1 02 Ka Ho Sl Vincent Naessens E Idea
A2 Bforum P1 02 Ka Ho Sl   Vincent Naessens   E IdeaA2 Bforum P1 02 Ka Ho Sl   Vincent Naessens   E Idea
A2 Bforum P1 02 Ka Ho Sl Vincent Naessens E Idea
 
Atrapando Circulos
Atrapando CirculosAtrapando Circulos
Atrapando Circulos
 
Grid07 6 Jacq
Grid07 6 JacqGrid07 6 Jacq
Grid07 6 Jacq
 
Стол за баня и тоалет комбиниран
Стол за баня и тоалет комбиниранСтол за баня и тоалет комбиниран
Стол за баня и тоалет комбиниран
 
A S S I N G M E N T
A S S I N G M E N TA S S I N G M E N T
A S S I N G M E N T
 
Production Of Contents Page
Production Of Contents PageProduction Of Contents Page
Production Of Contents Page
 
GROUP5-SYLLABLES
GROUP5-SYLLABLESGROUP5-SYLLABLES
GROUP5-SYLLABLES
 
Livro 1
Livro 1Livro 1
Livro 1
 
2008 brokerage distributed software-service management [compatibility mode]
2008 brokerage distributed software-service management [compatibility mode]2008 brokerage distributed software-service management [compatibility mode]
2008 brokerage distributed software-service management [compatibility mode]
 
WeBBT 2009 Coconut & MyBBT
WeBBT 2009 Coconut & MyBBTWeBBT 2009 Coconut & MyBBT
WeBBT 2009 Coconut & MyBBT
 
NSTIC draft bylaws August 2012 w comments
NSTIC draft bylaws August 2012 w commentsNSTIC draft bylaws August 2012 w comments
NSTIC draft bylaws August 2012 w comments
 
OASIS at ITU/NGMN: Convergence, Collaboration and Smart Shopping in Open Stan...
OASIS at ITU/NGMN: Convergence, Collaboration and Smart Shopping in Open Stan...OASIS at ITU/NGMN: Convergence, Collaboration and Smart Shopping in Open Stan...
OASIS at ITU/NGMN: Convergence, Collaboration and Smart Shopping in Open Stan...
 
Crsm 7 2009 Jens Gebert Alcatel Lucent
Crsm 7 2009   Jens Gebert Alcatel LucentCrsm 7 2009   Jens Gebert Alcatel Lucent
Crsm 7 2009 Jens Gebert Alcatel Lucent
 
משימה מספר 5 מט"ח - פנינה וסמדר 2003
משימה מספר 5  מט"ח - פנינה וסמדר   2003משימה מספר 5  מט"ח - פנינה וסמדר   2003
משימה מספר 5 מט"ח - פנינה וסמדר 2003
 
I Minds2009 Tinkertouch
I Minds2009 TinkertouchI Minds2009 Tinkertouch
I Minds2009 Tinkertouch
 

Similaire à Wordpress & HTML5 by Rob Larsen

Similaire à Wordpress & HTML5 by Rob Larsen (20)

Semantically Correct And Standards Compliance Html
Semantically Correct And Standards Compliance HtmlSemantically Correct And Standards Compliance Html
Semantically Correct And Standards Compliance Html
 
Web Designing
Web DesigningWeb Designing
Web Designing
 
Html5 accessibility
Html5 accessibilityHtml5 accessibility
Html5 accessibility
 
Using HTML5 and CSS3 today
Using HTML5 and CSS3 todayUsing HTML5 and CSS3 today
Using HTML5 and CSS3 today
 
ARTDM 171 Week 4: Tags
ARTDM 171 Week 4: TagsARTDM 171 Week 4: Tags
ARTDM 171 Week 4: Tags
 
Block2 Session2 Presentation
Block2 Session2 PresentationBlock2 Session2 Presentation
Block2 Session2 Presentation
 
Html 5
Html 5Html 5
Html 5
 
Html5
Html5Html5
Html5
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
HTML5 and web technology update
HTML5 and web technology updateHTML5 and web technology update
HTML5 and web technology update
 
WordPress Development Confoo 2010
WordPress Development Confoo 2010WordPress Development Confoo 2010
WordPress Development Confoo 2010
 
Html 5.0
Html 5.0Html 5.0
Html 5.0
 
WordPress Standardized Loop API
WordPress Standardized Loop APIWordPress Standardized Loop API
WordPress Standardized Loop API
 
Lecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITPLecture 1 - Comm Lab: Web @ ITP
Lecture 1 - Comm Lab: Web @ ITP
 
Module 2 Lesson 1
Module 2 Lesson 1Module 2 Lesson 1
Module 2 Lesson 1
 
Html
HtmlHtml
Html
 
BasicHTML
BasicHTMLBasicHTML
BasicHTML
 
Intr To Html & Xhtml
Intr To Html & XhtmlIntr To Html & Xhtml
Intr To Html & Xhtml
 
Vskills certified html5 developer Notes
Vskills certified html5 developer NotesVskills certified html5 developer Notes
Vskills certified html5 developer Notes
 
Html 5, a gentle introduction
Html 5, a gentle introductionHtml 5, a gentle introduction
Html 5, a gentle introduction
 

Dernier

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 

Dernier (20)

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 

Wordpress & HTML5 by Rob Larsen

  • 1. HTML5 + WordPress Rob Larsen 1.23.2010 htmlcssjavascript.com | drunkenfist.com @robreact htmlcssjavascript.com /downloads/wordpress.ppt
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. Let’s Look at Some Code
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. index.php <?php /** * @package WordPress * @subpackage Kubrick_x_HTML5 */ get_header(); ?> <div id=&quot;content&quot; class=&quot;narrowcolumn&quot; > <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <article <?php post_class() ?> id=&quot;post-<?php the_ID(); ?>&quot;> <h1> <a href=&quot;<?php the_permalink() ?>&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to <?php the_title_attribute(); ?>&quot;><?php the_title(); ?></a> </h1> <time datetime=&quot;<?php the_time('c') ?>&quot; pubdate=&quot;pubdate&quot;><?php the_time('F jS, Y') ?></time> <div class=&quot;entry&quot;> <?php the_content('Read the rest of this entry &raquo;'); ?> </div> <p class=&quot;postmetadata&quot;><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p> </article> <?php endwhile; ?> <nav class=&quot;navigation&quot;> <div class=&quot;alignleft&quot;><?php next_posts_link('&laquo; Older Entries') ?></div> <div class=&quot;alignright&quot;><?php previous_posts_link('Newer Entries &raquo;') ?></div> </nav> <?php else : ?> <h1 class=&quot;center&quot;>Not Found</h1> <p class=&quot;center&quot;>Sorry, but you are looking for something that isn't here.</p> <?php get_search_form(); ?> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?> Default/Kubrick
  • 21. View Source s<article id=&quot;post-3&quot; class=&quot;post-3 post hentry category-uncategorized&quot;> <h1><a title=&quot;Permanent Link to This Is an HTML5ized Version of the Default Wordpress Theme&quot; rel=&quot;bookmark&quot; href=&quot;http://htmlcssjavascript.com/dev/?p=3&quot;>This Is an HTML5ized Version of the Default Wordpress Theme</a></h1> <time pubdate=&quot;pubdate&quot; datetime=&quot;2010-01-17T21:52:52+00:00&quot;>January 17th, 2010</time> <div class=&quot;entry&quot;> <p>Source Code and discussion.</p> </div> <p class=&quot;postmetadata&quot;> Posted in <a rel=&quot;category&quot; title=&quot;View all posts in Uncategorized&quot; href=&quot;http://htmlcssjavascript.com/dev/?cat=1&quot;>Uncategorized</a> | <a title=&quot;Edit post&quot; href=&quot;http://htmlcssjavascript.com/dev/wp-admin/post.php?action=edit&amp;post=3&quot; class=&quot;post-edit-link&quot;>Edit</a> | <a title=&quot;Comment on This Is an HTML5ized Version of the Default Wordpress Theme&quot; href=&quot;http://htmlcssjavascript.com/dev/?p=3#respond&quot;>No Comments »</a></p> </article> Default/Kubrick
  • 22. sidebar.php <?php /** * @package WordPress * @subpackage Kubrick_x_HTML5 */ ?> <aside id=&quot;sidebar&quot; > <ul> <?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <!-- SNIP --> </li> <?php }?> </ul> <nav> <ul> <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> <li><h2>Archives</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </li> <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?> </ul> </nav> <ul> <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <?php wp_list_bookmarks(); ?> <li><h2>Meta</h2> <!-- SNIP --> </li> <?php } ?> <?php endif; ?> </ul> </aside> Default/Kubrick
  • 23. searchform.php <?php /** * @package WordPress * @subpackage Kubrick_x_HTML5 */ ?> <form method=&quot;get&quot; id=&quot;searchform&quot; action=&quot;<?php bloginfo('url'); ?>&quot; > <div> <label class=&quot;screen-reader-text&quot; for=&quot;s&quot;>Search for:</label> <input type=&quot;search&quot; placeholder=&quot;Search <?php bloginfo('blogtitle'); ?>&quot; name=&quot;s&quot; id=&quot;s&quot; /> <input type=&quot;submit&quot; id=&quot;searchsubmit&quot; value=&quot;Search&quot; /> </div> </form> Default/Kubrick
  • 24. comments.php <?php // snip! ?> <?php if ( comments_open() ) : ?> <div id=&quot;comment-form&quot;> <h2><?php comment_form_title( 'Leave a comment', 'Leave a Reply to %s' ); ?></h2> <div class=&quot;cancel-comment-reply&quot;> <small><?php cancel_comment_reply_link(); ?></small> </div> <?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?> <p>You must be <a href=&quot;<?php echo wp_login_url( get_permalink() ); ?>&quot;>logged in</a> to post a comment.</p> <?php else : ?> <form action=&quot;<?php echo get_option('siteurl'); ?>/wp-comments-post.php&quot; method=&quot;post&quot; id=&quot;commentform&quot;> <?php if ( is_user_logged_in() ) : ?> <p>Logged in as <a href=&quot;<?php echo get_option('siteurl'); ?>/wp-admin/profile.php&quot;><?php echo $user_identity; ?></a>. <a href=&quot;<?php echo wp_logout_url(get_permalink()); ?>&quot; title=&quot;Log out of this account&quot;>Log out &raquo;</a></p> <?php else : ?> <p><label for=&quot;author&quot;><small>Name <?php if ($req) echo &quot;(required)&quot;; ?></small></label><input type=&quot;text&quot; class=&quot;text-input&quot; name=&quot;author&quot; id=&quot;author&quot; value=&quot;<?php echo esc_attr($comment_author); ?>&quot; size=&quot;22&quot; tabindex=&quot;1&quot; <?php if ($req) echo &quot;aria-required='true'&quot;; ?> /> </p> <p><label for=&quot;email&quot;><small>Mail (will not be published) <?php if ($req) echo &quot;(required)&quot;; ?></small></label> <input type=&quot;email&quot; class=&quot;text-input&quot; name=&quot;email&quot; id=&quot;email&quot; value=&quot;<?php echo esc_attr($comment_author_email); ?>&quot; size=&quot;22&quot; tabindex=&quot;2&quot; <?php if ($req) echo &quot;aria-required='true'&quot;; ?> /></p> <p><label for=&quot;url&quot;><small>Website</small></label>< input type=&quot;url&quot; class=&quot;text-input&quot; name=&quot;url&quot; id=&quot;url&quot; value=&quot;<?php echo esc_attr($comment_author_url); ?>&quot; size=&quot;22&quot; tabindex=&quot;3&quot; /> </p> <?php endif; ?> <p><label for=&quot;comment&quot;><small>Comments</small></label> <textarea name=&quot;comment&quot; cols=&quot;100%&quot; rows=&quot;10&quot; tabindex=&quot;4&quot;></textarea> </p> <div class=&quot;button&quot;><input name=&quot;submit&quot; type=&quot;submit&quot; id=&quot;submit&quot; tabindex=&quot;5&quot; value=&quot;Submit&quot; /></div> <?php comment_id_fields(); ?> <?php do_action('comment_form', $post->ID); ?> </form> <!—SNIP-  AWiderNet
  • 25. footer.php <?php /** * @package WordPress * @subpackage Kubrick_x_HTML5 */ ?> <hr /> <footer id=&quot;footer&quot; > <!-- If you'd like to support WordPress, having the &quot;powered by&quot; link somewhere on your blog is the best way; it's our only promotion or advertising. --> <p> <?php bloginfo('name'); ?> is proudly powered by <a href=&quot;http://wordpress.org/&quot;>WordPress</a> <br /><a href=&quot;<?php bloginfo('rss2_url'); ?>&quot;>Entries (RSS)</a> and <a href=&quot;<?php bloginfo('comments_rss2_url'); ?>&quot;>Comments (RSS)</a>. <!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. --> </p> </footer> </div> <!-- Gorgeous design by Michael Heilemann - http://binarybonsai.com/kubrick/ --> <?php /* &quot;Just what do you think you're doing Dave?&quot; */ ?> <?php wp_footer(); ?> </body> </html> Default/Kubrick
  • 26. What’s the Diff? footer.php
  • 27. archives.php <?php /** * @package WordPress * @subpackage Kubrick_x_HTML5 */ /* Template Name: Archives */ ?> <?php get_header(); ?> <div id=&quot;content&quot; class=&quot;widecolumn&quot;> <?php get_search_form(); ?> <section> <h2>Archives by Month:</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </section> <section> <h2>Archives by Subject:</h2> <ul> <?php wp_list_categories(); ?> </ul> </section> </div> <?php get_footer(); ?> Kubrick/default
  • 28. style.css /*SNIP!*/ /* Begin Structure */ body { margin: 0 0 20px 0; padding: 0; } /*HTML5*/ footer, section, article, aside, header, time { display:block; } #page { background-color: white; margin: 20px auto; padding: 0; width: 760px; border: 1px solid #959596; } #header /*SNIP!*/ Kubrick/default
  • 29. What’s the Diff? style.css
  • 30. style.css .borderradius.boxshadow.rgba #container #main article, .borderradius.boxshadow.rgba #container #main #posts > .meta-data, .borderradius.boxshadow.rgba #container #main #posts #no-results, .borderradius.boxshadow.rgba #container #main #posts .author { border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px; -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, .15); box-shadow: 0px 0px 5px rgba(0, 0, 0, .15); -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, .15); background:#fff; overflow: hidden; } AWiderNet
  • 32.
  • 34.

Notes de l'éditeur

  1. Note I didn’t use a &lt;section&gt; for the div id=content. It’s really just a generic container. If that was a section- the outline (which I’ll show you) would show “untitled section” because it’s not coupled with a header. The time element has a machine readable datetime attribute.
  2. Note I didn’t use a &lt;section&gt; for the div id=content. It’s really just a generic container. If that was a section- the outline (which I’ll show you) would show “untitled section” because it’s not coupled with a header. The time element has a machine readable datetime attribute.