<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    >

<channel>
    <title>Webmonkey &#187; HTML</title>
    <atom:link href="http://www.webmonkey.com/category/html/feed/" rel="self" type="application/rss+xml" />
    <link>http://www.webmonkey.com</link>
    <description>The Web Developer&#039;s Resource</description>
    <lastBuildDate>Mon, 06 May 2013 17:29:19 +0000</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=3.4.2</generator>
    
    <item>
        <title>The Very First Website Returns to the Web</title>
        <link>http://www.webmonkey.com/2013/04/the-very-first-website-returns-to-the-web/</link>
        <comments>http://www.webmonkey.com/2013/04/the-very-first-website-returns-to-the-web/#comments</comments>
        <pubDate>Tue, 30 Apr 2013 13:09:54 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=61742</guid>
        		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Basics]]></category>
		<category><![CDATA[history]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/04/WWW_logo_by_Robert_Cailliau_200_0-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/04/WWW_logo_by_Robert_Cailliau_200_0.jpg" alt="The Very First Website Returns to the Web" /></div>CERN has resurrected the very first webpage that Tim Berners-Lee and the WWW team ever put online, offering a hands-on look at the proto-web.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_61746" class="wp-caption alignleft" style="width: 230px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/04/WWW_logo_by_Robert_Cailliau_200_0.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2013/04/WWW_logo_by_Robert_Cailliau_200_0.jpg" alt="" title="WWW_logo_by_Robert_Cailliau_200_0" width="220" height="167" class="size-full wp-image-61746" /></a><p class="wp-caption-text">Robert Cailliau&#8217;s original WWW logo. <em>Image: <a href="http://first-website.web.cern.ch/">CERN</a></em>.</p></div>
<p>Twenty years ago today CERN <a href="https://cds.cern.ch/record/1164399">published a statement</a> that made the World Wide Web freely available to everyone. To celebrate that moment in history, CERN is bringing the very first website back to life at its original URL.</p>
<p>If you&#8217;d like to see the very first webpage Tim Berners-Lee and the WWW team ever put online, point your browser to <a href="http://info.cern.ch/hypertext/WWW/TheProject.html">http://info.cern.ch/hypertext/WWW/TheProject.html</a>. </p>
<p>For years now that URL has simply redirected to the root info.cern.ch site. But, because we all know <a href="http://www.w3.org/Provider/Style/URI.html">cool URIs don&#8217;t change</a>, CERN has brought it back to life. Well, sort of anyway. The site has been reconstructed from an archive hosted on the W3C site, so what you&#8217;re seeing is a 1992 copy of the first website. Sadly this is, thus far, the earliest copy anyone can find, though the team at CERN is hoping to turn up an older copy.</p>
<p>Be sure to view the source of the first webpage. You&#8217;ll find quite a few things about early HTML that have long since changed &#8212; like the use of <code>&lt;HEADER&gt;</code> instead of <code>&lt;HEAD&gt;</code> or the complete absence of a root <code>&lt;HTML&gt;</code> tag. There&#8217;s also a trace of Berners-Lee&#8217;s <a href="http://www.w3.org/People/Berners-Lee/WorldWideWeb.html">famous NeXT machine</a> in the <code>&lt;NEXTID N="55"&gt;</code> tag.</p>
<p>CERN has big plans for the original website, starting with bringing the rest of the pages back online. &#8220;Then we will look at the first web servers at CERN and see what assets from them we can preserve and share,&#8221; writes CERN&#8217;s Dan Noyes. &#8220;We will also sift through documentation and try to restore machine names and IP addresses to their original state.&#8221;</p>
<p>In the mean time, have a look at the web&#8217;s <a href="http://info.cern.ch/hypertext/WWW/Bugs.html">original todo list</a> and read more about <a href="http://markboulton.co.uk/journal/firstwebsite">the project to restore the first website</a> over on Mark Boulton&#8217;s blog.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/04/the-very-first-website-returns-to-the-web/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Simplify Responsive Design With ZURB&#8217;s &#8216;Foundation&#8217; Web Toolkit</title>
        <link>http://www.webmonkey.com/2013/03/simplify-responsive-design-with-zurbs-foundation-web-toolkit/</link>
        <comments>http://www.webmonkey.com/2013/03/simplify-responsive-design-with-zurbs-foundation-web-toolkit/#comments</comments>
        <pubDate>Thu, 07 Mar 2013 14:39:36 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=61187</guid>
        		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[UI/UX]]></category>
		<category><![CDATA[Visual Design]]></category>
		<category><![CDATA[Frameworks]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/03/foundation4-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/03/foundation4.jpg" alt="Simplify Responsive Design With ZURB&#8217;s &#8216;Foundation&#8217; Web Toolkit" /></div>Want to speed up the sometimes complicated process of responsive web design? Web development frameworks like ZURB's popular Foundation toolkit can help. The just-released Foundation 4 takes a mobile-first approach and uses SASS for more semantic code.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_61189" class="wp-caption alignnone" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/03/foundation4.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2013/03/foundation4.jpg" alt="" title="foundation4" width="580" height="358" class="size-full wp-image-61189" /></a><p class="wp-caption-text">Foundation 4. <em>Image: Screenshot/Webmonkey</em>.</p></div></p>
<p>ZURB has released a major new version of its popular <a href="http://foundation.zurb.com/">Foundation framework</a>, a web development toolkit for quickly building responsive websites. The new Foundation v4 is a ground-up re-write that sees ZURB taking a mobile-first approach.</p>
<p>Like its erstwhile competitor <a href="http://www.webmonkey.com/2012/10/bootstrap-framework-plans-to-give-twitter-the-boot/">Bootstrap</a>, Foundation offers a set of HTML and CSS building blocks you can use to quickly develop basic site structure and design &#8212; layouts, typography, forms and other common design elements are all available.</p>
<p>There are three ways you can <a href="http://foundation.zurb.com/">try out Foundation 4</a>. You can download the straight compressed CSS and use that as a starting point for your own customizations. Alternately you can customize your build of Foundation, including only the elements you need; or you can install the <a href="http://sass-lang.com/">SASS</a> version of Foundation and customize it within your SASS code.</p>
<p>If you&#8217;re upgrading from Foundation 3 be sure to read through <a href="http://foundation.zurb.com/migration.php">ZURB&#8217;s migration guide</a> as the syntax for the grid and other elements has changed.</p>
<p>The real power of Foundation 4 doesn&#8217;t really come into play unless you go with the SASS option. Thanks to SASS&#8217;s &#8220;<a href="http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#mixins">mixins</a>&#8221; concept you can now use the grid tools in Foundation 4 without littering your HTML with the various (purely presentational) grid class names. Using Foundation 4 within your SASS project also makes it dead simple to use only the components you need, for example, you can include the grid mixins, but skip the typography if it&#8217;s not to your liking.</p>
<p>Be aware that the new mobile-first approach in Foundation 4 means browsers which don&#8217;t support media queries will only get very basic styling for the grid and other UI elements. Yes, that pretty much only affects IE 8. But, if your project needs more robust support for IE 8, there is a <a href="http://foundation.zurb.com/migration.php">modified version of Foundation 4</a> with support for IE 8 (alternately, you could stick with Foundation 3).</p>
<p>It&#8217;s also worth noting that, because Foundation 4 is such a departure from the previous version, ZURB plans to continue supporting Foundation 3 for some time. </p>
<p>If you&#8217;ve got questions about Foundation 4, head on over to the official site and check out the <a href="http://foundation.zurb.com/docs/">documentation.</a> You can also <a href="https://github.com/zurb/foundation/">explore the code on GitHub</a> &#8212; Foundation is one of the top 20 most-starred projects on the site.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/03/simplify-responsive-design-with-zurbs-foundation-web-toolkit/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>DRM for the Web? Say It Ain&#8217;t So</title>
        <link>http://www.webmonkey.com/2013/02/drm-for-the-web-say-it-aint-so/</link>
        <comments>http://www.webmonkey.com/2013/02/drm-for-the-web-say-it-aint-so/#comments</comments>
        <pubDate>Tue, 12 Feb 2013 16:20:13 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60899</guid>
        		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[DRM]]></category>
		<category><![CDATA[video]]></category>
        <description><![CDATA[So far it still ain't so, but the W3C's HTML Working Group will indeed be considering the Encrypted Media Extensions proposal, an effort to bring locked down, DRM media to the web. ]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><img src="http://www.webmonkey.com/wp-content/uploads/2011/10/html5logo.jpg" />So far it ain&#8217;t so, but some form of DRM in HTML is becoming a more likely possibility every day. </p>
<p>The W3C&#8217;s HTML Working Group <a href="http://lists.w3.org/Archives/Public/public-html-admin/2013Feb/0122.html">recently decided</a> that a proposal to add DRM to HTML media elements &#8212; formally known as the <a href="https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media-fpwd.html">Encrypted Media Extensions proposal</a> &#8212; is indeed within its purview and the group will be working on it.</p>
<p>That doesn&#8217;t mean that the Encrypted Media Extensions proposal will become a standard as is, but it does up the chances that some sort of DRM system will make its way into HTML. </p>
<p>The Encrypted Media Extensions proposal &#8212; which is backed by the likes of Google, Microsoft, Netflix and dozens of other media giants &#8212; technically does not add DRM to HTML. Instead it defines a framework for bringing a DRM system, or &#8220;protected media content&#8221; as the current draft puts it, to the web.</p>
<p>If you think the idea of DRM seems antithetical to the inherently open nature of HTML, you&#8217;re not alone. Ian Hickson, former editor of the W3C&#8217;s HTML spec, has called the Encrypted Media Extensions proposal &#8220;unethical.&#8221; Hickson is no longer in charge of the W3C&#8217;s HTML spec, but HTML WG member Manu Sporny, has already <a href="http://manu.sporny.org/2013/drm-in-html5/">asked the WG not to publish the first working draft</a> because the &#8220;specification does not solve the problem the authors are attempting to solve.&#8221;</p>
<p>There are numerous problems with the Encrypted Media Extensions proposal, including the basic fact that, historically, <a href="http://www.defectivebydesign.org/">DRM doesn&#8217;t work</a>. </p>
<p>Other problems specific to the current draft of the proposal include the fact that it might well be <a href="http://www.webmonkey.com/2012/02/html-editor-calls-html5-video-copy-protection-proposal-unethical/">impossible for open source web browsers to implement</a> without relying on closed source components. Then there are the gaping security flaws that would make it trivially easy to defeat the currently defined system. </p>
<p>But Sporny raises a far more ominous objection &#8212; that the proposal in its current form does not actually define a DRM system. Instead it proposes a common API, which would most likely lead to a proliferation of DRM plugins. Here&#8217;s <a href="http://www.webmonkey.com/2012/02/html-editor-calls-html5-video-copy-protection-proposal-unethical/">Sporny&#8217;s take</a>:</p>
<blockquote>
<p>The EME specification does not specify a DRM scheme in the specification, rather it explains the architecture for a DRM plug-in mechanism. This will lead to plug-in proliferation on the Web. Plugins are something that are detrimental to inter-operability because it is inevitable that the DRM plugin vendors will not be able to support all platforms at all times. So, some people will be able to view content, others will not.</p>
</blockquote>
<p>That sounds a lot like the bad old days when you needed Flash, Real Player, Windows Media Player and dozens of other little plugins installed just to watch a video. </p>
<p>That&#8217;s a web no user wants to return to. </p>
<p>At the same time there continue to be companies which <a href="http://lists.w3.org/Archives/Public/public-html-admin/2013Feb/0153.html">believe DRM is essential to their bottom line</a> and the web offers no solution. That&#8217;s why Flash, Silverlight and other DRM-friendly plugins remain the media players of choice for many content providers.</p>
<p>So the question of DRM on the web boils down to this: should the W3C continue to work on a spec that defines some kind of DRM system or should the interested companies go off and do their own work? For its part the W3C clearly wants to be part of the process, though it remains unclear what, if any, value a standards-based DRM system might have for web users.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/02/drm-for-the-web-say-it-aint-so/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>&#8216;Main&#8217; Element Lands a Starring Role in HTML</title>
        <link>http://www.webmonkey.com/2013/02/main-element-lands-a-starring-role-in-html/</link>
        <comments>http://www.webmonkey.com/2013/02/main-element-lands-a-starring-role-in-html/#comments</comments>
        <pubDate>Mon, 04 Feb 2013 16:03:41 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60791</guid>
        		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Main]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/02/mainstar1-200x100.png" type="image/png" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/02/mainstar1.png" alt="&#8216;Main&#8217; Element Lands a Starring Role in HTML" /></div>HTML5 introduces a lot of new tags, but none of them help you indicate the main point of a webpage. The aptly named "main" element will change that. The proposed main element is now part of the HTML draft specification and you can use it today.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_60797" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/02/mainstar1.png"><img src="http://www.webmonkey.com/wp-content/uploads/2013/02/mainstar1.png" alt="" title="mainstar" width="580" height="352" class="size-full wp-image-60797" /></a><p class="wp-caption-text"><em>Original Image by <a href="https://secure.flickr.com/photos/christianhaugen/3556081167/in/photostream/">Christian Haugen/Flickr</a></em></p></div>HTML5 introduces several new tags that give HTML more semantic meaning. There&#8217;s <code>&lt;nav&gt;</code> for navigation elements, <code>&lt;header&gt;</code> for headers, <code>&lt;footer&gt;</code> for footers and now a new element has been <a href="http://www.w3.org/html/wg/drafts/html/master/grouping-content.html#the-main-element">added to the HTML draft spec</a> &#8212; <code>&lt;main&gt;</code>, to wrap around, well, the main content on a page.</p>
<p>As we reported back when the W3C&#8217;s HTML Working Group <a href="http://www.webmonkey.com/2012/12/proposed-main-element-would-help-html-get-to-the-point/">first considered adding it to the list of HTML elements</a>, the primary purpose of the main element is to map the <a href="http://www.w3.org/TR/wai-aria/roles#landmark_roles">WAI-ARIA landmark role</a> &#8220;main&#8221; to an HTML element. </p>
<p>Thanks to the hard work of developer <a href="http://www.paciellogroup.com/blog/author/admin/">Steve Faulkner</a>, who wrote up the <a href="http://www.w3.org/html/wg/wiki/User:Sfaulkne/main-usecases">proposal for <code>&lt;main&gt;</code></a> and did much of the hard work convincing the Working Group that it was worth adding to the spec, you can start using the main element today. In fact <code>&lt;main&gt;</code> is already natively supported in nightly builds of Firefox and Chrome.</p>
<p>There&#8217;s an ongoing debate as to whether more than one <code>&lt;main&gt;</code> element should be allowed on the page. Currently the W3C&#8217;s draft of the spec explicitly prohibits more than one <code>&lt;main&gt;</code> per page, but the WHATWG&#8217;s version of the spec is less specific. </p>
<p>It might sound counter-intuitive to have more than one <code>&lt;main&gt;</code> per page, but the argument is that the rest of the new block level tags have no such restrictions. In other words, there can be more than one <code>&lt;header&gt;</code>, more than one <code>&lt;footer&gt;</code> and more than one <code>&lt;nav&gt;</code> so why not more than one <code>&lt;main&gt;</code>? Developer Jeremy Keith has a post on <a href="http://adactio.com/journal/6014/">why more than one <code>&lt;main&gt;</code> could be a good idea</a>. [Update: There's also been some <a href="http://lists.w3.org/Archives/Public/public-html/2013Feb/thread.html#msg3">discussion on the HTML WG mailing list</a> and a call for <a href="http://lists.w3.org/Archives/Public/public-html/2013Feb/0007.html">supporting data</a>. As Steven Falkner notes in the comments below "the discussion continues, but at this stage there is no evidence that such a change will bring a benefit to users and may well complicate the usage of the feature and dilute its meaning and benefit for users."]</p>
<p>For now we suggest sticking to just one main element per page, which simplifies using <code>&lt;main&gt;</code>. Chances are you have something like <code>&lt;div id="main"&gt;</code> in your code right now. To use the new main element, just rewrite that to be <code>&lt;main role="main"&gt;</code>.</p>
<p>The <code>role="main"</code> may seem redundant, and someday it will be, but right now it acts as a polyfill for older web browsers, ensuring that they map the element to accessibility APIs. Older browsers will also need to be told about the element&#8217;s block level status with <code>main {display:block;}</code>. <a href="https://github.com/aFarkas/html5shiv/">HTML5 shiv</a>, a popular way to add support for the new elements to older browsers, has already been updated to support <code>&lt;main&gt;</code>.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/02/main-element-lands-a-starring-role-in-html/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Skip the Lists for a More Accessible Web</title>
        <link>http://www.webmonkey.com/2013/01/html-basics-do-menus-need-list-tags/</link>
        <comments>http://www.webmonkey.com/2013/01/html-basics-do-menus-need-list-tags/#comments</comments>
        <pubDate>Wed, 30 Jan 2013 19:45:36 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60750</guid>
        		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Basics]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2013/01/soupoftheday-tags-200x100.png" type="image/png" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/soupoftheday-tags.png" alt="Skip the Lists for a More Accessible Web" /></div>Long ago it was decided that website menus shall be marked up with HTML list elements. But that was long ago; now we have the new elements in HTML5. Developer Chris Coyier argues its time to ditch the lists and simplify your menu code.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_60752" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2013/01/soupoftheday-tags.png"><img src="http://www.webmonkey.com/wp-content/uploads/2013/01/soupoftheday-tags.png" alt="" title="soupoftheday-tags" width="580" height="395" class="size-full wp-image-60752" /></a><p class="wp-caption-text">Soupe du jour: tags. <em>Image: <a href="https://secure.flickr.com/photos/clogozm/3863502019/">clogozm/Flickr</a></em></p></div>Somewhere far in the web&#8217;s primordial past it was decided that the best way to mark up a menu in HTML was to use the unordered list element: <code>&lt;ul&gt;</code>. The vast majority of tutorials &#8211; if not all &#8211; you&#8217;ll ever see for creating navigation menus use the familiar list element structure, nesting links inside <code>&lt;li&gt;</code> tags. Menu plugins for WordPress and other popular publishing systems use lists for menus as well. Even the HTML5 spec uses an unordered list in its <a href="http://www.w3.org/html/wg/drafts/html/master/sections.html#the-nav-element"><code>&lt;nav&gt;</code> element examples</a>.</p>
<p>There is, as CSS-Tricks&#8217; Chris Coyier <a href="http://css-tricks.com/navigation-in-lists-to-be-or-not-to-be/">writes</a>, &#8220;no debate&#8221; about how menus should be marked up. But HTML5 adds the <code>&lt;nav&gt;</code> element and there&#8217;s also a <code>navigation</code> role in <a href="http://www.webmonkey.com/2011/01/styling-webpages-with-arias-landmark-roles/">WAI-ARIA</a> so should we still be using lists to mark up menus?</p>
<p>Coyier says no. He&#8217;s dropped lists from his <code>&lt;nav&gt;</code> elements and instead uses just links and span tags. Coyier cites a talk by Reinhard Stebner, who is blind, and suggests that with most screen readers the far better solution for menus is to use divs and spans for menus.</p>
<p>Be sure to read through Coyier&#8217;s post for some more data on why ditching the list might be a good idea and <a href="http://jimdoran.net/joy/webdesign/refresh-web-accessibility">check out Jim Doran&#8217;s write up on Stebner&#8217;s original talk</a>, which makes a distinction between <em>accessible</em> and <em>usable</em>. That is, a technically &#8220;accessible&#8221; site might still be a usability nightmare for some users.</p>
<p>However, as Mozilla&#8217;s Chris Heilmann points out in the comments of Coyier&#8217;s post, the problems lists cause in some screen readers are really a result of the sorry state of screen readers. &#8220;Screen readers are damn slow to update and vary immensely between different versions… I gave up a long time ago calling something accessible or not when it works in Jaws.&#8221;</p>
<p>Lists for menus have advantages over the div and span route, like some extra elements for styling and the fact that they render as, well, lists even in the absence of CSS.</p>
<p>What do you think? Are lists for menus a legacy workaround we no longer need in the day and age of <code>&lt;nav&gt;</code> and <code>role=&quot;navigation&quot;</code>? Or do they still offer enough advantages to keep using for menus?</p>
<p>For his part Coyier says he&#8217;s going to keep building list-free menus. &#8220;Until I see some solid research that suggests that&#8217;s dumb, I&#8217;m sticking to it,&#8221; he writes. &#8220;As always, the best would be to get more information from real screen reader users like Reinhard.&#8221;</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/01/html-basics-do-menus-need-list-tags/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Proposed &#8216;Main&#8217; Element Would Help Your HTML Get to the Point</title>
        <link>http://www.webmonkey.com/2012/12/proposed-main-element-would-help-html-get-to-the-point/</link>
        <comments>http://www.webmonkey.com/2012/12/proposed-main-element-would-help-html-get-to-the-point/#comments</comments>
        <pubDate>Tue, 11 Dec 2012 19:36:28 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60295</guid>
        		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[HTML5]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/12/point3-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/12/point3.jpg" alt="Proposed &#8216;Main&#8217; Element Would Help Your HTML Get to the Point" /></div>HTML5 introduces a lot of new tags, but none of them help you indicate the main point of a page. The aptly named "main" element would change that.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_60370" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2012/12/point3.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2012/12/point3.jpg" alt="" title="point" width="580" height="387" class="size-full wp-image-60370" /></a><p class="wp-caption-text"><em>Photo: <a href="https://secure.flickr.com/photos/horiavarlan/4268119107/" target="_blank">Horia Varlan</a>/Flickr</em></p></div></p>
<p>HTML5 has several new tags designed to make HTML more semantic &#8212; there&#8217;s <code>&lt;nav&gt;</code> for navigation elements, <code>&lt;header&gt;</code> for headers, <code>&lt;footer&gt;</code> for footers and now there just might be <code>&lt;main&gt;</code> to wrap around, well, the main content on a page.</p>
<p>The W3C&#8217;s HTML Working Group, which is charged with creating HTML, has <a href="http://lists.w3.org/Archives/Public/public-html/2012Nov/0232.html">accepted a proposal to add a draft specification for the <code>&lt;main&gt;</code> tag to HTML</a>. The actual HTML spec hasn&#8217;t been updated yet, but you can read through the earlier, <a href="https://dvcs.w3.org/hg/html-extensions/raw-file/tip/maincontent/index.html">unofficial <code>&lt;main&gt;</code> docs</a>.</p>
<p>The proposal has been around for some time, but former W3C HTML editor Ian Hickson opposed it on the grounds that its use case was too close to <code>&lt;article&gt;</code>. Since then the mailing list discussion has turned up enough supporters and use cases for a <code>&lt;main&gt;</code> element &#8212; including for a &#8220;reader&#8221; mode like that <a href="http://www.webmonkey.com/2010/06/safari-5s-reader-simplifies-the-web/">offered by Apple&#8217;s Safari</a>, or to exclude non-main content from a search &#8212; that it looks like it will make the cut (Update: <a href="http://www.w3.org/html/wg/wiki/User:Sfaulkne/main-usecases">check out this W3C wiki page</a> for more use cases).</p>
<p>It&#8217;s unlikely that <code>&lt;main&gt;</code> will make it into HTML5, which is about to reach the stable stage after which no new elements can be added, but it could make it to HTML 5.1, due to be finalized by 2016.</p>
<p>As Mozilla WHAT WG member Henri Sivonen <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-December/038219.html">writes</a> on that group&#8217;s mailing list, &#8220;I think it was unfortunate that didn’t make it to the same round of added elements as <code>&lt;header&gt;</code>, <code>&lt;footer&gt;</code>, <code>&lt;nav&gt;</code> and <code>&lt;aside&gt;</code>&#8230; but it&#8217;s not too late to add it &#8212; browsers update faster than they used to.&#8221;</p>
<p>The purpose behind <code>&lt;main&gt;</code> is to give web authors a more semantic way to indicate a page&#8217;s main content. In many ways it mirrors what <a href="http://www.webmonkey.com/2011/11/wai-aria-gets-ready-for-a-starring-role-in-html5/">WAI-ARIA does with the &#8220;main&#8221; role</a>.</p>
<p>In fact, because a <code>&lt;main&gt;</code> element would more or less bring the semantic power of ARIA&#8217;s <code>role=main</code> to HTML proper, you can get most of the benefits of the proposed <code>&lt;main&gt;</code> tag today, by just adding the &#8220;main&#8221; role to your primary content wrapper, something like:</p>
<pre class="brush: js">&lt;div role="main"&gt;
    &lt;article&gt;
        &lt;h1&gt;Top 10 Linkbait Headlines for Hacker News&lt;/h1&gt;
        &lt;time datetime="2012-12-11T03:21:22"&gt;December 11th, 2012&lt;/time&gt;
        &lt;p&gt;... etc &lt;/p&gt;
    &lt;/article&gt;
    &lt;div id="comments"&gt;
        &lt;article&gt;
            &lt;h5&gt;Comment Title&lt;/h5&gt;
            &lt;p&gt;Comment body&lt;/p&gt;
        &lt;/article&gt;
    &lt;/div&gt;
&lt;/div&gt;</pre>
<p>In this bit of pseudocode the main role tells the user agent &#8212; a web browser, search engine spider, etc. &#8212; that the primary content of the page is the article and the ensuing discussion in the comments.</p>
<p>So if you can do it already with ARIA why add <code>&lt;main&gt;</code>? The simple truth is that hardly any sites use ARIA roles. Because <code>&lt;main&gt;</code> is simple to use, web developers are more likely to use it and use it correctly (try searching for tutorials on how and when to use <code>&lt;article&gt;</code> and <code>&lt;section&gt;</code> to see the opposite effect), which in turn makes it a more reliable indicator for search engine spiders.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/12/proposed-main-element-would-help-html-get-to-the-point/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>GitHub&#8217;s Tips for Building Faster Websites</title>
        <link>http://www.webmonkey.com/2012/12/githubs-tips-for-building-faster-websites/</link>
        <comments>http://www.webmonkey.com/2012/12/githubs-tips-for-building-faster-websites/#comments</comments>
        <pubDate>Mon, 10 Dec 2012 19:24:38 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60271</guid>
        		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Performance]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/12/wm_w.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/12/wm_w.jpg" alt="GitHub&#8217;s Tips for Building Faster Websites" /></div>Want to make your webpages load faster? Take a tip from GitHub -- just a few small changes to your HTML and CSS can make a huge difference in performance.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><iframe src="http://player.vimeo.com/video/54990931?portrait=0&amp;badge=0&amp;color=95cd28" width="580" height="435" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> </p>
<p>Social code hosting service GitHub isn&#8217;t just a free, easy way to host and share your code; it&#8217;s also a huge CSS and HTML testing ground with experience writing a fast, scalable code. </p>
<p>So what has GitHub learned from running a hugely successful site? That surprisingly small changes to both HTML and CSS can have a huge impact on performance.</p>
<p>GitHub&#8217;s Jon Rohan gave a talk about some of the service&#8217;s performance problems and solutions at the CSS Dev Conference in Honolulu earlier this year. (The slides are <a href="https://speakerdeck.com/jonrohan/githubs-css-performance">available on Speaker Deck</a>.) The whole video is worth watching, but the key takeaway is that the right small changes in your code can have a huge impact on performance.</p>
<p>Many of Rohan&#8217;s suggestions for faster CSS will be familiar to anyone who&#8217;s used YSlow and other performance tools &#8212; get rid of unnecessary tag identifiers in your CSS, i.e., <code>div.menu</code> becomes just <code>.menu</code>, eliminate ancestors where possible and avoid chaining your CSS selectors.</p>
<p>On the HTML side &#8212; and Rohan says it&#8217;s here that GitHub really saw performance improvements &#8212; he suggests reducing the amount of matched HTML on the page. That is, look at your pages in a profiler, figure out which tags are being matched and look for ways to simplify the layout to avoid bottlenecks. Among the more depressing things Rohan presents is how much the page load times dropped with switching from anchor links to a JavaScript solution that, while faster, is considerably less accessible.</p>
<p>GitHub is undeniably different than most websites &#8212; especially pages like the Git diff views, which involve considerably more code than most pages will need. But, while GitHub may be the extreme example, in many cases the same small changes can help speed up much simpler pages as well. </p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/12/githubs-tips-for-building-faster-websites/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>&#8216;Tis the Season &#8230; To Write Better Code</title>
        <link>http://www.webmonkey.com/2012/12/tis-the-season-to-write-better-code/</link>
        <comments>http://www.webmonkey.com/2012/12/tis-the-season-to-write-better-code/#comments</comments>
        <pubDate>Tue, 04 Dec 2012 18:37:29 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60172</guid>
        		<category><![CDATA[APIs]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tutorials]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/12/advent-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/12/advent.jpg" alt="&#8216;Tis the Season &#8230; To Write Better Code" /></div>Get into the holiday spirit with advent calendars for web nerds -- 24 tutorials to tide you through the holiday season.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_60173" class="wp-caption alignleft" style="width: 235px"><img src="http://www.webmonkey.com/wp-content/uploads/2012/12/advent.jpg" alt="" title="advent" width="225" height="300" class="size-full wp-image-60173" /><p class="wp-caption-text"><em>Image: <a href="http://www.instructables.com/image/FO0Y4APFOHTTVO7">Instructables, Altoids Advent Calendar/CC</a></em>.</p></div>
<p>The holidays are here and for web nerds that means only one thing &#8212; another wave of advent tutorials is hitting the web.</p>
<p>It doesn&#8217;t feel much like winter right now at the Webmonkey lair, but that&#8217;s okay because we mark the start of the holiday season by the launch of <a href="http://24ways.org/2012/" target="_blank">24Ways</a>, the grand poobah of advent calendars for web nerds. 24Ways has been an annual tradition since 2005, offering 24 articles packed with new tips and tricks showcasing some of the year&#8217;s best new ideas in web development.</p>
<p>This year&#8217;s 24Ways kicked off with a tutorial on <a href="http://24ways.org/2012/html5-video-bumpers/" target="_blank">HTML5 Video &#8220;Bumpers&#8221;</a> by 24Ways founder Drew McLellan. Other articles thus far include how to <a href="http://24ways.org/2012/starting-your-project-on-the-right-foot/" target="_blank">start a project on the right foot</a>, how to <a href="http://24ways.org/2012/being-prepared-to-contribute/" target="_blank">contribute code to the community</a> and Geri Coady&#8217;s excellent article on <a href="http://24ways.org/2012/colour-accessibility/" target="_blank">Color Accessibility</a>.</p>
<p>While 24Ways may be the biggest name in advent tutorials, it&#8217;s not lacking for competition these days. We also recommend the <a href="http://calendar.perfplanet.com/2012/" target="_blank">Performance Calendar</a>, which tackles the often confusing world of website optimization. There&#8217;s also <a href="http://advent2012.digitpaint.nl/" target="_blank">Digitpaint&#8217;s advent calendar</a> which we enjoyed last year and has already published some nice articles this year, including this <a href="http://advent2012.digitpaint.nl/4/" target="_blank">look at CSS filters</a>.</p>
<p>If you&#8217;re missing another favorite, the PHP Advent Calendar, fear not, it has returned, but with a new name and domain: PHP Advent is now <a href="http://webadvent.org/2012/">Web Advent</a>. The name may have changed, but Web Advent offers similarly great content, like this article on <a href="http://webadvent.org/2012/the-gift-of-sharing-what-you-know-by-heather-payne" target="_blank">Sharing What You Know</a> by Heather Payne, the founder of <a href="http://ladieslearningcode.com/" target="_blank">Ladies Learning Code</a>.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/12/tis-the-season-to-write-better-code/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Bootstrap Framework Plans to Give Twitter the Boot</title>
        <link>http://www.webmonkey.com/2012/10/bootstrap-framework-plans-to-give-twitter-the-boot/</link>
        <comments>http://www.webmonkey.com/2012/10/bootstrap-framework-plans-to-give-twitter-the-boot/#comments</comments>
        <pubDate>Thu, 04 Oct 2012 17:33:13 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=59387</guid>
        		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Visual Design]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/10/boot-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/10/boot.jpg" alt="Bootstrap Framework Plans to Give Twitter the Boot" /></div>Twitter's Bootstrap framework for web developers is flying the coop, headed off on a new life of its own. Right now nothing is changing, but the developers behind Bootstrap are leaving Twitter and plan to spin the Bootstrap project out into its own open source organization.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_59389" class="wp-caption alignleft" style="width: 290px"><a href="http://www.webmonkey.com/wp-content/uploads/2012/10/boot.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2012/10/boot.jpg" alt="" title="boot" width="280" height="216" class="size-full wp-image-59389" /></a><p class="wp-caption-text"><em>Image: <a href="http://www.flickr.com/photos/22928412@N05/4485971861/">vinylsoda89/Flickr</a></em>.</p></div>
<p>Web development toolkit <a href="http://twitter.github.com/bootstrap/">Bootstrap</a> is getting ready to part ways with Twitter. The open source project began life at Twitter, but with its two primary developers leaving Twitter for other companies, Bootstrap will be spun off on its own.</p>
<p>Bootstrap co-creators Mark Otto and Jacob Thornton are both leaving Twitter and have announced that <a href="http://blog.getbootstrap.com/2012/09/29/onward/">Bootstrap will continue</a> but as &#8220;its own open source organization.&#8221; For now nothing is changing; Bootstrap will remain a Twitter project on GitHub. But eventually the pair plan to give Bootstrap a life of its own.</p>
<p>The Bootstrap project is designed to help you get your website up and running as fast as possible. Somewhere between a framework and a &#8220;theme,&#8221; Bootstrap offers an HTML, CSS and JavaScript base for your designs, including built-in forms, buttons, tables, grids and navigation elements. Among Bootstrap’s more impressive tricks is the grid layout tool with support for advanced features like nested and offset columns. Bootstrap is also impressively lightweight, weighing in a just 10kb (gzipped).</p>
<p>Bootstrap 2.0, <a href="http://www.webmonkey.com/2012/01/twitter-adds-responsive-grid-to-bootstrap-2-0/">released earlier this year</a>, added some much-needed responsive design tools for creating fluid layouts, including a new flexible 12-column grid system. </p>
<p>The move away from Twitter should be good news for Bootstrap users, particularly with Twitter&#8217;s <a href="http://www.webmonkey.com/2012/07/its-time-build-a-twitter-free-twitter/">increasingly hostile</a> attitude toward developers. Otto assures anyone worried that Bootstrap will become abandonware that both he and Thornton are dedicated to Bootstrap. &#8220;The project has grown beyond us and the Twitter brand,&#8221; writes Otto on the Bootstrap blog. &#8220;It&#8217;s a huge project playing a pretty awesome role in the web development industry, and we&#8217;re excited to see it continue to grow.&#8221;</p>
<p>To see some real-world examples of what you can do with Bootstrap, head on over to the unofficial showcase, <a href="http://builtwithbootstrap.com/">Built with Bootstrap</a> on Tumblr.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/10/bootstrap-framework-plans-to-give-twitter-the-boot/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>W3C Names Four New HTML Editors</title>
        <link>http://www.webmonkey.com/2012/07/w3c-names-new-html-editors/</link>
        <comments>http://www.webmonkey.com/2012/07/w3c-names-new-html-editors/#comments</comments>
        <pubDate>Mon, 30 Jul 2012 16:27:57 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=58101</guid>
        		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[WHATWG]]></category>
        <description><![CDATA[How many editors does it take to change a web standard? As it happens, four. Yes, the W3C has named four replacement editors for its temporarily-editor-less HTML5 specification. Perhaps most surprising, two of the four are Microsoft employees.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><img src="http://www.webmonkey.com/wp-content/uploads/2011/01/html5logo.jpg" />The World Wide Web Consortium (W3C) has named four new editors of the HTML5 spec to <a href="http://www.webmonkey.com/2012/07/html-groups-part-ways/">replace departing editor Ian Hickson</a>.</p>
<p>The W3C&#8217;s HTML Working Group co-chair Paul Cotton announced the four-way editorship in a <a href="http://lists.w3.org/Archives/Public/public-html/2012Jul/0183.html">e-mail to the W3C&#8217;s public HTML mailing list</a>.</p>
<p>The four new editors include two Microsoft employees, Travis Leithead and Erika Doyle Navara, Apple&#8217;s Ted O&#8217;Conner and Silvia Pfeiffer of Ginger Technologies, a company specializing in HTML video. </p>
<p>&#8220;The Chairs received a large number of applications for the position of HTML5 editor,&#8221; writes Cotton. &#8220;After evaluating all the applications, we chose the above HTML5 editorial team based on the individual qualifications of the new editors as well as the combination of the individual appointee&#8217;s qualifications.&#8221;</p>
<p>The heavy representation of Microsoft is interesting given that Microsoft is not currently a member of the Web Hypertext Application Technology Working Group (WHATWG), the other standards body that oversees HTML. It would seem that Microsoft is doubling down on the W3C version of HTML.</p>
<p>The editor change is part of <a href="http://www.webmonkey.com/2012/07/html-groups-part-ways/">the recent split</a> that sees the two standards bodies jointly responsible for developing the HTML specification, moving in different directions.</p>
<p>The W3C and the WHATWG have long acted as separate bodies, but previously shared an editor, Ian Hickson, who helped ensure that the two specs remained in sync. Then last year the WHATWG announced it was <a href="http://www.webmonkey.com/2012/07/html-groups-part-ways/">dropping the &#8220;5&#8243; version number</a> and would work on HTML as a &#8220;living standard&#8221; sans version numbers. The W3C continued to focus on HTML &#8220;snapshots&#8221; like HTML5.</p>
<p>&#8220;The WHATWG effort is focused on developing the canonical description of HTML,&#8221; <a href="http://lists.w3.org/Archives/Public/public-whatwg-archive/2012Jul/0119.html">wrote</a> when he stepped down as W3C editor last week. &#8220;The W3C effort, meanwhile, is now focused on creating a snapshot developed according to the venerable W3C process.&#8221;</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/07/w3c-names-new-html-editors/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    </channel>
</rss>
