<?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/html/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>5 Tips to ensure your readers can read your HTML e-mail messages</title>
		<link>http://www.heidicool.com/blog/2008/12/09/5-tips-to-ensure-your-readers-can-read-your-html-e-mail-messages/</link>
		<comments>http://www.heidicool.com/blog/2008/12/09/5-tips-to-ensure-your-readers-can-read-your-html-e-mail-messages/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 09:01:20 +0000</pubDate>
		<dc:creator>Heidi Cool</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Heidi's Entries]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=159</guid>
		<description><![CDATA[As the semester winds down, and the holiday season encroaches, it seems there are more and more events to publicize, greetings to send, end-of-year newsletters to distribute, holiday sales to promote, etc. T'is the season for HTML e-mails. Alas, as many of you know, creating and distributing an HTML e-mail message is far more complicated than building a regular Web site. As we struggled in the days of the browser wars, today we struggle with the myriad ways popular e-mail programs support HTML. Anyone who has had to create an HTML e-mail message, or has received one they couldn't read, knows what I mean. So today I'll present five tips that should help to make your e-mails readable by the masses.
]]></description>
			<content:encoded><![CDATA[
<p class="photoright">
<a href="http://blog.case.edu/webdev/2008/12/08/gothmailmacmail.jpg"><img alt="Sample message in Macmail" src="http://blog.case.edu/webdev/2008/12/08/gothmailmacmailsm.jpg" width="230" height="163" /></a><br />Sample message in Macmail<br /><br />

<a href="http://blog.case.edu/webdev/2008/12/08/gothmailgmailnoimages.jpg"><img alt="Sample message in Gmail without images" src="http://blog.case.edu/webdev/2008/12/08/gothmailgmailnoimagessm.jpg" width="230" height="118" /></a><br />
Sample message in Gmail without images<br /><br />


<a href="http://blog.case.edu/webdev/2008/12/08/gothmailoutlook2007.jpg"><img alt="Sample message in Outlook 2007" src="http://blog.case.edu/webdev/2008/12/08/gothmailoutlook2007sm.jpg" width="230" height="165" /></a><br />
Sample message in Outlook 2007<br /><br />


<a href="http://blog.case.edu/webdev/2008/12/08/gothmailoutlook2003.jpg"><img alt="Sample message in Outlook 2003" src="http://blog.case.edu/webdev/2008/12/08/gothmailoutlook2003sm.jpg" width="230" height="165" /></a><br />
Sample message in Outlook 2003
</p>

<p>As the semester winds down, and the holiday season encroaches, it seems there
are more and more events to publicize, greetings to send, end-of-year newsletters
to distribute, holiday sales to promote, etc. T'is the season for HTML e-mails.
Alas, as many of you know, creating and distributing an HTML e-mail message
is far more complicated than building a regular Web site. As we struggled in
the days of the browser wars, today we struggle with the myriad ways popular
e-mail programs support HTML. Anyone who has had to create an HTML e-mail message,
or has received one they couldn't read, knows what I mean. So today I'll present
five tips that should help to make your e-mails readable by the masses.</p>
<p>Throughout this article I'll refer to the <a href="http://blog.case.edu/webdev/samplefiles/gothmail.html">sample
Gothfest 2009 e-mail</a> pictured
(in various renditions) on the right. This sample was created with certain
features in mind to demonstrate how such an e-mail will render in different
programs. </p>
<h5>1. Use images to convey a mood or theme, not to present content.</h5>
<p>In many popular e-mail programs, the default preference is to have images
turned off in incoming messages. Thus many of us receive e-mails with little
boxes and some indicator that says "click here to load images." If you are
like me, you rely on the remaining text of the message to make you decide if
you should bother or not. Recently I received a message from a well-known business
magazine in which the only text provided stated only the name of the magazine
and its address. The subject line was equally informative in that it said something
like "Special News Update from Magazine X." </p>

<p>The rest of the content was contained in .jpg files linked in the message. This is problematic for two reasons:</p>
<ol>
<li>Sighted readers, such as me, have no way to judge whether the message is
worth reading (or not) unless we click on the image. If we're busy reading
through a long list of e-mails we may just send it to the trash. If the sender
didn't care enough to present the information clearly, then why should we care
enough to read it?</li>
<li>Readers with vision problems who rely on screenreading software have no
way to read a message that is part of an image. They are relying purely on
the text of the message and any "alt text" provided for the image. This particular
message didn't include any "alt text" so the message was lost to such recipients.</li>
</ol>

<p>We all want our messages to be read. To ensure that they are readable by everyone
in your audience, just be sure to include all the important points as actual
text. This doesn't mean you can't use images to add visual interest, it just
means that your message will be accessible to everyone whether they can see
the pictures or not. </p>
<p>In the <a href="http://blog.case.edu/webdev/2008/12/08/gothmailmacmail.jpg">Gmail
screenshot</a> on the right we see a sample message without images.
The original file contains two images, a picture of Death and a white background
image with shaded edges. Because the content is text-based the main message
is available and the alt text provides a description of the missing photo.
This would also be readable in a text-only mail program with no colors or styles
available. </p>


<h5>2. Use Tables for Layout (WHAT????)</h5>
<p>Most of us know that tables are meant for tabular data and CSS is meant for style and position. Alas many e-mail programs, including Gmail, don't support the positioning features of CSS. If you want to put text on the left and an image on the right&mdash;as I did in the sample&mdash; and you can't use the float property of CSS, you're stuck with tables.</p>
<p>To create this layout I made a table that has 3 rows of one column each. </p>
<ul>
<li>The top row has a dark background, a green bottom border and contains the
title.</li>
<li>The middle row has a white background and contains another table with one
row and two columns.
<ul>
<li>The left column contains a background image, but no background color and
features the main text. With images off the white background from the main
table will show through so that the text is still easily read.</li>
<li>The right cell has a dark background and the Death picture. With images off the picture is replaced with alt text. In our sample this is showing up as black which indicates that the table cell should be restyled to feature a lighter color. </li>
</ul></li>
<li>The bottom row has a dark background, a green top border and the opt-out message. In some of our samples the e-mail is showing up as dark blue which is hard to read against the dark background. In the Macmail version it has been re-styled in a light green that is easier to read. </li>
</ul>
<p>To get a better idea of how this was set up, <a href="http://blog.case.edu/webdev/samplefiles/gothmailcode.html">view
the source code</a>.</p>

<h5>3. Use HTML 4.0 Standards Compliant Code to the extent that you can.</h5>
<p>Going back in time to use tables makes us feel like we're breaking the rules
of HTML, but it is still possible to adhere to standards compliant HTML in
e-mail if you use the HTML 4.01 transitional <a href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">doctype</a>.
While <a href="http://blog.case.edu/webdev/2007/08/28/webstandards.html">adhering
to Web standards is a good idea</a> in general, I also find it helpful for
testing and troubleshooting e-mail files. When I find a problem in my message,
the first thing I'll do is <a href="http://validator.w3.org/check?verbose=1&amp;uri=http%3A//blog.case.edu/webdev/samplefiles/gothmail.html">validate
the file</a>. This helps me determine if the problem is a simple coding error
or if it is due to a feature not supported in one of the e-mail programs
I'm testing. By eliminating any coding errors I can then focus on the work-arounds
I may need to implement to solve the e-mail specific problem. </p>


<h5>4. Use inline styles</h5>
<p>Most of us are used to using external or embedded stylesheets. Alas, some programs don't support those. To ensure that your styles aren't ignored, use inline styles to format everything in the document. This takes more time and adds to the code, but will be accepted by more programs. For example, to style the top table cell and the header within, I used the following code:</p>

<p class="code">&lt;th scope=&quot;col&quot; width=&quot;700&quot;  style=&quot;background-color:#24333a;
border-bottom: 1px solid #87d143; color:#c02c18; text-align:left; font-family:
Georgia, serif;&quot; &gt;&lt;h1 style=&quot;margin: 10px 30px 10px 30px; letter-spacing:2px;&quot;&gt;GOTHFEST &lt;span
style=&quot;letter-spacing:0; font-weight:normal;&quot;&gt;2009&lt;/span&gt;&lt;/h1&gt;&lt;/th&gt; </p>

<p>To add an inline style to an html element just include style=&quot; &quot; and
put your regular CSS information within the quotes. </p>
<p>In this case I styled the top row
(which uses a &lt;th&gt; because it is a table header) to have a dark background,
green bottom border, red type, left-aligned text and Georgia or other available
serif font. The title was put in an &lt;h1&gt; header styled to have 10 px margin
on the top and bottom and 30px on the left and right. I also added 2px of letter
spacing. I surrounded 2009 with a span styled to use 0px of letterspacing and
a normal font weight. I incorporated the letter spacing and the 2009 span changes
mostly to see if they would be carried through in the e-mail programs I tested.  </p>
<p>Note: When coding for the Web I find padding works better to ensure files
work well in IE 6, &amp;, Firefox etc. But I've found that padding seems to fail
more often than margin in e-mails, so I use margin to ensure that I retain
space between paragraphs in as many programs as possible. </p>
<p>People sometimes worry that they'll lose too much flexibility if they try
to stick with Web standards, but this example shows that despite the limited
support of CSS in e-mail there is still room for experimentation. These styles
worked in most of the programs I tested. </p>

<h5>5. Test your mail in several different e-mail programs.</h5>
<p>The e-mail standards project provides information on what features are supported
by the most often used e-mail programs. These offer helpful guidelines, but
the only way to know what will work for your file is to test it in as many
different programs as you can. You can do this by installing several programs
on your own computer and by enlisting the aid of friends and colleagues. I
can access my work e-mail in Outlook 2003, MacMail, Gmail and Case's Webmail,
so I send myself messages then check them in each program. I haven't upgraded
to Outlook 2007 (as I'd no longer be able to test 2003) so to test that I send
messages to my colleague Kim&mdash;who patiently lets me look over her shoulder
or makes screen captures for me to evaluate. </p>

<p>As my samples indicate, your e-mail will not look the same in every program.
That's O. K. The important thing is to make sure that it renders cleanly in
each and degrades nicely if images or styles are not available. If you can
do that, you will ensure that your message doesn't get missed because of poor
formatting. </p>


<h5>I can't embed HTML code in Outlook. How do I send an HTML e-mail?</h5>
<p>How you send an HTML e-mail depends on your mailing list and the programs you have available. If you're regularly sending mass e-mails to large lists, you may wish to use an e-mail service such as Target X or Constant Contact. There are many such services available. Check with your organization to see if they already have an arrangement with a preferred vendor. </p>

<p>For occasional mailings sent to smaller lists, or via listservs such as those available through <a href="https://lists.case.edu">https://lists.case.edu</a>, you need an e-mail program that will allow you to insert HTML. Case's Webmail program, found at <a href="http://mail.case.edu">http://mail.case.edu</a> let's you paste HTML into your message body, but only if you are accessing it through Internet Explorer. </p>
<p>An easier option for most users is Mozilla's <a href="http://www.mozilla.com/en-US/thunderbird/">Thunderbird</a>,
available for Linux, Macintosh and Windows. Thunderbird is free and very easy
to install. To send an HTML e-mail just click the "Write" button to compose a new message, type in your recipients addresses and subject line then go to the "Insert" menu and choose "HTML." A box will pop up in which you can past the code from your HTML file. </p>
<h5>Learn more about HTML e-mail</h5>
<ul>
<li><a href="http://www.email-standards.org">E-mail Standards Project</a> </li>
<li><a href="http://www.alistapart.com/articles/cssemail/">CSS and Email, Kissing in a Tree</a> </li>
<li><a href="http://www.sitepoint.com/article/code-html-email-newsletters/">How to Code HTML Email Newsletters</a> </li>
<li><a href="http://arstechnica.com/news.ars/post/20070115-8619.html">Outlook 2007 change sends HTML email back to the future, for better and worse</a> </li>
<li><a href="http://www.email-standards.org">E-mail Standards Project</a> </li>

</ul>




]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2008/12/09/5-tips-to-ensure-your-readers-can-read-your-html-e-mail-messages/feed/</wfw:commentRss>
		<slash:comments>13</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>CaseLearns: 2008 Summer Semester Classes</title>
		<link>http://www.heidicool.com/blog/2008/06/06/caselearns-2008-summer-semester-classes/</link>
		<comments>http://www.heidicool.com/blog/2008/06/06/caselearns-2008-summer-semester-classes/#comments</comments>
		<pubDate>Sat, 07 Jun 2008 00:35:00 +0000</pubDate>
		<dc:creator>Heidi Cool</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[Recommendations]]></category>
		<category><![CDATA[caselearns]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=142</guid>
		<description><![CDATA[Registration is now open for summer classes at CaseLearns. Whether you're building your first Web site, adding video to your blog or just want to learn something fun, CaseLearns has a number of options available.
]]></description>
			<content:encoded><![CDATA[
<p class="photoright"><img alt="Kelvin Smith Library" src="http://blog.case.edu/webdev/2008/01/03/ksl2.jpg" width="240" height="172" /><br />Classes take place in Kelvin Smith Library</p>

<p>Registration is now open for summer classes at CaseLearns. Whether you're building your first Web site, adding video to your blog or just want to learn something fun, CaseLearns has a number of options available.</p>
<p>The classes listed below may be of particular interest to those developing or maintaining Web sites.</p>
<p>If you are new to Web design and want to learn Dreamweaver, I recommend reading <a href="http://blog.case.edu/webdev/2006/06/09/html"><em>I'm not going to teach you XHTML/HTML, but you should learn it anyway</em></a> and doing the homework assignment before taking your first Dreamweaver class. </p>

<p>All CaseLearns classes are open to current Case faculty, students and staff, emeriti faculty, alumni, and Senior Scholars. Case affiliates may register if openings are available. <em>Class schedules are subject to change</em>. Please visit the <a href="http://library.case.edu/caselearns/">CaseLearns Web site</a> for the most current information.</p>

<dl>

<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1571#SelectedItem">Adobe Acrobat 8: Introduction</a></dt>
<dd>Instructor: Debbie Korodi<br />
Prerequisites: Familiarity with Windows or Mac OS; knowledge of
Microsoft Word. <br />
Wednesday, June 18, 2008 9:00am-Noon</dd>


<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1580">Adobe Acrobat 8: Creating PDF Forms</a></dt>
<dd>Instructor: Debbie Korodi<br />
Prerequisite: Knowledge of Adobe Acrobat 8. <br />
Thursday, August 7, 2008 9:00am-Noon</dd>

<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1584">Digital Images I: Introduction &amp; Basic Photoshop</a></dt>
<dd>Instructor: Jared Bendis<br />
Wednesday, July 9, 2008 3:00-6:00pm</dd>


<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1585">Digital Images II: Advanced Photoshop</a></dt>
<dd>Instructor: Jared Bendis<br />
Prerequisite: Digital Images I: Introduction &amp; Basic Photoshop<br />
Wednesday, July 16, 2008 3:00-6:00pm</dd>


<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1592">Digital Images III: Even More Advanced Photoshop</a></dt>
<dd>Instructor: Jared Bendis<br />
Prerequisite: Digital Images I and Digital Images II<br />
Monday, July 21, 2008 3:00-6:00pm</dd>

<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1586">Dreamweaver CS3: Introduction</a></dt>
<dd>Instructor: Thomas Hayes<br />
Tuesday, July 15, 2008 1:00-4:00pm</dd>

<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1600">Dreamweaver CS3: Intermediate</a></dt>
<dd>Instructor: Thomas Hayes<br />
Thursday, July 24, 2008 1:00-4:00pm</dd>

<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1601">Dreamweaver CS3: Advanced</a></dt>
<dd>Instructor: Thomas Hayes<br />
Tuesday, July 29, 2008 1:00-4:00pm</dd>

<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1606">How To Make Web Pages Using HTML: Part 1</a></dt>
<dd>Instructor: Thomas Hayes<br />
Tuesday, August 12, 2008 1:00-5:00pm</dd>


<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1607">How To Make Web Pages Using HTML: Part 2</a></dt>
<dd>Thursday, August 14, 2008 1:00-5:00pm</dd>


<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1588">Introduction to Pachyderm</a></dt>
<dd>Instructor: Jared Bendis<br />
Wednesday, July 30, 2008 3:00-6:00pm</dd>


<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1595">Understanding RSS Feeds</a></dt>
<dd>Instructor: Brian Gray<br />
Thursday, July 17, 2008 10:00am-Noon</dd>


<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1586">Video Workshop I: Introduction To Digital Video</a></dt>
<dd>Instructor: Jared Bendis<br />
Thursday, July 10, 2008 3:00-6:00pm</dd>


<dt><a href="http://library.case.edu/caselearns/CustRegistration.aspx?sched_id=1587">Video Workshop II: Advanced Digital Video</a></dt>
<dd>Instructor: Jared Bendis<br />
Prerequisite: Introduction to Digital Video<br />
Thursday, July 17, 2008 3:00-6:00pm</dd>
</dl>


]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2008/06/06/caselearns-2008-summer-semester-classes/feed/</wfw:commentRss>
		<slash:comments>2</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>
		<item>
		<title>I&#8217;m not going to teach you XHTML/HTML: Homework Review</title>
		<link>http://www.heidicool.com/blog/2006/07/11/im-not-going-to-teach-you-xhtmlhtml-homework-review/</link>
		<comments>http://www.heidicool.com/blog/2006/07/11/im-not-going-to-teach-you-xhtmlhtml-homework-review/#comments</comments>
		<pubDate>Wed, 12 Jul 2006 00:49:20 +0000</pubDate>
		<dc:creator>Heidi Cool</dc:creator>
				<category><![CDATA[Heidi's Entries]]></category>
		<category><![CDATA[Html]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=52</guid>
		<description><![CDATA[Last month in my entry about HTML/XHTML I provided a homework assignment for those who wanted to try learning a bit of XHTML. I know some of you are still working on the project, but as I've completed it myself, I'll walk you through some of the elements of the site. If you have not [...]]]></description>
			<content:encoded><![CDATA[<p class="photoright"><a href="http://www.case.edu/webdev/hactest/wolves/"><img alt="wolfweb.jpg" src="http://blog.case.edu/webdev/2006/07/11/wolfweb.jpg" width="280" height="231" /></a></p>
<p>Last month in <a href="http://www.heidicool.com/blog/2006/06/09/im-not-going-to-teach-you-xhtmlhtml-but-you-should-learn-it-anyway/">my entry about <br />HTML/XHTML</a> I provided a homework assignment for those who wanted to try learning a bit of XHTML. I know some of you are still working on the project, but as I've completed it myself, I'll walk you through some of the elements of the site. </p>

<p>If you have not yet started the project, you should go ahead and give it a try before reading this, but I leave it to you to decide what works best for your learning style. </p>
<h5>My results</h5>
<p>On the right is a screen capture of the site I built, <em><a href="http://www.case.edu/webdev/hactest/wolves/">Wolves, our social cousins</a></em>. As you can see, there isn't much to it. Per the instructions, I included a photograph, headers, links, and list elements. I didn't apply any style formatting so nothing has been done to affect color, font or positioning of the elements on the page. </p>
<p>While the site isn't visually interesting, it is visually informative. The use of headers such as h1's, h3's and h6's help to differentiate between title, page header and footer. The use of a list for the menu makes that easy to follow as well.</p>
<h5>Content</h5>
<p>Given the reason for building the site, I spent very little time researching and writing about wolves. Anyone hungry to learn about wolves will be disappointed. Knowing this, I explained the reason for the site on the "<a href="http://www.case.edu/webdev/hactest/wolves/about.html">About this site</a>" page and included my contact information. Were this a serious site, it would still be important to include a page explaining the parameters and scope of the project.</p>

<h5>About the document structure</h5>
<p>You can view the complete code used to build this by <a href="http://www.case.edu/webdev/hactest/wolves/index.html">going to the site</a> and selecting "view source" from your browser menu. What follows is a breakdown of the elements used, with some general information about each.   </p>

<p class="code">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-<br />transitional.dtd&quot;&gt;</p>

<p>The Document Type declaration is used to tell user agents such as Web browsers what type of code was used to create the document so that they may render it appropriately. The World Wide Web Consortium maintains a <a href="http://www.w3.org/QA/2002/04/valid-dtd-list.html#DTD">list of valid document types</a>. </p>

<p class="code">&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
</p>
<p>The html tag indicates the start of the document, the format (XHTML) and the language (English).</p>

<p class="code">&lt;head&gt;  <br />
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;  <br />
&lt;title&gt;Wolves: a web site demo&lt;/title&gt;  <br />
&lt;meta name=&quot;Keywords&quot; content=&quot;wolves, unstyled web site, sample web site for tutorial&quot; /&gt;  <br />
&lt;meta name=&quot;Description&quot; content=&quot;Sample web site to demonstrate simple xhtml files without any style formatting&quot; /&gt;  <br />
&lt;meta name=&quot;author&quot; content=&quot;Heidi Adams Cool&quot; /&gt;  <br />
&lt;/head&gt;
</p>
<p>Information within the header provides additional information to the browser, such as the page title&mdash;which is shown at the top of a browser window&mdash;and meta tags which can provide added information to search engines. In this example I've included author information, a brief description of the site, and keywords related to the site. While keywords help search engines reference your page, it is more important for them to be accurate than plentiful. A list of 200 keywords will not raise your site rankings, whereas a short list of words or phrases&mdash;specific to your site&mdash;will complement the other data these engines collect. </p>

<p class="code">&lt;body&gt;    </p>
<p>All content intended to be read or heard by users is enclosed within the body tags.</p>

<p class="code">&lt;h1&gt;&lt;img src=&quot;wolf.gif&quot; alt=&quot;wolf head&quot; /&gt; Wolves: our social cousins&lt;/h1&gt;    </p>
<p>The title of the site is enclosed within opening and closing h1 tags. In XHTML all elements must include both the opening and closing tags. In earlier versions of HTML, opening tags alone were sufficient. XHTML provides headers h1 through h6 with h1 being the largest. They should be used from large to small in descending order of importance. The words contained in headers are also referenced by search engines to help determine what is the most important content on your site. If one rendered the same words in plain paragraphs with bold text, user agents would not be able to recognize them as being more important.</p>
<p>In this example I have enclosed the wolf image within the h1 tag in order to affect it's placement on the page. When using CSS, I would handle the image separately. The img tag is "self-closing." As there is only the one tag it incorporates a closing slash at the end before the angle bracket. Manual line breaks &lt;br /&gt; and horizontal rules &lt;hr /&gt; also function in this manner. </p>

<p class="code">&lt;ul&gt;  <br />&lt;li&gt;&lt;a href=&quot;index.html&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;  <br />&lt;li&gt;&lt;a href=&quot;about.html&quot;&gt;About this site&lt;/a&gt;&lt;/li&gt;  <br />&lt;li&gt;&lt;a href=&quot;species.html&quot;&gt;Species&lt;/a&gt;&lt;/li&gt;  <br />&lt;li&gt;&lt;a href=&quot;haiku.html&quot;&gt;Haiku&lt;/a&gt;&lt;/li&gt;  <br />&lt;li&gt;&lt;a href=&quot;links.html&quot;&gt;Links&lt;/a&gt;&lt;/li&gt;  <br />&lt;/ul&gt;</p>
<p>Here I've treated our menu as an unordered list. When I later add CSS to the page this will allow me to control whether the list has bullets or not, whether it is vertical or horizontal, etc. The linking words are enclosed within opening and closing anchor tags. As each page is located in the same folder I have used short "relative" links that use only the file name.</p>
<p>When including adjacent links in a document, such as those found in a menu, the use of a list helps to differentiate them. If instead we had put these in a paragraph with manual line breaks, user agents wouldn't easily know where one link ends and another begins. This is of particular importance for browsers for the visually impaired. When lists are not practical, you should always remember to put an actual character such as a comma or vertical bar between such links. </p>

<p class="code">&lt;h3&gt;Home&lt;/h3&gt;</p>
<p>Here I've enclosed the page header within h3 tags. I could just as easily have used an h2, but by skipping that I can save that tag for something more important if necessary. In the Case templates, we use h2's on the opening page of a site within the gray or colored box, and h3's for individual page headers. </p>

<p class="code">&lt;p&gt;Wolves are a member of the family, &lt;a href=&quot;http://en.wikipedia.org/wiki/Canid&quot;&gt;Canidae&lt;/a&gt;, which also includes dogs, foxes, coyotes, and jackals.  It is thought that wolf-like animals evolved from a common ancestor 2-3 million years ago, while more familiar species such as the gray wolf probably emerged 1 million years ago. &lt;/p&gt;  </p>
<p class="code">&lt;p&gt;Like dogs, and our own species, humans, wolves are social creatures. Whether hunting prey or nurturing their young, wolves work together for the good of the pack. &lt;/p&gt;  </p>
<p>Most of your text will be enclosed in paragraph tags as shown here.</p>

<p class="code">&lt;h6&gt;Questions? Contact &lt;a href=&quot;mail:cool@case.edu&quot;&gt;cool@case.edu&lt;/a&gt; or visit the &lt;a href=&quot;http://blog.case.edu/webdev&quot;&gt;Web Development Blog&lt;/a&gt; at &lt;a href=&quot;http://www.case.edu&quot;&gt;Case Western Reserve University&lt;/a&gt;.&lt;/h6&gt;
</p>
<p>I enclosed the footer information in h6's. While I could have used paragraph tags, I think the use of the header tags helps to distinguish this content from the main text. The use of the smaller header also indicates that it is of less importance to the subject than are the h3's. I feel it is important to include some sort of contact information in the footer. If a user finds an error on your page or has a question he/she needs to have a way of contacting you. If the contact person for the site is different than the content person for the subject matter, then you should include both somewhere on the site.</p>
<p>You will notice that the footer includes links to an e-mail address and to an external site. The external site makes use of a full url (uniform resource locator, aka address) in which the http:// designates that the link uses the hypertext protocol. The e-mail address begins with mailto: to indicate that it uses the mail protocol. </p>

<p class="code">&lt;/body&gt;
&lt;/html&gt;  </p>

<p>As with other tags, the body and html tags must be closed. </p>
<p>To learn more about the tags used in this document, and XHTML in general, visit the resources <a href="http://blog.case.edu/webdev/2006/06/09/im_not_going_to_teach_you_xhtmlhtml_but_you_should_learn_it_anyway">listed in the previous entry.</a> For our next project, we'll add the functionality of cascading style sheets to make our site look a bit spiffier.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2006/07/11/im-not-going-to-teach-you-xhtmlhtml-homework-review/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>I&#8217;m not going to teach you XHTML/HTML, but you should learn it anyway</title>
		<link>http://www.heidicool.com/blog/2006/06/09/im-not-going-to-teach-you-xhtmlhtml-but-you-should-learn-it-anyway/</link>
		<comments>http://www.heidicool.com/blog/2006/06/09/im-not-going-to-teach-you-xhtmlhtml-but-you-should-learn-it-anyway/#comments</comments>
		<pubDate>Sat, 10 Jun 2006 00:15:55 +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[XHTML]]></category>

		<guid isPermaLink="false">http://www.heidicool.com/blog/?p=48</guid>
		<description><![CDATA[If you are already comfortable editing in HTML or XHTML, then you may want to just skip to the bottom and bookmark some of the resources I've listed for future reference. But if you've just been given the responsibility of maintaining or building a new site for your department, you may be wondering where to [...]]]></description>
			<content:encoded><![CDATA[<p>If you are already comfortable editing in HTML or XHTML, then you may want to just skip to the bottom and bookmark some of the resources I've listed for future reference. But if you've just been given the responsibility of maintaining or building a new site for your department, you may be wondering where to begin. If you've done the requisite site planning, as described in my <a href="http://www.heidicool.com/blog/tutorial">Planning Your Website Tutorial</a>, then you are almost ready to begin building or editing your pages. </p>
<p>To build a new site you will need to <a href="http://www.case.edu/webdev/webtoolkit/download/index.html">download
the appropriate template files</a>, and make sure you have the appropriate editing software on your computer. Case recommends using
Dreamweaver as your XHTML editor. Dreamweaver is available&mdash;through the <a href="http://softwarecenter.case.edu">Software
Center</a>&mdash;as a component of <a href="http://www.adobe.com/products/studio/">Macromedia Studio 8</a>. Dreamweaver is a great tool, but it is only a tool. A hammer is a useful tool for hitting a nail into a wall, but it still depends on you to both hold the nail, and to guide the hammer with appropriate force and precision. Similarly, Dreamweaver requires you to tell it what to do with the content you type or paste into it. You will find it is far easier to control Dreamweaver if you understand the basics of HTML and XHTML. </p>

<h5>What are XHMTL and HTML?</h5>
<p>XHTML (Extensible HyperText Markup Language) and HTML (HyperText Markup Language) are forms of SGML (Standard Generalized Mark-up Language) which allow users to define the structure of a document and its component parts. The first version of HTML was developed in 1989-1990 by <a href="http://www.w3.org/People/Berners-Lee/">Tim Berners-Lee</a> and was fundamental to his invention of the World Wide Web. <a href="http://www.w3.org/TR/1999/REC-html401-19991224/">HTML 4.01</a> is the most current version. XHTML extends the abilities of HTML and can work in conjunction with <a href="http://www.xml.com/pub/a/98/10/guide0.html">XML</a>. Case Web templates use <a href="http://www.w3.org/TR/xhtml1/">XHTML 1.0</a> Transitional. </p>
<p>While I've included links to the specifications above, don't worry too much about the technical stuff. For your purposes you mostly need to understand that HTML and XHTML allow you to define areas of a document such as the body, headers, paragraphs, links and images so that a Web browser or other user agent knows how to structure the elements. Note that I said <em>structure</em> rather than <em>present</em>. Presentational elements which control the look of a site, such as font, color, boldness, and alignment, are not controlled through XHTML or HTML 4.01. Instead they are controlled by Cascading Style Sheets (CSS). XHTML handles structure, while CSS handles style. I'll discuss CSS more carefully in a separate post.</p>
<h5>Building your first site in XHTML 1.0: A homework project</h5>
<p>I find it is easier to learn by doing, so what I usually recommend is that you build yourself a little Web site from scratch. Knowing that you have your Case templates and Dreamweaver already installed, I want you to leave them closed in their folders and ignore them. We will not be using either for this project. </p>
<h5>Your assignment</h5>
<p>Using a plain text editor, build a five page Web site (in XHTML 1.0) about your
favorite animal. You should be sure to include your site title on each page, topical
headers on each page, subheads when appropriate, at least one bulleted list, and
a navigational menu. Each page should include links to other pages within the site
and to external Web sites, and a link to an e-mail address. I would like you to
include at least one photograph or illustration (please only use images you have
permission to use), but I do not want you to apply any styling such as font choice
or color to the site. We will do that in our next project, learning CSS. Once your site is complete, go to <a href="http://validator.w3.org/">http://validator.w3.org/</a> to make sure your code is valid. Then post a link to your site in the comments area below so that we can all see how you've done!</p>
<h5>Tools to complete the project</h5>
<ul>
<li><strong>Text Editor</strong>: If you are using Windows, I recommend Notepad. If you are on an older Mac, use SimpleText, on a newer Mac, TextEdit. Users of other operating systems, such as Linux, should use whatever plain text editor they prefer. DO NOT USE WORD, WORDPERFECT OR OTHER WORD PROCESSING PROGRAMS.</li>
<li><strong>Image Editor</strong>: Adobe Photoshop CS2 is available through the <a href="http://softwarecenter.case.edu">Software Center</a>, but you may use whatever program you prefer. For this project you will probably only need it to resize your image.</li>
<li><strong>A place to post your site</strong>: Case students, staff and faculty may sign up for free space at <a href="http://filer.case.edu">http://filer.case.edu</a>. Others should consult with their ISP to see if Web space is included in their account, or sign up with a free service such as <a href="http://geocities.yahoo.com/join/">http://geocities.yahoo.com/join/</a>.</li>
<li><strong>A method to upload files to your site</strong>: FTP (File Transfer Protocol) was once the dominant choice for uploading files, but is now joined by many others including Secure FTP and <a href="http://filer.case.edu/wiki/filer/webdav">WebDAV</a>. A variety of stand-alone clients are available, FTP is built into Dreamweaver, and Mac OS X has built-in WebDav support. <a href="http://filer.case.edu">http://filer.case.edu</a> supports FTP and WebDav, but also offers an easy-to-use Web interface for file transfers. Your host provider should let you know which protocol they support.</li>
<li><strong>A Web browser to view your site</strong>. If you are reading this online, you already have one, however, I recommend <a href="http://www.mozilla.com/">Firefox</a>. </li>
</ul>
<p class="photoright"><img alt="books.jpg" src="http://blog.case.edu/webdev/2006/06/09/books.jpg" width="160" height="620" />
</p>
<h5><a name="books" id="books"></a>Resources for learning XHTML and HTML</h5>
<p>As I indicated in the title, I'm not going to teach you the code. Many others have provided perfectly good resources for this. The ones I used back in the dark ages of the early 1990's are now well out-of-date, and I've not read any of the following in their entirety, but I have read and skimmed bits of each, and they seem sufficient. Please make sure not to use any resources geared to older versions of HTML as they will include code that is no longer in use. </p>
<h5>HTML Books</h5>
<p>Safari Proquest subscribers, including users from many universities, can read these online at no cost. For others I've included links for ordering the books from Amazon.com. </p>
<dl>
<dt><em><a href="http://proquest.safaribooksonline.com/0789728958">Absolute Beginner's Guide to Creating Web Pages, Second
Edition</a></em> By Todd Stauffer</dt>
<dd>This book seems to cover all of the basics, and provides some background information about the Web that you may find interesting. Even without reading the entire book it should give you the information you need to build the site for our assignment. The author recommends testing your site locally, but I think you will be better served by uploading your pages as you go and testing them in a live environment. <em>Purchase <a href="http://www.amazon.com/gp/product/0789728958?ie=UTF8&#038;tag=heidcomwebdes-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=0789728958">Absolute Beginner's Guide to Creating Web Pages (2nd Edition)</a><img src="http://www.assoc-amazon.com/e/ir?t=heidcomwebdes-20&#038;l=as2&#038;o=1&#038;a=0789728958" width="1" height="1"  alt=""   /> from Amazon.</em></dd>

<dt><a href="http://proquest.safaribooksonline.com/0321130073"><em>HTML for the World Wide Web, Sixth Edition, with XHTML
and CSS: Visual QuickStart Guide</em></a> By Elizabeth Castro</dt>
<dd>While a bit dryer than the previous title, <em>Chapter 3. Basic
(X)HTML Structure</em> walks you directly through the process of building a
page, and should provide you everything you need to complete this project. You can skip the chapters on formatting as  we'll be using CSS to apply formatting in a future assignment. <em>Purchase <a href="http://www.amazon.com/gp/product/0321430840?ie=UTF8&#038;tag=heidcomwebdes-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0321430840">HTML, XHTML, and CSS, Sixth Edition</a><img src="http://www.assoc-amazon.com/e/ir?t=heidcomwebdes-20&#038;l=as2&#038;o=1&#038;a=0321430840" width="1" height="1"  alt=""   /> from Amazon.</em>
</dd>

<dt><em><a href="http://proquest.safaribooksonline.com/0321385551">Designing With Web Standards</a></em> By Jeffrey Zeldman</dt>
<dd>While more advanced than the the other two books, this is the most accurate and precise of the three, specifically because Zeldman's focus is adherence to Web standards. Once you've gotten a feel for the basics of HTML, this book will help you understand how and why to use proper structural code. Jeffrey Zeldman is one of the foremost experts in this field, and also runs the popular and very helpful e-zine, <a href="http://www.alistapart.com/">A List Apart</a>. <em>Purchase <a href="http://www.amazon.com/gp/product/0321616952?ie=UTF8&#038;tag=heidcomwebdes-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=0321616952">Designing with Web Standards (3rd Edition)</a><img src="http://www.assoc-amazon.com/e/ir?t=heidcomwebdes-20&#038;l=as2&#038;o=1&#038;a=0321616952" width="1" height="1"   alt=""   /> from Amazon.</em>
</dd>
</dl>
<h5>Online Resources</h5>
<dl>
<dt><a href="http://www.w3schools.com">W3 Schools</a></dt>
<dd>W3 Schools offers tutorials on a variety of Web related topics including <a href="http://www.w3schools.com/html/default.asp">HTML</a> and <a href="http://www.w3schools.com/xhtml/default.asp">XHTML</a>. Their XHTML tutorial expects you to know HTML, so read that one first. </dd>

<dt><a href="http://www.yourhtmlsource.com/">HTML Source</a></dt>
<dd>These easy-to-follow tutorials range from "My first site" to more advanced topics such as CGI Scripting. Some of the tutorials include deprecated code, but they also explain why these are no longer recommended, so that users gain additional understanding.</dd>


<dt><a href="http://validator.w3.org/">W3C Markup Validation Service</a></dt>
<dd>This resource checks your Web page to let you know if your code is valid, and if it is not, what the errors may be. Very handy both for ensuring clean code, and for finding errors that may be causing problems in your pages.</dd>

<dt><a href="http://www.w3.org/">The World Wide Web Consortium (W3C)</a></dt>
<dd>While no single entity owns or controls the Web (though <a href="http://blog.case.edu/mxs24/2006/06/09/saving_the_internet_the_importance_of_net_neutrality">the
telcos are trying to change that</a>) the W3C can be considered the defining authority. As the developers of Web standards and guidelines their <a href="http://www.w3.org/Consortium/">mission</a> is "<em>To
lead the World Wide Web to its full potential by developing protocols and guidelines
that ensure long-term growth for the Web</em>." Their site includes all of the official recommendations and a variety of reference materials.</dd>

</dl>

<p>There are many other reference materials available online, but the above should be sufficient to get you started. So go ahead, open up your text editor, give it a try, and let us know how it turns out!</p>

<p>Next: <a href="http://www.heidicool.com/blog/2006/07/11/im-not-going-to-teach-you-xhtmlhtml-homework-review/">Homework Review</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.heidicool.com/blog/2006/06/09/im-not-going-to-teach-you-xhtmlhtml-but-you-should-learn-it-anyway/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

