<?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>larryaronson.com &#187; HTML</title>
	<atom:link href="http://larryaronson.com/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://larryaronson.com</link>
	<description>Systems Psychoanalyst</description>
	<lastBuildDate>Wed, 14 Dec 2011 04:17:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>15 HTML5 FAQs</title>
		<link>http://larryaronson.com/2011/15-html5-faqs/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://larryaronson.com/2011/15-html5-faqs/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 14:34:41 +0000</pubDate>
		<dc:creator>Larry Aronson</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[HMTL5 shim]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Modernizer]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[W3C]]></category>

		<guid isPermaLink="false">http://larryaronson.com/?p=1818</guid>
		<description><![CDATA[<img class="alignleft size-thumbnail wp-image-1851" title="fifteen" src="http://larryaronson.com/wp-content/uploads/fifteen.jpeg" alt="" width="80" height="56" />A lot of people are curious about HTML5 but few really understand what it's about and many have misconceptions about it. Here are 15 frequently asked questions about HTML5 with my short answers. ]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1851" title="fifteen" src="http://larryaronson.com/wp-content/uploads/fifteen.jpeg" alt="" width="240" height="169" />Since the publication of <a href="http://larryaronson.com/2010/html-manual-of-style/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><cite>HTML Manual of Style</cite></a>, I&#8217;ve attended a number of meetups and participated in a few forums to promote the book. While a lot of people are curious about HTML5, few really understand what it&#8217;s about and many have misconceptions.  So, I&#8217;ve collected 15 frequently asked questions about HTML5 along with my short answers in an effort to clear up some of the confusion. Click on a question to toggle open/close its answer.</p>
<div style="font-size: 95%; background-color: #f7f7f7; margin: .5em; padding: .5em;">
<ol>
<li>
<h3><a onclick="$('#a01').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Is HTML5 is the new standard for creating Web pages?</a></h3>
<p id="a01">Not Quite. HTML5 is a <a href="http://www.w3.org/TR/html5/" target="_blank">draft proposal</a> for a standard that will eventually be submitted to international standards organizations which may adopt HTML5 as a standard or may choose to adopt a competing proposal. Right now there&#8217;s no serious contender to HTML5 and all of the big players: Apple, Google, Mozilla, Microsoft and Adobe are behind it, so it is becoming the de-facto standard. However, it is still early in the process. The <a href="http://www.w3.org/" target="_blank">World Wide Web Consortium</a> (W3C) expects to finalize the draft and start the process of final review and requests for comments in 2012. Final acceptance as a standard will happen several years after that.</p>
</li>
<li>
<h3><a onclick="$('#a02').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Is HTML5 a new technology?</a></h3>
<p id="a02">No. It&#8217;s an extension of existing HTML, adding new elements to the set recognized by HTML4 level browsers and removing some of the restrictions of xhtml.</p>
</li>
<li>
<h3><a onclick="$('#a03').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">How does HTML5 affect my existing HTML4 website?</a></h3>
<p id="a03">It doesn&#8217;t. The HTML5 specifications require browser makers to support valid HTML4 web pages. You should update your HTML editing tools when new versions are available. If your web pages require a diet of strict xhtml, you should validate any third-party HTML5 code to one of the xhtml standards before embedding that code into your own pages.</p>
</li>
<li>
<h3><a onclick="$('#a04').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">What is new about HTML5?</a></h3>
<p id="a04">Several things. The biggest change is that HTML5 documents are explicitly recognized as interactive applications. Every document element in HTML5 has a corresponding JavaScript API that describes how that element should behave in response to user actions and other events.</p>
</li>
<li>
<h3><a onclick="$('#a05').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Are there new HTML5 tags?</a></h3>
<p id="a05">Yes, there are new HTML5 elements that provide richer semantic descriptions of documents: <span style="font-family: courier new,courier;">section</span>, <span style="font-family: courier new,courier;">article</span>, <span style="font-family: courier new,courier;">header</span>, <span style="font-family: courier new,courier;">hgroup</span>, <span style="font-family: courier new,courier;">footer</span>, <span style="font-family: courier new,courier;">aside</span> and <span style="font-family: courier new,courier;">nav</span>; new media elements: <span style="font-family: courier new,courier;">audio</span>, <span style="font-family: courier new,courier;">video</span> and <span style="font-family: courier new,courier;">canvas</span>; new form input types: <em>email</em>, <em>url</em>, <em>number</em> <em>range</em> and <em>search</em>; and a bunch of new element attributes.</p>
</li>
<li>
<h3><a onclick="$('#a06').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Have any HTML elements changed their meaning or how they are used?</a></h3>
<p id="a06">Yes, but not many. The <span style="font-family: courier new,courier;">small</span> element, which in HTML4 has no semantic value—it just means make the text smaller—is used in HTML5 to markup disclaimers, legal notices and the like—the small print. The <span style="font-family: courier new,courier;">anchor</span> element, which creates hyperlinks, can now enclose any other elements excluding other links and buttons. In HTML4, the anchor was strictly an inline element.</p>
</li>
<li>
<h3><a onclick="$('#a07').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Are there things in HTML4 that are not in HTML5?</a></h3>
<p id="a07">Yes, but only a handful of elements and these are not really gone; they are just marked as <em>obsolete</em>. Browser makers can continue to support these elements in their new versions and most will. Among the elements marked as obsolete in HTML5 are: <span style="font-family: courier new,courier;">frame</span>, <span style="font-family: courier new,courier;">frameset</span>, <span style="font-family: courier new,courier;">big</span>, <span style="font-family: courier new,courier;">center</span>, <span style="font-family: courier new,courier;">font</span>, <span style="font-family: courier new,courier;">strike</span>, <span style="font-family: courier new,courier;">acronym</span>, <span style="font-family: courier new,courier;">applet</span>, <span style="font-family: courier new,courier;">isindex</span> and <span style="font-family: courier new,courier;">dir</span>.</p>
</li>
<li>
<h3><a onclick="$('#a08').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">What exactly is HTML5 Video?</a></h3>
<p id="a08">Nothing, really. The term <em>HTML5 video</em> is used to differentiate the playing of a video directly by a browser encountering a web page&#8217;s <span style="font-family: courier new,courier;">video</span> element, as opposed to being played by a third-party browser plugin via an <span style="font-family: courier new,courier;">object</span> or <span style="font-family: courier new,courier;">embed</span> element. There is nothing intrinsic about any video that makes it HTML5-ish as opposed to Flash-ish. The distinction is entirely a matter of how the a web page is coded to present the video.</p>
</li>
<li>
<h3><a onclick="$('#a09').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Is HTML5 video better than Flash video?</a></h3>
<p id="a09">Yes, but not in terms of video quality which is a function of how the video data is encoded. HTML5 video is better because the <span style="font-family: courier new,courier;">video<em> </em></span>element can interact with other elements on the page and can be styled using CSS. Also, HTML5 video should use less resources because it is built into the browser.</p>
</li>
<li>
<h3><a onclick="$('#a10').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Will HTML5 kill Adobe&#8217;s Flash?</a></h3>
<p id="a10">Nope, Flash will be around for a long time. As a media player, Flash accommodates digital rights management (DRM) which hasn&#8217;t been addressed in the HTML5 specs. As an applications platform, Flash has a large, installed base in corporate environments where there&#8217;s no compelling rationale for rewriting working applications in HTML5. For new applications, HTML5 has advantages over Flash: content is better exposed to search engines, there&#8217;s complete integration with other document elements, no plugins are required and HTML5 tools are free.</p>
</li>
<li>
<h3><a onclick="$('#a11').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Is HTML5 is a threat to Microsoft?</a></h3>
<p id="a11">No. Microsoft embraces HTML5. The IE9 beta has received high marks for its HTML5 support. Silverlight is not the only path to interactivity in Redmond.</p>
</li>
<li>
<h3><a onclick="$('#a12').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Is HTML5 ready for prime time?</a></h3>
<p id="a12">Some of it is and some of it isn&#8217;t. New HTML5 semantic elements have good support in all modern browsers, including IE if an <a href="http://code.google.com/p/html5shim/" target="_blank">HTML5 shim</a> or the <a href="http://www.modernizr.com/" target="_blank">Modernizer JavaScript library</a> is loaded into a web page. The <span style="font-family: courier new,courier;">audio</span>, <span style="font-family: courier new,courier;">video</span> and <span style="font-family: courier new,courier;">canvas</span> elements are not supported in Internet Explorer yet, but these elements are designed to gracefully fail and fallback to other technologies, like Flash and Silverlight, in legacy browsers. Other technologies that are associated with HTML5 such as Mathematical Markup Language (MathML), Scalable Vector Graphics (SVG), Web Sockets, Web Storage and Geo-location have only limited support in the current crop of browsers.</p>
</li>
<li>
<h3><a onclick="$('#a13').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">Where can I get an HTML5 browser?</a></h3>
<p id="a13"><a href="http://www.opera.com/" target="_blank">Opera</a>, <a href="http://www.google.com/chrome/" target="_blank">Chrome</a> and <a href="http://www.apple.com/safari/" target="_blank">Safari</a> provide pretty solid support for HTML5 in their current versions including their browsers for iPhones, iPads and Droids. Firefox&#8217;s support for HTML5 is weak in its current version (3.6) but quite robust in the Firefox4 public beta.</p>
</li>
<li>
<h3><a onclick="$('#a14').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">What about Internet Explorer?</a></h3>
<p id="a14">Internet Explorer is late to the HTML5 party. There&#8217;s no HTML5 support in IE8 or previous versions. However, adding a JavaScript library such as <a href="http://code.google.com/p/html5shim/" target="_blank">Google&#8217;s HTML5 shim</a> or <a href="http://www.modernizr.com/" target="_blank">Modernizer</a> enables IE 6, 7 &amp; 8 to recognize the new semantic level elements so they can be styled with CSS. HTML5 support is good in the beta version of IE9 which is available for Windows Vista and Seven users. Unfortunately, the Windows 7 mobile browser is built largely on the IE7 code base.</p>
</li>
<li>
<h3><a onclick="$('#a15').toggle('slow')" href="javascript:void(0)#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">What is an HTML5 application?</a></h3>
<p id="a15">There are several new capabilities in HTML5 which directly address the need for creating interactive applications. Of course, HTML has had interactive capabilities since its early days with text-based input forms and HMTL5 expands these with new input types. New capabilities include page and session-based data storage in the user&#8217;s browser, Web sockets for inter-application communications, and a drawing environment,  the <span style="font-family: courier new,courier;">canvas</span> element, for creating and manipulating image data.</p>
</li>
</ol>
</div>
<p>
<script type="text/javascript">// <![CDATA[
$(document).ready(function () {$('#a01,#a02,#a03,#a04,#a05,#a06,#a07,#a08,#a09,#a10,#a11,#a12,#a13,#a14,#a15').hide('slow');} )
// ]]&gt;</script></p>
]]></content:encoded>
			<wfw:commentRss>http://larryaronson.com/2011/15-html5-faqs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTML Manual of Style</title>
		<link>http://larryaronson.com/2010/html-manual-of-style/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://larryaronson.com/2010/html-manual-of-style/#comments</comments>
		<pubDate>Mon, 01 Nov 2010 15:49:11 +0000</pubDate>
		<dc:creator>Larry Aronson</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Addison-Wesley]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[InformIT]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Pearson Higher Education]]></category>

		<guid isPermaLink="false">http://larryaronson.com/?p=1607</guid>
		<description><![CDATA[The HTML Manual of Style is a clear, concise reference for Hypertext Markup Language, including the exciting new features of HTML5, CSS3 and JavaScript. It is intended as a guide for content creators and Web developers who wish to  create webpages pleasing to people and search robots. The book contains dozens of examples of HTML [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://larryaronson.com/wp-content/uploads/HTML-Manual-of-Style_504×648.jpg#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-medium wp-image-1657" title="HTML Manual of Style" src="http://larryaronson.com/wp-content/uploads/HTML-Manual-of-Style_504×648-248x320.jpg" alt="HTML Manual of Style front cover" width="248" height="320" /></a><cite>The HTML Manual of Style</cite> is a clear, concise reference for Hypertext Markup Language, including the exciting new features of HTML5, CSS3 and JavaScript.</p>
<p>It is intended as a guide for content creators and Web developers who wish to  create webpages pleasing to people and search robots.</p>
<p>The book contains dozens of examples of HTML techniques to add style to any website. Plus, an entire chapter is devoted to using HTML on blog posts, eBay selling pages, Google Docs, Wikipedia articles and in email marketing.</p>
<p>This edition, published by Addison-Wesley, is the fourth edition of <cite>HTML Manual of Style</cite> originally published by Ziff-Davis Press in 1994.</p>
<h3>Links to <cite>HTML Manual of Style</cite> pages on the Web.</h3>
<ul>
<li>
<p><a href="http://www.pearsonhighered.com/educator/product/HTML-Manual-of-Style-A-Clear-Concise-Reference-for-Hypertext-Markup-Language-including-HTML5-Fourth-Edition/9780321712080.page">Pearson Higher Education / Addison-Wesley</a> – My publisher</p>
</li>
<li>
<p><a href="http://www.informit.com/store/product.aspx?isbn=0321712080">InformIT</a> – Look for my articles on HTML5</p>
</li>
<li>
<p><a href="http://www.amazon.com/gp/product/0321712080?ie=UTF8&amp;tag=larryaronson&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0321712080">Amazon.com</a> – get the <a href="http://www.amazon.com/HTML-Manual-Style-Reference-ebook/dp/B0043GVZE2/ref=tmm_kin_title_0?ie=UTF8&amp;m=AG56TWVU5XWC2">Kindle Edition:</a> $9.99!</p>
</li>
<li>
<p><a href="http://my.safaribooksonline.com/9780321712301">Safari Books Online</a> – Download selected chapters</p>
</li>
<li>
<p><a href="http://www.softpro.com/0-321-71208-0.html">SoftPro Books</a> – Yet another bookseller.</p>
</li>
<li>
<h4><a href="http://www.facebook.com/pages/HTML-Manual-of-Style/172910806057330"><cite></cite>Facebook page</a> – a work in progress.<span style="font-size: small;"></span></h4>
</li>
<li>
<p><a href="http://twitter.com/HTML5pro/">Follow @HTML5pro on Twitter</a> – My alter ego.</p>
</li>
</ul>
<hr />
]]></content:encoded>
			<wfw:commentRss>http://larryaronson.com/2010/html-manual-of-style/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why Knowing HTML Matters</title>
		<link>http://larryaronson.com/2009/why-knowing-html-matters/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://larryaronson.com/2009/why-knowing-html-matters/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 19:57:37 +0000</pubDate>
		<dc:creator>Larry Aronson</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[robots]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://larryaronson.com/?p=672</guid>
		<description><![CDATA[Thinking of starting a Website to publish your thoughts or promote your business? While you can create "a site in just minutes – No HTML necessary!", knowing the basics of the Web's markup language and how it provides information to search robots about your site, influencing your site's ranking, will give you an edge in building your online business.]]></description>
			<content:encoded><![CDATA[<p>Thinking of starting a Website to publish your thoughts, promote your business, provide a service, or connect with friends? &#8220;It&#8217;s easy,&#8221; uh-huh, &#8220;It&#8217;s free; No HTML necessary!&#8221; Yeah, right.</p>
<p>Well&#8230;, yes, that is right. Easy because services exists that create usable websites using templates and wizards friendly enough  for the Internet illiterate.  And free – or at least it&#8217;s free in the sense of approaching zero initial software cost. But, in order for your website to grow, you&#8217;re going to need that technical knowledge, HTML, to keep your content publishing costs under control.</p>
<p>How amazing it is that we can create and globally distribute content, on zillions of Web pages, to inform and entertain ourselves without moving physical stuff anywhere! The Web page is irrevocably becoming the World&#8217;s most common form of communication. It&#8217;s the lowest cost replacement for articles, pamphlets, brochures, manuals, directories, flyers, commercials, letters, announcements—almost any kind of document you can think of. The Web does this instantly, adding interactivity, links and searching as a bonus!!</p>
<p>But here&#8217;s the problem: By doing so much for so many, the Web has become irreducibly complex. It&#8217;s also rapidly evolving. The learning curve never gets any less steep and climbing it is <span style="text-decoration: underline;">not</span> easy. There just is so much to know about and we all know that even just knowing about what to know ain&#8217;t easy.</p>
<h3>Content Is Kingdom</h3>
<p><a href="http://larryaronson.com/wp-content/uploads/Keys.jpg#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignleft size-full wp-image-695" title="Keys to the Kingdom" src="http://larryaronson.com/wp-content/uploads/Keys.jpg" alt="Keys to the Kingdom" width="119" height="146" /></a>For many small website owners, creating and maintaining their own content is paramount. So Web editing tools are the keys to the content kingdom. There are two choices: using a wysiwyg editor on a local PC, downloading and uploading files; or using a Web-based editor to edit content directly on a webserver. The former approch allows you to create Web pages rich in structure and interactivity. The latter is easier by far and can be done anywhere you browse the Web. Unfortunately Web-based wysiwyg editors are rather puny and often frustrating to use when the content has any structure or is already marked up with HTML from another source like Microsoft Word. Knowing HTML helps you avoid many of problems and resolve others before they frustrate, no matter which editing method is used.</p>
<p>When <a href="http://en.wikipedia.org/wiki/Tim_berners-lee" target="_blank">Tim Berners-Lee</a> invented the Web about twenty years ago, he thought that most HTML would be written by software programs. How did that work out? You might ask. Not very well, actually. One of the Web&#8217;s great strengths – a dictate that browsers must gracefully tolerate crappy code – is also a weakness. The early browsers; Mosaic, Netscape, AOL and Internet Explorer, went to war competing for market share by introducing new elements into the HTML language. The people writing wysiwyg editors couldn&#8217;t keep up with the rapid pace of HTML development, delivering mediocre products that generated bad code, while competition among Web designers to create unique and compelling pages encouraged  advanced HTML techniques beyond the capabilities of the wysiwyg editors.</p>
<h3>The Rise Of The Robots</h3>
<p>It&#8217;s 2009 and although they look much like their counterparts of a dozen years ago, Web pages are coded quite differently in this century. For one thing, good cross-browser support for <a href="http://www.w3.org/Style/CSS/" target="_blank">Cascading Style Sheets</a> (CSS) make it possible to code Web pages with far less HTML markup. Also, a large proportion of Web pages are dynamically generated using HTML templates. These templates are bits of code that may be reused millions of times a day so there&#8217;s high value in using the cleanest, leanest HTML markup possible.</p>
<p><a href="http://larryaronson.com/wp-content/uploads/robbyvb9web.jpg#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignright size-thumbnail wp-image-690" title="Robots" src="http://larryaronson.com/wp-content/uploads/robbyvb9web-146x150.jpg" alt="Robots" width="146" height="150" /></a>By far the biggest change is the rise of search technologies and the role that today&#8217;s search platforms: <a href="http://www.google.com" target="_blank">Google</a>, <a href="http://www.yahoo.com" target="_blank">Yahoo</a>, <a href="http://www.bing.com/" target="_blank">Bing</a> and others, play in our experience of the Web. A modern Website seeks to increase its find-ability and raise its search engine ranking. These requirements has spawned a new business practice called Search Engine Optimization (SEO). Companies providing SEO services specialize in writing HTML that&#8217;s very easy for the search engines&#8217; automated scripts (the robots) to understand.</p>
<p>This is Web 2.0, where websites continually exchange information with other websites and where what other websites &#8220;know&#8221; and &#8220;think&#8221; about your website can be as important as your site&#8217;s content. Knowing the basics of HTML, how it works to add semantic information to page elements and how that information is gathered and used by robots  will give you an edge in meeting your online goals.</p>
]]></content:encoded>
			<wfw:commentRss>http://larryaronson.com/2009/why-knowing-html-matters/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>BUTCH and Harold Update</title>
		<link>http://larryaronson.com/2008/butch-harold-update/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://larryaronson.com/2008/butch-harold-update/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 17:18:01 +0000</pubDate>
		<dc:creator>Larry Aronson</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[butch]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Flock]]></category>
		<category><![CDATA[harold]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[peel]]></category>
		<category><![CDATA[stick]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://larryaronson.com/?p=92</guid>
		<description><![CDATA[<img class="left" src="/wp-content/uploads/butchandharold.jpg" width="75" height="75" />I just complete a major update to the Butch and Harold Website. A Yahoo store selling a line of peel-and-stick artware, photo frames and mini-stickers. Changes included a conversion of the site's navigation structures and menus to accommodate an expanded product line.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working with Michelle and Ariane Gold for about two years helping them maintain their website, <a title="BUTCH &amp; harold" href="http://butchandharold.com/" target="_blank">ButchAndHarold.com</a>. Michelle and Ariane market a line of peel-and-stick artware on their Yahoo Store-based website. Pretty nifty stuff. They have recently expanded their product line to include peel-and-stick photo frames and mini-stickers and, so, the website needed updating. New pages had to be created for the new products and their URLs had to be linked into the navigation menu. We decided to change the top level &#8220;Collection&#8221; menu button to &#8220;Shop&#8221; and make it a drop-menu showing the three product lines.</p>
<p><a href="http://larryaronson.com/wp-content/uploads/butchandharold.jpg#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="alignright size-full wp-image-103" title="butchandharold" src="http://larryaronson.com/wp-content/uploads/butchandharold.jpg" alt="" width="200" height="198" /></a>The BUTCH &amp; harold website is a traditional HTML website. It&#8217;s nicely designed but unlike the blogs I&#8217;ve been working on recently, there are no templates or includes for global page elements. There are just a lot of HTML files.  I didn&#8217;t build this site, but the Web designer/programmer who originally constructed it did a good job writing clean, modern code, making It easy to add content and make minor layout changes within the existing architecture. However, s/he did use some tricks with the navigation menu that gave me headaches trying to implement the drop-menu without rewriting the entire thing—and make it work in all browsers.</p>
<p><span style="color: #808080;"><em><span>The remainder of this post is more technical. Skip it unless you&#8217;re really interested in how page navigation works. Or just visit the site and check out how I built the <a href="http://butchandharold.com/stickrframe.html" target="_blank">Stickr (frame) </a>and <a href="http://butchandharold.com/stickrmini.html" target="_blank">Stickr (mini)</a> pages. You&#8217;ll see  (hopefully) some fun javascript in action.</span></em></span></p>
<p><span id="more-92"></span></p>
<p>Navigation menus have evolved since the early days of the Web. At first, websites were only able to feature a list of links; either vertically, as a list, or horizontally in a table. A link changed color when the mouse pointer hovered over it but all links on the page had the same color behavior. Designers wanting more choice than the common available fonts (e.g: Times, Helvetica and Courier) replaced the text with small images using designer fonts. However, unlike linked text, a linked image provides no visual feedback when you hover over it other than the mouse pointer changing from an arrow to a hand.</p>
<p>When Javascript came along in the mid-nineties, it provided a means to capture a limited number of page &#8220;events&#8221; and take action when they occured. These events have descriptive names, such as: onMouseOver, onMouseOut and onClick, and one of the actions availabe on the occurrence of such an event is changing the source of an image. Thus, instead on a single image used as a button, with Javascript, the button could have both &#8220;on&#8221; and &#8220;off&#8221; image that were swapped when you moved the mouse on and off of the link. This provided the interactivity designers wanted, but it came at a price. There was often a noticeable delay the first time a link switched between its off and on images as the browser waited for the alternate image to  download from the server. Techniques were developed to &#8220;pre-load&#8221; the alternate images, which helped somewhat (as did faster Internet connections) but pre-loading images just moves the delay from the individual buttons to the initial page load.</p>
<p>Plus, there was the additional cost of complexity—If you had ten navigation links, that meant having 20 images to manage. Changing image-based navigation links involved expensive software tools, such as: Photoshop, Illustrator, DreamWeaver and ImageReady, and took much more time. This limited the ability of the client to explore and develop their online concepts from the bottom up as they learned the technology of Web publishing. It robbed them of the freedom to play with ideas.</p>
<p>But, Wait! It&#8217;s even worse than that. There are two other problems related to the 21st Century Web (aka: Web 2.0.) First, robots can&#8217;t read images. That is, the specialized automated tools that <a href="http://google.com" target="_blank">Google</a>, <a href="http://yahoo.com" target="_blank">Yahoo</a>, and others use to visit, catalog and rank sites can&#8217;t interpret the content inside an image. From the robots perspective, a lot of information about the structure and flow of a Web site is invisible when you use graphic images for navigation links. Now let&#8217;s face it, Google has become indispensable to the way we use the Internet to market our products and services and you&#8217;re at a competitive disadvantage if your site isn&#8217;t robot-friendly.</p>
<p>The second problem with graphical navigational elements has to do with complexity again. You&#8217;ve heard it said that &#8220;Content is king.&#8221; What this means is that a static site, where the content hardly changes over time  loses out to sites where fresh content is dynamically generated tailored to the customer&#8217;s needs. Publishing content on a regular schedule requires good content management systems. It&#8217;s also a lot easier if the overall structure of the site and its component HTML elements are as simple as possible.</p>
<p>Thus, there&#8217;s been a return to the use of text as navigation items and, indeed, a movement away from specifying layout constructs and style choices in the HTML, and toward using cascading style sheets (CSS) for these purposes. Google is a good example of this. Fortunately, the CSS recognized by today&#8217;s browsers is much more powerful and the designer has many more options to add interactivity than s/he did in the last century. For example, you are all familiar with simple, unordered lists, the kind with bullets. With CSS, you can eliminate the bullets and float the list items so that they appear in a horizontal line instead of using a table for the items. Also, nested lists are easier to manage than nested tables. And, instead of capturing a mouseOver event with Javascript, you can preset the hover state of any element and change text and background colors, even background images with the CSS without the pre-load problems.</p>
<p>This brings us back to <a href="http://butchandharold.com" target="_blank">BUTCH &amp; harold</a> where the original designer tried to have it both ways with the navigation menu—using text lables for the robots to read and pretty images with mouseOver effects for humans. It&#8217;s all done in the CSS. The navigation menu is an unordered list displayed horizontally with a unique on and off background images assigned to each list item. The images have a nice font (Bliss) for the labels and the &#8220;on&#8221; or hover states have the B&amp;H logo above them. To keep the actual text out of sight for humans but still readable by robots, the designer set the text indentation in the CSS to -5000 pixels.  The robots don&#8217;t care; they don&#8217;t bother reading a website&#8217;s CSS, but for humans, this moves the text off the left side of the monitor to somewhere in the next room.</p>
<p>Michelle and Ariane didn&#8217;t want the clutter or expense of new graphics for the drop-menu items; they&#8217;d be satisfied with text in the same color as the labels and a close match to the font. Making the drop-menu items appear in the right place meant setting the text-indent for the nested list to +5000 pixels to counteract the original setting that made the top level invisible. This worked well for Firefox and IE7 but not for Safari and, try as I might, I could not get the positioning right for all three.</p>
<p>I threw out the text-indentation hack and used the visibility property to hide the text labels from humans. This fixed the positioning problem with Safari, but made the entire &#8220;Shop&#8221; menu and the drop-menu invisible in IE6. IE6 is significantly different in that only recognizes a hover state for links whereas other browsers recognize a hover state for any HTML element. I did my research and found a solution using Javascript to capture a onMouseOver event on the top level list item (the Shop button) to dynamically change the CSS class of the nested drop-menu.</p>
<p>Wow, I make it sound simple but it was anything but. It took a lot of trial and error and I ended up rewriting almost all of the CSS to eliminate conflicts between the list styles used for the menus and the list styles used everywhere else.</p>
<p>In conclusion, I notice that about 1/5 of you are still using IE6 to browse the Web.<a title="Browser usage statistics from W3 Schools" href="http://www.w3schools.com/browsers/browsers_stats.asp" target="_blank">*</a> Please Stop! Make my life easier and your computing more secure and enjoyable. Upgrade to IE7 or download Firefox, Safari, Opera or one of the <a title="Read my recent post" href="http://larryaronson.com/2008/two-new-browsers/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" target="_blank">two new browsers</a>: <a title="Get the Flock Browser" href="http://flock.com/" target="_blank">Flock</a> or <a title="Get Google's Chrome Browser" href="http://google.com/chrome" target="_blank">Chrome</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://larryaronson.com/2008/butch-harold-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

