<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Web Development Blog &#187; Making sense of semantic HTML: an introduction for clients and new Web designers | Web Development Blog &#8211; Heidi Cool &#8211; Cleveland, Ohio</title>
	<atom:link href="http://www.heidicool.com/blog/category/web-standards/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.heidicool.com/blog</link>
	<description>web • content • marketing • navigation • seo • social media</description>
	<lastBuildDate>Thu, 17 Feb 2011 21:09:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9; </copyright>
		<managingEditor>gravity69@gmail.com ()</managingEditor>
		<webMaster>gravity69@gmail.com()</webMaster>
		<category></category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>content bull; architecture bull;nbsp;marketing bull;nbsp;seo bull; social media</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>gravity69@gmail.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.heidicool.com/blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.heidicool.com/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>Web Development Blog</title>
			<link>http://www.heidicool.com/blog</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Making sense of semantic HTML: an introduction for clients and new Web designers</title>
		<link>http://www.heidicool.com/blog/2009/08/11/making-sense-of-semantic-html/</link>
		<comments>http://www.heidicool.com/blog/2009/08/11/making-sense-of-semantic-html/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 15:57:49 +0000</pubDate>
		<dc:creator>Heidi Cool</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Heidi's Entries]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[mark-up]]></category>
		<category><![CDATA[semantic html]]></category>
		<category><![CDATA[standards]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=423</guid>
		<description><![CDATA[The other day, Aaron Rester posed this question on Twitter: Webbies: any advice on explaining semantic HTML to non-webbies?

I wrote back that I usually show them some source code and walk them through things like using h1 and so forth for headers. That is what I usually do. In fact I'd just done that the other day when I was showing someone the changes I would recommend for search engine optimization (SEO). ]]></description>
			<content:encoded><![CDATA[ 
<div class="photocolumn">

<p><a href="http://www.heidicool.com/sandbox/semanticFF35.jpg"><img src="http://www.heidicool.com/sandbox/semanticFF35sm.jpg" width="300" height="167" alt="Semantic Web Page Example Firefox 3.5" /></a> Sample page using semantic mark-up as viewed in Firefox. </p>

<p><a href="http://www.heidicool.com/sandbox/nonsemanticFF35.jpg"><img src="http://www.heidicool.com/sandbox/nonsemanticFF35sm.jpg" width="300" height="169" alt="NonSemantic Web Page Example Firefox 3.5" /></a> Sample page using non-semantic mark-up as viewed in Firefox. Give or take a few pixels these look pretty much the same. </p>

<p><a href="http://www.heidicool.com/sandbox/semanticIE6.jpg"><img src="http://www.heidicool.com/sandbox/semanticIE6sm.jpg" width="300" height="171" alt="Semantic Web Page Example IE 6" /></a> Sample
  page using semantic mark-up as viewed in Internet Explorer 6. As you can see,
  the banner breaks in IE 6 but everything else looks pretty much as expected.
  The page also breaks in <a href="http://www.heidicool.com/sandbox/semanticIE7.jpg">IE
    7</a> and <a href="http://www.heidicool.com/sandbox/semanticIE8.jpg">IE 8</a> though
    the IE 8 version looks different. I've included these samples as a reminder
    to always check sites in multiple browsers.</p>

<p><a href="http://www.heidicool.com/sandbox/nonsemanticIE6.jpg"><img src="http://www.heidicool.com/sandbox/nonsemanticIE6sm.jpg" width="300" height="165" alt="NonSemantic Web Page Example IE 6" /></a> Sample page using non-semantic mark-up as viewed in Internet Explorer 6. Again it looks almost the same at the semantic version, even breaking in the same manner.</p>

 </div>

<p>The other day, <a href="http://twitter.com/aaronrester">Aaron Rester</a> posed this question on Twitter: <q>Webbies: any advice on explaining semantic HTML to non-webbies?</q></p>

<p>I wrote back that I usually show them some source code and walk them through
  things like using h1 and so forth for headers. That is what I usually do. In
  fact I'd just done that the other day when I was showing someone the changes
  I would recommend for <a href="http://www.heidicool.com/blog/2007/07/13/an-introduction-to-search-engine-optimization-seo-part-1/">search
  engine optimization</a> (SEO).  </p>

<p>But the question made me wonder if my explanations were adequate. If someone
  doesn't know anything about HTML or other mark-up languages, will such an explanation
  make sense? Or is there a better way to explain the differences between structural
  and presentational mark-up to clients and new Web designers? </p>

<h5>Why do clients and other non-webbies need to know about semantic HTML? </h5>

<p>Typically this topic comes up most often when one is discussing issues related
  to search optimization and accessibility. If a client needs to enhance their
  site for SEO, I may be recommending changes to the code that they won't even
  see when looking at the page in their browser. Understandably they will want
  to know why they should pay me to do things to their site that they won't notice.
  The changes we make may not be visually apparent, but they will convey additional
  information to Web browsers and search engines that can aid accessibility,
  usability and searchability. </p>
 

 
 
<h5>What is semantic HTML?</h5>

<p><a href="http://www.merriam-webster.com/dictionary/semantics">Semantics</a> is
  the study of meaning. <cite><a href="http://www.merriam-webster.com/dictionary/semantics">Merriam-Webster's
  Online Dictionary</a></cite> provides us with a definition that relates closely
  to how the term is applied to HTML &quot;<a href="http://www.merriam-webster.com/dictionary/semantics">3
  a : the meaning or relationship of meanings of a sign or set of signs; <em>especially</em> :
  connotative meaning</a>.&quot; HTML uses elements that convey structural meaning
  to Web browsers and other<a href="http://en.wikipedia.org/wiki/User_agent"> user
  agents</a> such as search engine crawlers. </p>

<p>Writing a page in semantic HTML simply
  means that you are applying the appropriate structural elements to the various
  bits of content on a page. Huh? Code elements act like labels that tell the
  Web browser what each section of content is.
  HTML gives us structural elements to indicate headers, paragraphs, lists, tables
  and so forth. If I want to tell the browser to start a new paragraph, I'll
  type &lt;p&gt;. If I want to start a new subhead, I'll type &lt;h5&gt;.</p>

<h5>Then isn't all HTML semantic?</h5>

<p>You would think so, but no. Web browsers can be both fussy and forgiving.
  I can code the same content in multiple ways that will each look very similar
  when viewed, but will actually convey differing amounts of information to user
  agents. </p>

<p>Instead of using an &lt;h5&gt; I could use &lt;p&gt;&lt;strong&gt;in front
  of my subhead and make it look the same as it would using &lt;h5&gt;. Such
  usage would be considered presentational mark-up. It can affect how the header
  looks, but it is not semantically correct because it doesn't let user agents
  know that this is a subhead. If a Web designer applies the incorrect elements
  to page content, the site may look perfectly acceptable. But it is not passing
  on vital information that user agents may need to:</p>

<ul>
<li>Help a visually impaired
  visitor navigate the page using <a href="http://en.wikipedia.org/wiki/Screen_reader">screen
  reading software</a>.</li>
<li>Tell Google and other search engines what topics are the most important ones
  on the page.</li>
<li>Show that you are citing a reference document such as a book.</li>
<li>Indicate that you are presenting computer code, etc. </li>
</ul>
 
<h5>Same content, different mark-up</h5>

<div class="photocolumn">
<p><a href="http://www.heidicool.com/sandbox/semanticlynx.jpg"><img src="http://www.heidicool.com/sandbox/semanticlynxsm.jpg" width="300" height="217" alt="Semantic Web Page Example Lynx" /></a> Sample page using semantic mark-up as viewed in the text-based browser, Lynx. Note how the page retains a sense of order, similar to an outline. This is more apparent when you <a href="http://www.heidicool.com/sandbox/semanticlynx.jpg">view
    the enlarged version of the page</a>.</p>

<p><a href="http://www.heidicool.com/sandbox/nonsemanticlynx.jpg"><img src="http://www.heidicool.com/sandbox/nonsemanticlynxsm.jpg" width="300" height="235" alt="NonSemantic Web Page Example Lynx" /></a> Sample page using non-semantic mark-up as viewed in the text-based browser, Lynx. When you <a href="http://www.heidicool.com/sandbox/nonsemanticlynx.jpg">view
    the enlarged version of the page</a> you really see the difference. This version seems more like a plain text file without any obvious formatting. </p>

</div>

<p>To illustrate this point I've created 2 very simple Web pages, one uses <a href="http://www.heidicool.com/sandbox/semantic.html">semantic
  mark-up</a> and one using <a href="http://www.heidicool.com/sandbox/nonsemantic.html">non-semantic
  mark-up</a>. Basically the non-semantic version
  uses &lt;p&gt; for just about everything. When you view the pages through
  a regular browser you'll see that the semantic and non-semantic versions look
  pretty similar. They both look normal in Firefox, Safari and Opera, and they
  both break in various versions of Internet Explorer. You don't
  see the difference visually until you look at the pages in the <a href="http://en.wikipedia.org/wiki/Lynx_(web_browser)">text
  browser, Lynx</a>. </p>

<p>When viewing the semantic page on Lynx, we can see that there is order to
  the page; it looks a bit like an outline. The menu looks like a menu and the
  headers standout to provide an introduction to the other text. </p>

<h5>HTML elements in action, offering added information to user agents</h5>

<p>Text readers for the visually impaired and search engine spiders are getting
  even more information than we can see in the <a href="http://www.heidicool.com/sandbox/semanticlynx.jpg">Lynx
  semantic html example</a>. They
  know that each menu link should be distinguished from the next. The use of
  an unordered list for the menu tells user agents to separate these links in
  a way that use of &lt;p&gt; does
  not, and allows users of screen readers to jump through or skip these elements
  to proceed to the main text. In the <a href="http://www.heidicool.com/sandbox/nonsemanticlynx.jpg">non-semantic version</a> this is not clear,
  a text reader may speak all of those links together, making it more difficult
  for the user to navigate. </p>

<p>These user agents can also tell that the first header is more important than
  the second because it has been coded as an &lt;h3&gt; while the second header
  is an &lt;h4&gt;. Headers are ranked in order of importance from 1-6. Here
  we're using an &lt;h1&gt; for the site name, the most important header on the
  page. Search engine crawlers will see words in an &lt;h1&gt; as being more
  descriptive of the page as a whole. This is useful for search engine optimization,
  because we can include our keywords and phrases in our various headers to let
  the search engines know that core topics we are covering on the page. Thus
  on this page you'll notice that I've used the phrase &quot;semantic HTML&quot; in
  both the text and subheads (which in this case are &lt;h5&gt;'s.) That said
  I've not used it in every subhead because having these headers
  make sense to you, the reader, is still more important than SEO. People come
  first, then robots. </p>

<p>In this  example I've focused on just a few a few of the many HTML
  elements that are important to semantic mark-up, but hopefully these will give
  you a clearer sense of how such usage can help SEO and accessibility. Other
  elements such as <a href="http://www.w3.org/TR/html401/struct/global.html#edef-ADDRESS">address</a>, <a href="http://www.w3.org/TR/html401/struct/text.html#edef-CITE">cite</a> and <a href="http://www.w3.org/TR/html401/struct/text.html#edef-BLOCKQUOTE">blockquote</a> can add additional meaning to
  a page's code. You can learn more about other elements and related issues in
  the reference links below.</p>

<h5>Semantic mark-up, validation and content</h5>

<p> It's always a good practice to <a href="http://validator.w3.org">validate
    your code</a> to check for errors and potential problems, but site validation
    doesn't guarantee that you've used the best mark-up for the site. While the
    validator can make sure you've used allowed elements, it has no way of knowing
    if you've them in the most appropriate manner. Both the semantic and non-semantic
    page samples used in this post were produced using valid W3C <a href="http://www.heidicool.com/blog/2007/08/28/an-introduction-to-web-standards/">standards
    compliant</a>    XHTML and CSS. One is clearly better formed than the other, but both also
    break in Internet Explorer. </p>

<p>Thus it's also important to<a href="http://www.heidicool.com/blog/2008/07/14/testing-web-sites-with-multiple-browser-versions/"> check
    sites in multiple browsers</a>  and to simply think carefully about how visitors will read the site. If my
  samples were for real sites, I'd fix the IE problem, but I used it here to
  remind us that using valid semantic code is just the beginning. There will
  always be additional details we must consider.</p>

<p>It's also worth noting that, when it comes to SEO, a semantically well-formed
  site is not a substitute for good content. Search engines such as Google are
  designed to help users, like you and me, find the most relevant pages for the
  information we seek. With that goal in mind they have to accommodate a wide
  variety of coding differences. If your competitor has great content and plenty
  of good inbound links, while yours does not, then his/her site will still win
  out, even if the code is atrocious. But if you can produce great content and
  present it in the appropriate format you will be off to a good start.</p>

<h5>Semantic HTML Resources</h5>
 
 <ul>
<li><a href="http://tantek.com/presentations/2005/03/elementsofxhtml/">The Elements
    of Meaningful XHTML (presentation showing examples)</a></li>
<li><a href="http://sourceforge.net/projects/fangs/and Accessibility">Fangs Screen Reader Emulator</a></li>
<li><a href="http://www.joedolson.com/articles/2008/04/guide-to-semantic-html/">Guide to Semantic Use of HTML Elements</a></li><li><a href="http://www.dhs.state.il.us/IITAA/IITAAWebImplementationGuidelines.html">Illinois Information Technology Accessibility Act Implementation Guidelines for Web-Based Information and Applications 1.0</a></li>

<li><a href="http://www.youtube.com/user/GoogleWebmasterHelp#play/uploads/100/GIn5qJKU8VM">More than one H1 on a page: good or bad? (Video by Google's Matt Cutts)</a></li>
<li><a href="http://www.alistapart.com/articles/semanticsinhtml5">Semantics in HTML 5</a></li>
<li><a href="http://www.w3.org/2003/12/semantic-extractor.html">W3C Semantic Data Extractor</a></li>
<li><a href="http://www.w3.org/TR/WCAG-TECHS/G115.html">W3C: G115: Using semantic elements to mark up structure</a></li>
 
  </ul>]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2009/08/11/making-sense-of-semantic-html/feed/</wfw:commentRss>
		<slash:comments>33</slash:comments>
		</item>
		<item>
		<title>8 things to consider when redesigning your Web site—let&#8217;s start with WHY?</title>
		<link>http://www.heidicool.com/blog/2009/04/08/redesign/</link>
		<comments>http://www.heidicool.com/blog/2009/04/08/redesign/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 22:41:31 +0000</pubDate>
		<dc:creator>Heidi Cool</dc:creator>
				<category><![CDATA[Branding]]></category>
		<category><![CDATA[Content]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=301</guid>
		<description><![CDATA[Monday I started redesigning a site that I'd first built in 2003. Tuesday I received today's mission from Problogger's 31 Days to Build a Better Blog project: "Write a list post." Somewhere in my brain these thoughts collided, so today I thought I'd share some of the core issues I consider when working on a redesign project. ]]></description>
			<content:encoded><![CDATA[<p class="photoright"><a href="http://www.bitstrips.com/user/1800/read.php?comic_id=222034&amp;sc=1"><img src="http://www.heidicool.com/blog/wp-content/uploads/2009/04/redesign.jpg" alt="Redesigning your site cartoon" title="Redesigning your site cartoon" /></a></p>


<p>Monday I started redesigning a site that I'd first built in 2003. Tuesday
  I received today's mission from <a href="http://www.problogger.net/31-days-to-build-a-better-blog-join-9100-other-bloggers-today/">Problogger's
    31 Days to Build a Better Blog project</a>: "<a href="http://www.problogger.net/archives/2009/04/07/write-a-list-post/">Write
    a list post</a>." Somewhere in my brain these thoughts collided, so today
    I thought I'd share some of the core issues I consider when working on a
    redesign project. </p>

<dl>

<dt>Why do you want to redesign your Web site?  </dt>
<dd>
  <p>Hint: The answer is not "because the old site is old and boring and I'm
    sick of looking at it. I want something new." A lot of site owners use this
    line of reasoning, but we have to keep in mind that we're designing sites
    for our visitors, not ourselves. If you're thinking about redesigning a site,
    take stock of the old one. </p>
  <p>Look at your site analytics and read your visitor feedback
  to gauge what is or isn't working. As Cameron Moll wrote in 2005, <a href="http://www.alistapart.com/articles/redesignrealign/">Good
  Designers Redesign, Great Designers Realign</a>, so it is up to you determine
  which changes will enhance your site and which are change for the mere sake
  of change. </p>
</dd>

<dt>Web site goals</dt>
<dd>
  <p>You've heard me wax forth about goals in my <a href="http://www.heidicool.com/blog/tutorial/">Planning
    Your Web Site Tutorial</a>, so you already know that you have to set specific
    goals to develop content and measure results. Presumably you did that when
    you first built the site. But things change over time. Does your original
    goal still apply? Or is it time to focus on something else? For the site
    I'm working on now, the goal remains the same, but the scope has expanded.
    The site was developed to market one product. Now the company has 9 products
    in 3 product lines. These lines have related, but slightly different target
    audiences. So while the site still has a goal to sell widgets, it must now
    be adapted to appeal to a broader audience.</p>
    <p>That site had, and continues to have, a clear objective. Such objectives
      are easy to determine for small commercial sites. For others it is more
      difficult. Most of us want our sites to do it all: sell more widgets, increase
      brand recognition, make coffee, etc. But if we try to tackle too much we'll
      never develop a clear vision. Instead try to focus on one primary objective.
      What do you want the site to accomplish this year? Is this the same objective
      you had originally or have situations changed in such a way that you should
      now focus on something else? </p>
    <p>Let's say you're the chair of the philosophy department at
      University X. You have an interest in applying philosophical thinking to
      real-world scenarios and want to add more interdisciplinary classes&mdash;covering
      topics such as cognition and intellectual property. Doing so will
      require more faculty&mdash;and the funding to hire them. To make a case
      for this you must demonstrate a demand for these courses, a demand that
      can be shown if there is an increase in the number of students taking philosophy
      classes or, better yet, selecting philosophy as their major. </p>
 
  <p>You have several weighty goals for the department, but if you establish student recruitment as the primary goal of your Web site, you are one step closer to achieving the rest.</p>
    </dd>

<dt>Content: What information must you provide to support your goal?</dt>
<dd><p>Given that you already have a site, you may have existing content that will also serve your goal. That said it can be distracting to sort through what exists and what doesn't. Instead come up with a new outline based on the new goal. You can then use that to determine what old content to keep or revise, what content to create anew, and how the content should be organized.</p>

<p>For our philosophy site we can consider our recruitment goal by asking the following types of questions. What do students need to know about philosophy to decide if it is right for them? What are the features of the program? What benefits will it provide? What are the requirements? </p>

<p>Students must be given sufficient information to determine if the subject is right for them or not. Philosophy seems vague and esoteric to many, so the site should define the topic, the skill sets used in studying it and the benefits gained from its study.  In our current economy, when many choose a major based on how it will help them find a job, it's also helpful to show the practical value of studying philosophy. </p>

<p>I majored in Philosophy because I found it intriguing. I'm the kind of nerd who liked the story problems in algebra; I see the world as a series of puzzles. The study of philosophy gave me a new approach to solving these puzzles, a framework through which I could approach problem solving from a variety of vantage points. I later discovered that this type of critical thinking applies as much to marketing and Web design as it does to hypothetical questions of ethics and meaning.</p>
<p>Prospective students and their parents may not yet know this. My parents supported
  my choice as they were already strong supporters of a classic liberal arts
  education. But they had friends who weren't. Vocal friends who asked things
  like "What are you going to do with a degree in philosophy, sit on a mountain
  top dispensing wisdom?</p>

<p>In this day and age it's not enough to show that philosophy builds critical thinking skills that can be applied to all aspects of life. People are more skeptical about spending money on a degree that doesn't seem as practical as one in business or engineering. To counter such obstacles you'll need to show exactly how the philosophical method can be applied to the real world. Examples of logical fallacies used in advertising, or ethical questions regarding file-sharing, help demonstrate how the specific reasoning skills learned in the study of philosophy can be applied in real life. </p>

<p>Whether your goal is to share information or sell more widgets, it's important to think about the audience. What information do they require to make the choice to do what you wish them to do? Get into their heads, consider the goal from their perspective, do market research, then apply what you've learned to developing your content.</p> 
</dd>
 
<dt>Content formats: how can we most effectively convey this information?</dt>
<dd>
  <p>These days people are anxious to add video and interactivity to their sites
    to show that they are keeping up with the latest technologies. But video
    isn't appropriate for everything. Think about the content first and let that
    help you determine its format. Will you be including a list of available
    philosophy classes and course descriptions on the site? How would you present
    that? Would you show a video of Professor Smith reading the course descriptions?
    Or would you present the information as text? I'd go with text. </p>
  <p>How is a philosophy class different than one in math or history? Would it
    help students to see a class in action? Perhaps this is the time to videotape
    Professor Smith. If he's known for leading dynamic class discussions, ask
    him if he'd let you video tape a few seminars. This allows you to share
    his expertise and knowledge with the public while also letting prospective
    students see what a philosophy class is like.</p>
<p>Do you want to include educational resources on ethics or logic that will teach students about the field while also enticing their interest? Perhaps you could create a blog or discussion forum in which you pose questions so that readers can respond.</p>
<p> If you think carefully about the information you wish to share and what site visitors should do with it, you'll soon find yourself choosing content formats that are far more appropriate than some talking head yammering at a camera.</p> </dd>

<dt>Organization/navigation</dt>
<dd>
  <p>Once you've come up with a list of the content, and content formats, you
    will need to support your specific goal, you can <a href="http://www.heidicool.com/blog/2005/08/25/organizing/">organize
    it into an outline or site map</a> that will guide you in organizing the
    content and navigational structure of the site. As before try not to look
    too much to your old site for guidance at first. Instead look at your outline
    with fresh eyes. Put yourself in the mind of your target audience, and see
    which content items form logical content clusters. </p>
  <p>Then, when your new outline is complete, compare it to the old site. Is the new structure completely different? Or are there only slight variations? This will help you determine whether your revised site will need a new menu system or just some minor adjustments. Also look at your site analytics. Are there pages on the current site that are important but don't get enough traffic? Are those pages hard to find? Is the content less than compelling? Will your new outline make it easier for visitors to find and view these pages? </p>
<p>Whether our new site will be redesigned entirely, or modified slightly, we
  can learn a lot from the statistics for our old site. They can show us the
  pathways visitors use to get to specific pages, the amount of time people spend
  on pages, and which pages they are likely to use as exits from our site. If
  certain pathways are often used we can try to maintain them so that we don't
  break anything that is currently working well.</p>
  <p>The pages our visitors
  spend the most time on are typically the most important. If they're not on
  your new site outline, you may wish to add them. Are there important pages
  (to you) on the old site that visitors don't spend time viewing? Do these pages
  support your new goal? If so consider how you can make these easier to find
    and improve the content so they provide more value to visitors.</p> 
</dd>

<dt>Technology/code</dt>
<dd><p>Ideally your old site was built in <a href="http://www.heidicool.com/blog/2007/08/28/an-introduction-to-web-standards/">W3C
      standards compliant HTML</a> using <a href="http://brainstormsandraves.com/articles/semantics/structure/">semantic
      mark-up</a>. If so it will make it far easier to re-use any of the old content you intend to keep. If not, here is your opportunity to clean things up. Whether you are making significant design changes or minor alterations this project will probably involve edits to every page. Given that, it's a good chance to make some changes. </p>
<p>Did your old site use a table-based layout? Did you use bolded paragraph elements
  instead of headers? If so, try recoding your site using CSS and semantic mark-up.
  This will both clean up your code (so you're not stuck trying to make sense
  of all those old nested tables) and help with search engine optimization (SEO).</p>
<p>Also consider how technology has changed and what new options are available
  through your hosting provider. For example I used to use SSI (server-side includes)
  to include repeating elements such as headers, menus and footers. I'm now using
  PHP which also makes it easier to create unique page titles based on my page
  headers. If your content will include new features such as videos and interactivity,
  research the best methods for presenting these. Perhaps a content management
  system or blogging software would help. For my project I'm using WordPress.
  This makes it easier for me to group items by category and generate RSS feeds
  and will allow the client to post event and product announcements.</p>
<p>Your needs will vary, but if you take the time now to determine what the best practices are for the features you'll require, you'll find that the site is easier to rebuild and maintain. </p> 
 </dd>

<dt>Graphic Design</dt>
<dd>
  <p>People assume that a redesign means a change in the visual look and feel
    of the site. But how much you change depends on your goals. Does the current
    look support your corporate identity and brand? Does it work with the new
    goal? Does it support the navigational scheme of the new site plan? Do visitors
    like it? If so, a dramatic change may not be necessary, it may in fact cause
    confusion. If this is the case you may want to just tweak things here and
    there to support the new structure. </p>
<p>On the other hand, if you've changed your logo, the old design doesn't serve the new goals or if your site looks like it was built by someone's 10 year old nephew, then yes, change is in order. Let the new goal and your brand identity lead the way.</p>
<p>I take a fairly minimalist approach to design. I don't want flashy graphics
  and images to compete with the message. Instead I want them to augment the
  message. But the header image on the site I'm redesigning focuses on only
  one product. Now that there are more products I'm changing the header graphics
  and color scheme to better reflect the theme of the full product line. For
  example, if my site had originally been about grapes, I might have had pictures
  of grapes and vineyards on the site. But if the company now sells a variety
  of fruits, my imagery must reflect that.</p>
<p>There's neither time nor space here to fully discuss design theory, but as you work on your new design concepts, keep your visitors in mind. Your favorite color may be hot pink, but your site is meant for your visitors so choose color schemes and readable typography that make it easy for them.</p>
</dd>

<dt>Marketing</dt>
<dd>
  <p>Build your new site with marketing in mind. Properly marked-up code, and
    the use of keywords in your content (especially headers) will <a href="http://www.heidicool.com/blog/2009/03/06/measuringseo/">improve
    SEO</a>,
    thus making your site more easily found in the future. Avoid technology choices,
    such as using Flash for your entire site, that don't support SEO, page linking,
    bookmarking, cross-browser compatibility, etc.</p>
<p>Compare your new site plan to the old. Try to keep the old file structure
  intact as much as possible. If your site has been around for awhile, then others
  are already linking to your pages and those pages are ranked in Google and
  other search engines. You don't want to lose what you've already established,
  so if you can avoid moving old pages, that will help. If you must move or delete
  old pages, then use 301 redirects to guide visitors seamlessly to the new pages. </p> 
  
<p>When you launch the new site, consider this an opportunity to re-connect with
  your visitors. If appropriate, poll your visitors before and after the redesign
  process to get their input. People hate change but they like to feel included.
  It's impossible to design a site that will appeal to everyone, but if you have
  access to user input, it will help you design a site best suited to your audience.</p>  
<p>When the site is ready, you might also send an e-mail, announcing the launch
  to your existing user base. Some people will praise you, some will opt-out,
  and some will complain. Respond to the complaints in a timely and thoughtful
  manner. You may have annoyed them with your changes, but you've also started
  a conversation with someone who cares enough about your site, product or service
  to voice their opinion. Keep them onboard by responding to their issues. </p>
</dd>
</dl>

<p>As with any Web development project, there are far more details to consider,
  but I hope these have provided you with a good starting point for your next
  redesign. If you focus on the goals and the needs of your site visitors you'll
  be well on your way. </p>
    
<h5>Web Design and Development Resources</h5>
<ul>
  <li><a href="http://www.universitybusiness.com/viewarticle.aspx?articleid=636">10
      Tips to a Successful Web site Redesign</a> </li>
 
  <li><a href="http://vimeo.com/932296">Daniel Burka on Iterative Design</a> (video)</li>
<li><a href="http://www.pearsonified.com/2007/04/definitive-guide-to-semantic-markup.php">The Definitive Guide to Semantic Web Markup for Blogs</a>
  </li> 
   <li><a href="http://www.alistapart.com/articles/understandingwebdesign">Understanding Web Design</a>  </li>

  <li><a href="http://www.usabilityfirst.com/websites/index.txl">Usability First: Web site design</a></li>

</ul>

<h5>Edu Blogger Scholarship Update</h5>
<p>Thanks to everyone who read <a href="http://www.heidicool.com/blog/2009/03/03/onlineed/">Learning
      for fun and adventure: online education comes in many flavors</a>. Through your support <a href="http://www.onlinecollege.org/">I
      made it to the finals</a>! If you're interested in higher education and related topics, you may want to peruse the blogs of the other finalists. You'll find some good reads there. (Which means I've got some stiff competition.) </p>   
   
   ]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2009/04/08/redesign/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Should you or should you not have links open in a new window/tab?</title>
		<link>http://www.heidicool.com/blog/2008/10/28/should-you-or-should-you-not-have-links-open-in-a-new-windowtab/</link>
		<comments>http://www.heidicool.com/blog/2008/10/28/should-you-or-should-you-not-have-links-open-in-a-new-windowtab/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 09:15:10 +0000</pubDate>
		<dc:creator>Heidi Cool</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Heidi's Entries]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[newwindow]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=156</guid>
		<description><![CDATA[Last week's entry on outbound links spawned a lot of discussion, including the question of whether one should have outbound links open in a new window (or tab depending on the user's browser and preferences). Although many others have already written about this topic, it comes up often enough that I think it is worth discussing. Disclaimer: links that open in a new window or tab—when that wasn't my choice—are a pet peeve of mine, but I will attempt to explore the topic objectively.
]]></description>
			<content:encoded><![CDATA[<p class="photoright"><a href="http://blog.case.edu/webdev/2008/10/27/backbutton.jpg"><img alt="Screen capture of backbutton dropdown window" src="http://blog.case.edu/webdev/2008/10/27/backbuttonsm.jpg" width="240" height="262" /></a><br />
Firefox's back button will let you go back<br />
several steps. <a href="http://blog.case.edu/webdev/2008/10/27/backbutton.jpg">View enlarged image</a>.</p>


<p>Last week's <a href="http://www.heidicool.com/blog/2008/10/21/afraid-of-outbound-links-dont-be/">entry
on outbound links</a> spawned a lot of discussion, including the question of
whether one should have outbound links open in a new window (or tab depending
on the user's browser and preferences). Although many others have already written
about this topic, it comes up often enough that I think it is worth discussing. <em>Disclaimer:
links that open in a new window or tab&mdash;when that wasn't my choice&mdash;are
a pet peeve of mine, but I will attempt to explore the topic objectively.</em></p>

<h5>What is the intended purpose of having links open in a new window or tab?</h5>
<p>Those who recommend having links open in a new window do so with the intention
of making it easier for users to return to the original site. Anyone who surfs
the Internet knows that it is easy to get lost down a rabbit hole of links.
For example, if I provide you with a link to <a href="http://chuckpalahniuk.net">Chuck
Palahniuk's Web site</a>, you might:</p>
<ul>
<li>follow the link</li>
<li>peruse the section on <a href="http://chuckpalahniuk.net/interviews/authors">author interviews</a></li>
<li>read Dennis Widmyer's latest <a href="http://chuckpalahniuk.net/interviews/authors/craig-clevenger2">interview
with Craig Clevenger</a></li>
<li>then decide to add <a href="http://www.amazon.com/Contortionists-Handbook-Craig-Clevenger/dp/1931561486">The
Contortionist's Handbook</a> to your Amazon shopping cart.</li>
</ul>

<p>By now, the theory goes, you will have either forgotten where you were before
or forgotten how to get back. If I'd set the <a href="http://chuckpalahniuk.net" target="_blank">Chuck
Palahniuk link to open in a new window/tab</a> (this is the only link on
the page that opens a new window), you could just go back to your original
window/tab and you'd be back where you started. Of course if the link opens
in the same window, and you are using a current browser such as Firefox,
you can simply click the down arrow next to your back button to navigate
back through the series of links you just followed. </p>

<h5>So which is better? Is it easier for a user to go back to a different window
or to just use the back button? </h5>
<p>I've always found it easier to use the back button. With one click I can go
back and read another interview or I can choose to go all the way back to the
original blog. To me that seems far easier than wading through a sea of windows,
or looking at an array of tabs to find the one you want. But everyone is different.
In researching this article I discovered a <a href="http://getsatisfaction.com/pownce/topics/external_links_in_a_new_window">Get
Satisfaction page in which a user actually requested that links on Pownce open
in a new window</a>. Two of the responders agreed that they would prefer new
windows, while two others (including Pownce/Digg designer Daniel Burka) disagreed.
I saw these differing opinions in many places.</p>
<p>Where does that leave us? Preferences vary, so unless you survey
the users of your particular site it may be difficult to determine if your
audience likes or dislikes it when a link opens in a new window. Pownce was
able to solve the problem by giving users a setting that lets them pick which
behavior is the default while they're on Pownce. But that's not an option for
most sites and blogs. With
that in mind, I think it is most appropriate to leave it in control of the
user. If a user wants to open a link in a new window he can do so by right-clicking
(Windows) or ctrl-clicking (Mac) the link in question. I often open links in
a new tab if I know that I'll want to flip back and forth between them. I just
don't want them opening up new tabs spontaneously.</p>
<h5>Standards and accessibility issues related to opening links in new windows</h5>
<p>If you're in the pro new window camp, I've probably not yet changed your mind.
But there are more issues to consider. </p>
<dl>
<dt>W3C HTML and XHTML Recommendations</dt>
<dd>The traditional way to have a link open in a new window is to include <span class="cran">target=&quot;_blank&quot;</span> in
the link. The <a href="http://www.w3.org/TR/REC-html40/present/frames.html#h-16.3.1">target
attribute</a> is <a href="http://www.w3.org/MarkUp/2004/xhtml-faq#target">not
included in the recommendations for HTML and XHTML strict</a>, therefore sites
using target with a strict doctype won't validate. From
what I've gathered target is not included because not all browsers support
the attribute, particularly when it comes to browsers running on mobile devices.
(This may change in XHTML 2.0 as the attribute may serve new needs as mobile
browsers evolve. A valid alternative is to use <a href="http://www.sitepoint.com/article/standards-compliant-world/">javascript</a>. </dd>

<dt>W3C Web Content Accessibility Guidelines 2.0 (WCAG)</dt>
<dd>According to the <a href="http://www.w3.org/TR/2008/WD-UNDERSTANDING-WCAG20-20080430/consistent-behavior-no-extreme-changes-context.html">WCAG
Success Criterion 3.2.5</a>, &quot;<em>Individuals
who are unable to detect changes of context or may not realize that the context
has changed are likely to become disoriented while navigating a site.
For example: individuals who are blind or have low vision may have difficulty
knowing when a visual context change has occurred, such as a new window popping
up. In this case, warning users of context changes in advance minimizes confusion
when the user discovers that the back button no longer behaves as expected.</em>&quot; To
avoid this confusion they recommend that users should be notified if a link
will open in a new window and if possible be given the choice to not have it
open in a new window. </dd>

</dl>

<h5>Kant's Categorical Imperative: What if everyone did it?</h5>
<p>While writing this I kept having a vision of wandering the Internet in a world
where every external link opened a new window or tab. In this vision it was
only a matter of minutes before there were so many tabs open in my browser
that I had to use the left and right arrows to scroll through them. Worse yet,
instead of tabs windows began spawning as quickly as <a href="http://en.wikipedia.org/wiki/Tribble">Tribbles</a> and
suddenly my desktop was impossible to navigate. This made
me think of Kant. In his first formulation of the <a href="http://plato.stanford.edu/entries/kant-moral/#CatHypImp">Categorical
Imperative</a> he states that one should &quot;act only in accordance with that
maxim through which you can at the same time will that it become a universal
law.&quot; While this idea was meant to deal with issues of morality, it's easy
to see how it could be applied to lesser situations such as links opening
in new windows. If links always opened in a new windows it would pose significant
usability challenges.</p>
<p>Naturally most sites don't open everything in a new window or tab. If they
did we'd all be swimming in windows. Instead, most site designers choose to
open new windows only in particular circumstances. Some designers do this only
for external sites while others reserve the technique for opening up .pdf files.
While I'd still prefer that links open in the same window, giving me the choice
of whether or not to open them in a new tab, I understand that many may disagree.
Most people have committed one way or another with few remaining undecided.
But, whatever your preference may be, I hope this discussion will help the
next time you're debating where a particular link should open. </p>


<h5>Learn more about opening links in pop-up windows or tabs</h5>
<ul>
<li><a href="http://www.alistapart.com/articles/popuplinks">Accessible Pop-up Links</a></li>
<li><a href="http://www.7nights.com/dkrprod/gwt_ten.php">D. Keith Robinson's Gorilla Web Tips:  Launching New and Pop-up Windows</a></li>
<li><a href="http://lois.co.uk/web-design/articles/new-windows.asp">Don't let your web site fall out of the window: opening new browser windows</a></li>
<li><a href="http://www.robertnyman.com/2006/02/13/how-evil-is-the-target-attribute/">How evil is the target attribute?</a> </li>
<li><a href="http://www.sitepoint.com/article/standards-compliant-world/">New-Window Links in a Standards-Compliant World</a></li>
<li><a href="http://justaddwater.dk/2007/06/13/open-new-window-still-has-usability-issues/">Open New Window Still Has Usability Issues</a></li>
<li><a href="http://www.456bereastreet.com/archive/200603/the_target_attribute_and_opening_new_windows/">The target attribute and opening new windows</a></li>
<li><a href="http://www.useit.com/alertbox/9605.html">Top Ten Mistakes in Web Design</a></li>

<li><a href="http://www.w3.org/TR/2008/WD-WCAG20-TECHS-20080430/H83.html">WCAG 2.0: H83: Using the target attribute to open a new window on user request and indicating this in link text</a></li>
<li><a href="http://www.w3.org/TR/2008/WD-WCAG20-TECHS-20080430/SCR24.html">WCAG 2.0: SCR24: Using progressive enhancement to open new windows on user request</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2008/10/28/should-you-or-should-you-not-have-links-open-in-a-new-windowtab/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Testing Web sites with multiple browser versions</title>
		<link>http://www.heidicool.com/blog/2008/07/14/testing-web-sites-with-multiple-browser-versions/</link>
		<comments>http://www.heidicool.com/blog/2008/07/14/testing-web-sites-with-multiple-browser-versions/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 08:45:53 +0000</pubDate>
		<dc:creator>Heidi Cool</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[Web Browsers]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[multibrowsers]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=146</guid>
		<description><![CDATA[Until recently I was one of the only nerds who had yet to upgrade to Firefox 3. I'd been waiting until I could find an easy way to install it alongside (rather than in place of) Firefox 2. When I'd tried doing this a few months ago—with the beta version of Firefox 3—it hadn't worked properly, so I'd put the idea on hold.
]]></description>
			<content:encoded><![CDATA[

<p class="photoright"><a href="http://portableapps.com/apps/internet/firefox_portable"><img alt="portableapps.com" src="http://blog.case.edu/webdev/2008/07/13/portableapps.jpg" width="240" height="238" /></a><br />
Firefox 3 from PortableApps.com (Windows)</p>

<p>Until recently I was one of the only nerds who had yet to upgrade to Firefox
3. I'd been waiting until I could find an easy way to install it alongside
(rather than in place of) Firefox 2. When I'd tried doing this a few months
ago&mdash;with the beta version of Firefox 3&mdash;it hadn't worked properly,
so I'd put the idea on hold. </p>
<p>I mentioned this in a meeting, when a colleague piped up with a simple solution.
He suggested using the PortableApps version, a standalone version of the program
that can be installed on a Flash drive&mdash;for
portability&mdash;or
simply in a directory you designate on your computer. This was so obvious I
immediately wondered why it hadn't occurred to me before, but then, practical
ideas are like that. </p>
<h5>PortableApps.com offers a plethora of portable software solutions&mdash;including
Firefox&mdash;for Windows</h5>
<p>Once I got back to my office I hopped over to <a href="http://portableapps.com/">http://portableapps.com/</a>,
looked for <a href="http://portableapps.com/apps/internet/firefox_portable">Firefox
3</a>, then proceeded to download it. Within minutes it was
installed, separately and independently of Firefox 2. When I tried to start
it up I discovered that you can't run them both at the same time&mdash;I had
to close out of 2 to open 3, then close out of 3 to reopen 2&mdash;but you
can run them on the same computer. This will be tremendously useful if I discover
some quirk in Firefox 3&mdash;such as an <a href="http://blog.case.edu/webdev/2008/04/03/firefox.html">add-on</a> that no longer works and has
yet to be updated&mdash;or if I need to see how a Web page renders in each
version. </p>
<p>That solved the problem for the Windows P. C., but what about the Macintosh? </p>
<h5>FreeSMUG: Portable Applications for OSX</h5>
<p class="photoright"><a href="http://www.freesmug.org/portableapps/firefox"><img alt="freesmug.jpg" src="http://blog.case.edu/webdev/2008/07/13/freesmug.jpg" width="240" height="199" /></a><br />Firefox 3 from FreeSMUG (Mac)
</p>
<p>A quick Google search turned up <a href="http://www.freesmug.org/portableapps/">FreeSMUG</a>'s
portable applications section. FreeSMUG offers a portable version of <a href="http://www.freesmug.org/portableapps/firefox">Firefox
3</a>&mdash;in several languages&mdash;as well as other popular open source
programs such as <a href="http://www.freesmug.org/portableapps/openoffice/">Open
Office</a> and <a href="http://www.freesmug.org/portableapps/audacity">Audacity</a>. Those new to many of the Open Source
programs available through FreeSMUG can learn more about them through a variety
of <a href="http://www.freesmug.org/tutorial">helpful tutorials</a> available on the site. </p>
<p>FreeSMUG says of its portable applications, &quot;OS X FOSS portable applications
are packaged so you can carry around on any portable device, USB thumb drive,
iPod, portable hard drive, memory card, other portable device (or also on your
internal hard disk), taking your preferences with you.&quot; This of course could
be handy for any number of reasons, but the ability to run multiple versions
of browsers to use for testing Web sites, is particularly useful to me. </p>
<h5>Why test in multiple versions of the same Web browser? Why not just upgrade? </h5>
<p>As a Web developer, you probably upgrade your browsers fairly often. That's
not true of the average user. In many cases the people who visit your site
are using the same browser that came with their computer. </p>
<p>The most popular browsers used by visitors to the Web Development Blog this
month are:</p>

<ul>
<li>Internet Explorer 7.0 - 24.6%</li>
<li>Internet Explorer 6.0 - 24.3%</li>
<li>Firefox 3.0 - 12.7%</li>
<li>Firefox 2.x - 17.8%</li>
<li>Safari - 5.4%</li>
</ul>
<p>Interestingly .5% were still using Netscape 4.0, which is over 10 years old!</p>
<p>To ensure that you, my site visitors, can view and use this site with ease,
I need to make sure that it works properly in the browsers that most of you
are using. This requires testing in multiple browsers and versions. </p>
<p>When a browser releases a minor upgrade, this isn't a big issue. But when
a Web browser makes a significant upgrade it can make a big difference. A site
that looked fine in version X, may look horrible in version Y. </p>
<p> When Internet
Explorer 7 came out, users and developers quickly noticed that many pages didn't
render properly in the new version. I.E. 7 was actually
more standards compliant than I.E. 6, but developers who had used I.E. hacks
to make pages look right in I.E. 6 found they didn't work with I.E. 7. This
led to a lot of sturm und drang about I.E. 7 &quot;breaking the Web,&quot; as
those developers needed to modify those hacks to make their sites work in both
I.E. 6 and 7. </p>
<p>Here at Case our templated sites don't rely on many I.E. hacks so they
transitioned smoothly from I.E. 6 to I.E. 7. But when I'm building new sites,
I may sometimes incorporate new styles or features that I've not used before.
This is when I make a point of testing in multiple browsers.  <a href="http://tredosoft.com/Multiple_IE">Tredosoft's
Multiple I.E. Installer</a> provides a convenient way to run different versions
of Internet Explorer on Windows XP. They also provide information for <a href="http://tredosoft.com/IE6_For_Vista_Part_1">running
I.E. 6 natively on Vista</a>. </p>
<h5>Must your site work in every browser available? </h5>
<p>No, the Web has evolved enough since 1993 that making a site backwards compatible
with every browser version is pretty much impossible. But if you adhere to
Web standards, build sites that degrade cleanly in older browsers, and test
in the browsers used by most of your readers you should be able to provide
a good user experience for all of your visitors. </p>

<h5>Web Browse Testing Resources</h5>
<ul>
<li><a href="http://browsershots.org/">Browsershots</a>  </li>
<li><a href="http://www.456bereastreet.com/archive/200702/browser_testing_css_and_javascript/">Browser testing CSS and JavaScript</a>  </li>
<li><a href="http://www.smashingmagazine.com/2007/10/02/browser-tests-services-and-compatibility-test-suites/">Browser Tests, Services and Compatibility Test Suites</a>  </li>
<li><a href="http://www.stuffandnonsense.co.uk/archives/css_browser_testing_order.html">CSS: Browser testing order</a>  </li>
<li><a href="http://www.siliconglen.com/usability/browsers.html">Why your site should work on multiple browsers</a>  </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2008/07/14/testing-web-sites-with-multiple-browser-versions/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Embedding YouTube Videos the Standards Compliant Way—SFWobject 2.0</title>
		<link>http://www.heidicool.com/blog/2008/04/20/embedding-youtube-videos-the-standards-compliant-waysfwobject-20/</link>
		<comments>http://www.heidicool.com/blog/2008/04/20/embedding-youtube-videos-the-standards-compliant-waysfwobject-20/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 03:24:50 +0000</pubDate>
		<dc:creator>Heidi Cool</dc:creator>
				<category><![CDATA[Heidi's Entries]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=132</guid>
		<description><![CDATA[As video becomes easier to produce, more and more people are creating and sharing videso online. Whether you are a professor demonstrating your research, a student working on a film project, or me creating how-to instructions, you've realized that there are times when video can enhance your Web content.

Back at the turn of the century, embedding video was complicated. Streaming required a special server, you had to decide what format(s) you wanted to stream, then you had to provide links to whatever software users might need to view your video—in case it wasn't already installed on their computers.

With YouTube, that's all changed. Now you can just go to the YouTube page for the video you wish to embed, copy the coding they provide, paste it into your html file or blog entry and publish the page.

It's just that easy—unless, like me, you care about adhering to Web standards. In that case, it requires a few more steps, but don't worry, they're not that complicated.

]]></description>
			<content:encoded><![CDATA[<p>As video becomes easier to produce, more and more people are creating and sharing videos online. Whether you are a professor demonstrating your research, a student working on a film project, or me creating how-to instructions, you've realized that there are times when video can enhance your Web content. </p>

<p class="photoright">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="425" height="350" id="myFlashContent">
<param name="movie" value="http://www.youtube.com/v/b-tYxJcFj9I&amp;hl=en" />
<param name="wmode" value="opaque" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/b-tYxJcFj9I&amp;hl=en" width="425" height="355">
<param name="wmode" value="opaque" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<br />The resolution on YouTube is not as crisp as the original. <br />
You can also view the video in <a href="http://blog.case.edu/webdev/2008/04/20/youtubeembed.mov">higher resolution .mov format</a>.</p>


<p>Back at the turn of the century, embedding video was complicated. Streaming required a special server, you had to decide what format(s) you wanted to stream, then you had to provide links to whatever software users might need to view your video&mdash;in case it wasn't already installed on their computers. </p>
<p>With <a href="http://www.youtube.com">YouTube</a>, that's all changed. Now you can just go to the YouTube page for the video you wish to embed, copy the coding they provide, paste it into your html file or blog entry and publish the page. </p>
<p>It's just that easy&mdash;unless, like me, you care about adhering to <a href="http://www.heidicool.com/blog/2007/08/28/an-introduction-to-web-standards/">Web
standards</a>. In that case, it requires a few more steps, but don't worry, they're not that complicated. YouTube videos can be embedded on the Web using swfobject.js&mdash;in a manner similar to the method I described last year in &quot;<a href="http://www.heidicool.com/blog/2007/04/19/embedding-flash-objects-for-internet-explorer/">Embedding
Flash Objects for Internet Explorer</a>.&quot; You can also use this method for embedding regular Flash .swf files. Just substitute the path to your .swf for the YouTube link in the instructions below. </p>

<h5>Downloading swfobject 2.0</h5>
<p>SWFObject 2.0 provides a significant upgrade to SWFObject 1.5&mdash;what we'd previously been using to embed Flash .swf files. To begin you will want to <a href="http://swfobject.googlecode.com/files/swfobject_2_0.zip">download
the new script</a> from the <a href="http://code.google.com/p/swfobject/">SWFobject
project page</a>. After downloading the script, you can upload it to your site, in whichever directory you prefer. <em>Note: SWFobject 2.0 is not backwards compatible with 1.5, but the script has the same file name, swfobject.js. If you are already using 1.5 on your site&mdash;and don't plan to immediately edit all the pages that use it&mdash;you should rename the file to something like swfobject2.js or store it in a different directory so that you don't write over the prior version.</em> </p>

<h5>Generate the embed code for your page</h5>
<p>While you could do this manually by following the instructions in the <a href="http://code.google.com/p/swfobject/wiki/documentation">documentation</a>, the SWFobject team has provided a rather handy Web-based code generator that we'll use in this example. </p>
<ol>
<li>Go the the YouTube page for the video you wish to embed and copy the embed code provided.</li>
<li>Paste this into a blank file in Dreamweaver or your preferred editor. We won't be using this code in our page, but we'll want it for reference.
<p class="code">&lt;object width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param
name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/b-tYxJcFj9I&amp;hl=en&quot;&gt;&lt;/param&gt;&lt;param
name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;/param&gt;&lt;embed
src=&quot;http://www.youtube.com/v/b-tYxJcFj9I&amp;hl=en&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;</p>
</li>
<li>Within this code you will see a link to the video after value=&quot;. Within
this link there may be an ampersand. <a href="http://www.html-reference.com/Escape.htm">Escape</a> the &amp; by
typing amp; after it. </li>
<li>Copy this link,<span class="code">http://www.youtube.com/v/b-tYxJcFj9I&amp;amp;hl=en</span>,
then go to the <a href="http://code.google.com/p/swfobject/wiki/generator">SWFObject
2.0 HTML and JavaScript generator</a>.</li>
<li>Paste the link in the box to the right of &quot;Flash (.swf):.&quot;</li>
<li>Near the top of the generator, choose between static and dynamic. I will
be using static in this example as dynamic would require me to put additional
code--specific to this video--in my header. Here on the blog my headers are
part of my templates so I can't use anything that would be specific to only
one entry. (The <a href="http://code.google.com/p/swfobject/wiki/documentation">documentation</a> offers
additional information on the static and dynamic methods.)</li>
<li>Copy the width and height values from the YouTube embed code and paste
them into the dimensions boxes in the generator.</li>
<li>Click on &quot;more&quot; in the SWF definition box if you like to edit
additional <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701&amp;sliceId=2">attributes</a>. </li>
<li>In the HTML definition box choose the version of XHTML or HTML and character
encoding you use on your Web site. </li>
<li>Click the &quot;Generate Code&quot; button.</li>
</ol>

<h5>Embedding the video in your page</h5>
<ol>
<li>Copy the script code found with the head of the generated output. <p class="code">&lt;script
type=&quot;text/javascript&quot; src=&quot;swfobject.js&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
swfobject.registerObject(&quot;myFlashContent&quot;, &quot;9.0.0&quot;);<br />
&lt;/script&gt; </p></li>
<li>Paste this into the head of your HTML file or blog templates. <em>Note:
Because I have already been using the previous version of SWFobject on this
blog, I named my script swfobject2.js before uploading it to the server.
Therefore I must also change the name in this code then add it to the code
that is already in my templates.</em> Thus my files will include:
<p class="code">&lt;script type=&quot;text/javascript&quot; src=&quot;swfobject.js&quot;&gt;&lt;/script&gt;<br />
&lt;script
type=&quot;text/javascript&quot; src=&quot;swfobject2.js&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
swfobject.registerObject(&quot;myFlashContent&quot;, &quot;9.0.0&quot;);<br />
&lt;/script&gt; </p></li>
<li>Copy the object code found within the body of the generated output. <p class="code">&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; width=&quot;425&quot; height=&quot;350&quot; id=&quot;myFlashContent&quot;&gt;<br />
&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/b-tYxJcFj9I&amp;amp;hl=en&quot; /&gt;<br />
&lt;param name=&quot;wmode&quot; value=&quot;opaque&quot; /&gt;<br />
&lt;!--[if !IE]&gt;--&gt;<br />
&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;http://www.youtube.com/v/b-tYxJcFj9I&amp;amp;hl=en&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;<br />
&lt;param name=&quot;wmode&quot; value=&quot;opaque&quot; /&gt;<br />
&lt;!--&lt;![endif]--&gt;<br />
&lt;a href=&quot;http://www.adobe.com/go/getflashplayer&quot;&gt;<br />
&lt;img src=&quot;http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif&quot; alt=&quot;Get Adobe Flash player&quot; /&gt;<br />
&lt;/a&gt;<br />
&lt;!--[if !IE]&gt;--&gt;<br />
&lt;/object&gt;<br />
&lt;!--&lt;![endif]--&gt;<br />
&lt;/object&gt;</p></li>
<li>Paste this into the place in your file where you would like the video to
appear. </li>
<li>Upload the file to your server and watch the video! </li>
</ol>

<h5>SWFObject Resources</h5>
<ul>
<li><a href="http://www.swffix.org/devblog/">SWFObject devblog</a></li>

<li><a href="http://groups.google.com/group/swfobject">Active Content Developer Center</a> </li>
<li><a href="http://blogs.msdn.com/ie/archive/2008/04/08/ie-automatic-component-activation-now-available.aspx">IE Automatic Component Activation Now Available</a> (Internet Explorer users will no longer have to click to activate videos embedded using the static method.) </li>
<li><a href="http://www.adobe.com/devnet/activecontent/faq.html">SWFObject discussion group</a> </li>
<li><a href="http://code.google.com/p/swfobject/wiki/SWFObject_2_0_documentation">SWFObject 2.0 Documentation</a> </li>
<li><a href="http://code.google.com/apis/youtube/js_api_reference.html">YouTube JavaScript Player API Reference</a> </li>

</ul>

<h5>About the <em>Embedding YouTube Videos the Standards Compliant Way</em> video</h5>
<p>The video screen captures were recorded using <a href="http://www.shinywhitebox.com/home/home.html">iShowU</a>, a program I discovered yesterday afternoon. The scenes were pieced together, and audio was recorded and added in <a href="http://www.apple.com/ilife/imovie/">iMovie</a>. As this was my first time experimenting with iShowU some portions of the video are a bit wobbly, but overall I found it very easy to use. I expect my skills will improve with time. </p>
<p>I'll post more about the process as I become more familiar with the software. Members of the Case Western Reserve University community interested in producing similar instructional videos may also wish to visit the <a href="http://fc.case.edu/">Freedman
Center</a> which offers tools and instructions on this and related topics. </p>

]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2008/04/20/embedding-youtube-videos-the-standards-compliant-waysfwobject-20/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
<enclosure url="http://blog.case.edu/webdev/2008/04/20/youtubeembed.mov" length="24578199" type="video/quicktime" />
		</item>
		<item>
		<title>An Introduction to Web Standards</title>
		<link>http://www.heidicool.com/blog/2007/08/28/an-introduction-to-web-standards/</link>
		<comments>http://www.heidicool.com/blog/2007/08/28/an-introduction-to-web-standards/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 02:02:53 +0000</pubDate>
		<dc:creator>Heidi Cool</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Heidi's Entries]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[Recommendations]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[webstandards]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=108</guid>
		<description><![CDATA[I've recently come to the conclusion that a great number of Web developers either don't know about Web standards, or simply don't care. For those who aren't already aware of the standards I'll offer a brief introduction along with resources for additional information. For those who don't care, or who are anti-standards, I'll offer some examples as to why I feel they're important.
]]></description>
			<content:encoded><![CDATA[<p class="photoright"> <img alt="standards.jpg" src="http://blog.case.edu/webdev/2007/08/28/standards.jpg" width="180" height="271" /><br /> Standards are simply<br />the rules of the road for the Web
</p>

<p>I've recently come to the conclusion that a great number of Web developers either don't know about Web standards, or simply don't care. For those who aren't already aware of the standards I'll offer a brief introduction along with resources for additional information. For those who don't care, or who are anti-standards, I'll offer some examples as to why I feel they're important. For those of you already in the know, feel free to add your own advice, examples or pet peeves in the comments section. </p>
<h5>The reason for  Web Standards</h5>
<p>According to the <a href="http://www.webstandards.org/about/mission/">Web Standards Project Mission</a>, <em>"<a href="http://www.w3.org/">The World Wide Web Consortium</a> (W3C), along with other groups and standards bodies, has established technologies for creating and interpreting web-based content. These technologies, which we call "web standards," are carefully designed to deliver the greatest benefits to the greatest number of web users while ensuring the long-term viability of any document published on the Web."</em></p>
<p>Think of these as the rules of the road. When you are driving a car in Ohio you know you have to drive on the right side of the road, stop at stop signs, not enter an intersection unless there is room for your vehicle on the other side, yield to pedestrians, etc. If you are driving in Hong Kong you know to drive on the left and follow the various rules relevant to that jurisdiction. Following these rules makes the driving experience more pleasant for everyone; whereas ignoring these rules will, at best, annoy other drivers and, at worst, cause a traffic related fatality. </p>
<p>In most cases, a non-standard Web site isn't likely to cause fatalities, but anything is in the realm of possibility. Errors in formatting can cause content to render incorrectly. Imagine if the word "Never" wasn't visible to users reading the sentence "Never pour gasoline on an open fire." A reader unfamiliar with the combustible nature of rising gasoline vapors could easily immolate himself. That's an extreme example, but whether your site is about fire prevention or your book club, you probably don't intend to misinform or confuse your readers. </p>
<p>Following Web standards lets you increase the odds* that your site will be properly rendered by most browsers and user agents and that your information will be more accessible to users and search engines.</p>
<p><em>* I say &quot;increase the odds&quot; rather than &quot;guarantee&quot; because there are still differences between the way browsers interpret the standards.</em> </p>
<h5>What are the Web Standards?</h5>
<p>Different standards are available for different purposes, but for the most part standards will define the type of coding that you should use when creating a Web page or stylesheet, or the procedures or policies you should consider when creating the site. Thus if you are building a site in HTML using Cascading Style Sheets, and want to ensure your site is Section 508 compliant for accessibility, you might follow the standards for <a href="http://www.w3.org/TR/html401/">HTML 4.01</a>, <a href="http://www.w3.org/TR/REC-CSS2/">CSS 2</a>, and <a href="www.access-board.gov/508.htm ">Section 508</a>.</p>

<p>For example, HTML standards specify using &lt;p&gt; to start a paragraph, &lt;h1&gt; for a primary header and &lt;em&gt; for emphasis. CSS standards specify things like color and position, so that a purple header could be defined in a stylesheet by: h1 {color:#571963}. Using a descriptive word or phrase in the alt tag of images conforms to accessibility standards (both 508 and WAI). </p>
<p>One of the most overlooked HTML standards seems to be the inclusion of the correct <a href="http://www.w3.org/QA/2002/04/valid-dtd-list.html#DTD">document type</a>. For example, if you are building a site using XHTML 1.0 (as is true of many Case sites) you would include this document type: </p>
<pre>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;  <br />&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;</pre>
<p>This small piece of code tells browsers and user agents what version of HTML you are using, so they don't have to guess when rendering the site. This is like telling <a href="http://babelfish.altavista.com/translate.dyn">Babel Fish</a> whether you want to translate a phrase from Dutch to English or from German to English. If you don't give it the right information you may not get the right result. I'm amazed by the number of sites don't include this basic information.</p>
<p>Another important standard for HTML 4.01 and XHTML 1.0 is the separation of format and presentation. &lt;h3&gt;Headline&lt;/h3&gt; is an example of format, indicating that something is a header. Styling the &lt;h3&gt; with CSS, either in the document or in an external stylesheet, to be a certain size, color and font would be an example of presentation. In the old days of the Web this was done within the HTML using the now deprecated &lt;font&gt; tag. In the past one might have typed &lt;h3&gt;&lt;font color=&quot;33ff33&quot; size=&quot;5&quot;&gt;Headline&lt;font&gt;&lt;/h3&gt;. This not only filled up your page with a lot of extra code, but it also meant that if you decided later to make all of your &lt;h3&gt;'s a different color you would have to go and change all of the font codes one by one. When using a style sheet you can define how your &lt;h3&gt;'s will look in one place. To change the color you just make the one change in the stylesheet and you are ready to go. </p>
<p>Separation of format and presentation isn't a particularly new idea, but adoption has spread slowly. CSS 1 was first introduced in 1996 and the CSS 2 recommendation has been around since 1998. While many sites use CSS, it is still not uncommon to stumble upon current sites that are still using older codes such as &lt;font&gt;. </p>

<h5>Why this has been on my mind</h5>
<p>A few weeks ago a friend sent me a link to a pretty cool looking site for an online magazine. Alas the site wasn't standards compliant and therefore didn't work properly. This particular site was Flash-based with dimensions too big to fit my screen. The page had no scroll bars so I couldn't get to the menus to navigate through the site. I could see the whole site on my Mac, but not on my Dell, and I'm pretty sure I'm not the only one to have had that problem. Since I couldn't navigate the site, they might as well have posted a page that said "Do Not Enter. We don't care about your business." If they had built a compliant site they would have ensured greater accessibility to users and not had this problem. </p>
<p>I've found a number of other non-compliant sites while working to compile a list of local Web developers. Departments without Web staff often look to outsource their Web projects and turn to me for referrals. Thus I'm trying to put together a list of local (to support the regional economy) developers  who I can trust to build compliant sites that follow the Case design scheme, maintain a logical navigational structure and support the goals of the client. This has not been an easy task. </p>
<p>The problem is that almost anyone can learn to build a Web site, <a href="http://dennisplucinik.com/blog/2007/08/23/pfff-i-could-make-a-website-big-deal-2/">but only a few can do it well</a>. There are a lot of firms out there, but the quality of work varies dramatically, and only a handful build standards compliant sites. Sites with major compliance errors don't end up on my list. This isn't just because I'm persnickety. If a site fails <a href="http://validator.w3.org/">validation</a> because of a few stray &amp;'s or they've forgotten to close a few &lt;p&gt;'s I'm not worried. Such errors are easily corrected and don't disturb the overall functionality of the site. But if a site uses &lt;font&gt; tags, doesn't include a doctype, leaves alt tags blank on all of their images, etc., then I will conclude that its designers are not professional and will not be able to offer the client the advice or service necessary to implement a successful site. </p>

<h5>Conclusion and Disclaimer</h5>
<p>If you've ever built a Web site, you've followed at least a few of the standards. The site wouldn't work if you hadn't. For example if you left out the &lt;body&gt; tag your page wouldn't render. Since we're all following some of the standards anyway, I would just encourage everyone to learn and apply more of them. As you become more familiar with them you'll find that your sites become both easier to use and easier to build. To learn more about Web standards visit <a href="http://www.webstandards.org/">The Web Standards Project</a> and the resources below.</p>
<p>Standards compliance is an ongoing goal of mine, but I'm only human. Not every site I've built is standards compliant, and the errors become more egregious the older the pages may be. Since I readily acknowledge this you don't need to go hunt them down, they are out there, and I know it!</p>

<h5>Web Standards Resources</h5>
<ul>
<li><a href="http://www.7nights.com/asterisk/archives05/web-standards/">Asterisk Web Standards Archive</a></li>
<li><a href="http://proquest.safaribooksonline.com/0321385551">Designing With Web Standards</a>, Second Edition
by Jeffrey Zeldman</li>
<li><a href="http://www.businessweek.com/innovate/content/aug2007/id2007086_670396.htm">Jeffrey Zeldman: King of Web Standards</a> (Business Week)</li>
<li><a href="http://www.section508.gov/">Section 508: The Road to Accessibility</a></li>
<li><a href="http://webstandardsgroup.org/">The Web Standards Group</a></li>
<li><a href="http://www.webstandards.org/">The Web Standards Project</a></li>
<li><a href="http://www.w3.org/TR/REC-CSS2/">W3C Cascading Style Sheets, level 2 CSS2 Specification</a></li>
<li><a href="http://www.w3.org/TR/REC-CSS1">W3C Cascading Style Sheets, level 1</a></li>
<li><a href="http://www.w3.org/TR/REC-html32">W3C HTML 3.2 Reference Specification</a></li>
<li><a href="http://www.w3.org/TR/html401/">W3C HTML 4.01 Specification</a></li>
<li><a href="http://www.w3.org/TR/xhtml1/">W3C XHTML&trade; 1.0 The Extensible HyperText Markup Language (Second Edition)</a></li>
<li><a href="http://www.w3.org/TR/">W3C Technical Reports and Publications</a></li>
<li><a href="http://www.w3.org/WAI/">Web Accessibility Initiative (WAI)</a></li>
<li><a href="http://www.w3.org/">World Wide Web Consortium (W3C)</a></li>



</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2007/08/28/an-introduction-to-web-standards/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

