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

<channel>
	<title>everything about web</title>
	<atom:link href="http://www.everythingaboutweb.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.everythingaboutweb.com</link>
	<description></description>
	<lastBuildDate>Tue, 17 Apr 2012 00:39:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Embedding font using Cufón</title>
		<link>http://www.everythingaboutweb.com/build/embedding-font-using-cufon/</link>
		<comments>http://www.everythingaboutweb.com/build/embedding-font-using-cufon/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 00:39:37 +0000</pubDate>
		<dc:creator>jamie</dc:creator>
				<category><![CDATA[build]]></category>
		<category><![CDATA[intermediate]]></category>

		<guid isPermaLink="false">http://www.everythingaboutweb.com/?p=472</guid>
		<description><![CDATA[Cufón Cufón aims to become a worthy alternative to sIFR, (sIFR, or Scalable Inman Flash Replacement, is a technology that allows you to replace text elements on screen with Flash equivalents), which despite its merits still remains painfully tricky to set up and use. To achieve this ambitious goal the [...]]]></description>
			<content:encoded><![CDATA[<h3>Cufón</h3>
<p>Cufón aims to become a worthy alternative to sIFR, (sIFR, or Scalable Inman Flash Replacement, is a technology that allows you to replace text elements on screen with Flash equivalents), which despite its merits still remains painfully tricky to set up and use. To achieve this ambitious goal the following requirements were set:</p>
<p><em>No plug-ins required </em>– it can only use features natively supported by the client<br />
<em>Compatibility </em>– it has to work on every major browser on the market<br />
<em>Ease of use </em>– no or near-zero configuration needed for standard use cases<br />
<em>Speed</em> – it has to be fast, even for sufficiently large amounts of text<br />
And now, after nearly a year of planning and research we believe that these requirements have been met.</p>
<h6>So, how does it work?</h6>
<p>Cufón consists of a font generator, which converts fonts to a proprietary format and a rendering engine written in JavaScript.</p>
<p>The following browsers are supported:</p>
<ul>
<li>Internet Explorer 6, 7 and 8</li>
<li>Internet Explorer 9 beta <small>(as of 1.09i)</small></li>
<li>Mozilla Firefox 1.5+</li>
<li>Safari 3+</li>
<li>Opera 9.5+ <small>(9.01+ as of 1.10)</small></li>
<li>Google Chrome 1.0+</li>
<li>iOS 2.0+</li>
<li>Opera Mini (to a certain degree)</li>
</ul>
<p><strong>Step 1 – Get cufón!</strong></p>
<p>It is highly recommended that you always use the YUI-compressed version of cufón, available from the cufón website.<br />
<a href="http://cufon.shoqolate.com/generate/" target="_blank">http://cufon.shoqolate.com/generate/</a></p>
<p>Updating to a newer version? Just replace your old cufon-yui.js with the new one and you’re good to go. Fonts need not be converted again.</p>
<p>Should you experience problems or if you just want to poke around a little, you may also use the uncompressed version, available from GitHub.</p>
<p><strong>Step 2 – Generate a font</strong></p>
<p>You may use the font generator at our website or run a copy of your own. If you plan on going for the latter option you’re probably clever enough to figure out how to get it running – the source is available from GitHub.</p>
<p>The name of the resulting file will include the name of the font and the weight of the font (as a number – 400 is equivalent to “normal” and 600 means “bold”). So, for example, the bold version of Bitstream Vera Sans would result in a file called Bitstream_Vera_Sans_600.font.js. The name of the file doesn’t actually matter at all, but it makes it easier for you to identify your fonts.</p>
<p>Using the generator should be pretty straightforward.</p>
<p><strong>Step 3 – Replacing text</strong></p>
<pre>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html&gt;

&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
&lt;script src="cufon-yui.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="Vegur_300.font.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
Cufon.replace('h1');
&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;h1&gt;This text will be shown in Vegur.&lt;/h1&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>For the purposes of this example you may ignore everything that is not contained by &lt;head&gt;.</p>
<p>So what exactly happens here?</p>
<p><em>First, we include the YUI compressed version of cufón that you should always use.</em></p>
<p><em>Then we include the font that we converted in Step 2.</em> Nothing special here, you include it just like you would any other JavaScript file. So far so good.</p>
<p><em>Then we get to the magic part. We want to replace all &lt;h1&gt; elements in the document. And that’s exactly what the tell cufón to do, with Cufon.replace(‘h1′). </em>Nothing else is needed, cufón will use the CSS rules associated with the elements and determine what to do. You should not place Cufon.replace inside $(document).ready or similar functionality because it will make Step 4 ineffective.</p>
<p>In order to avoid unnecessary duplication cufón does not come bundled with a selector engine, which means that by default you’ll only be able to use tag names (such as h1) as selectors. However, cufón detects quite a few popular JavaScript frameworks (such as jQuery, MooTools, Dojo and Prototype) automatically, so if you’re using one you’ll only need to include it before cufón and things like Cufon.replace(‘#content &gt; h1:first-child’) and Cufon.replace(‘#nav a’) will work just fine.</p>
<p><strong>Step 4 – Making Internet Explorer behave</strong></p>
<p>Unfortunately one problem remains with Internet Explorer. In most cases, there is a short but visible delay before the text is replaced. You can avoid this issue by inserting the following snippet right before the closing &lt;/body&gt; tag (or before any external scripts such as Google Analytics):</p>
<p><em>&lt;script type=”text/javascript”&gt; Cufon.now(); &lt;/script&gt;</em></p>
<p>And the delay is gone. For a more in-depth example, see API.</p>
<p>Note: This step will hopefully become obsolete in the future.</p>
<p><strong>Using multiple fonts</strong></p>
<p>To use multiple fonts you only need to specify which font you want to use and you’re set:</p>
<pre>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"&gt;
&lt;html&gt;

&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
&lt;script src="cufon-yui.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="Vegur_300.font.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="Myriad_Pro_400.font.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
Cufon.replace('h1', { fontFamily: 'Vegur' });
Cufon.replace('h2', { fontFamily: 'Myriad Pro' });
&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;h1&gt;This text will be shown in Vegur.&lt;/h1&gt;
&lt;h2&gt;This text will be shown in Myriad Pro.&lt;/h2&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>If not specified, cufón will use the font that was loaded last (in this case it would be Myriad Pro), which is why there was no need to specify the font in the first example.</p>
<p><strong>Notes</strong></p>
<p>For simplicity, all examples use the HTML4 strict doctype instead of an XHTML doctype. You may use any doctype you want but a strict (X)HTML doctype will always yield best results. Quirks mode isn’t supported but might also work in some cases.</p>
<p>All cufón-enabled pages must be UTF-8 encoded. Compatible encodings, such as US-ASCII, are also fine</p>
<p>Above information found here: <a href="http://wiki.github.com/sorccu/cufon/usage" target="_blank">http://wiki.github.com/sorccu/cufon/usage</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everythingaboutweb.com/build/embedding-font-using-cufon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Navigation Basics</title>
		<link>http://www.everythingaboutweb.com/beginner/navigation-basics/</link>
		<comments>http://www.everythingaboutweb.com/beginner/navigation-basics/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 21:56:08 +0000</pubDate>
		<dc:creator>jamie</dc:creator>
				<category><![CDATA[beginner]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.everythingaboutweb.com/?p=469</guid>
		<description><![CDATA[Navigation Navigation design is very important because all web sites need navigation, and if you can design successful navigation, your site will make for a good user-experience. Navigation design is one of the main distinctions between print and web design. Good web designers must know how to design successful navigational [...]]]></description>
			<content:encoded><![CDATA[<h5>Navigation</h5>
<p>Navigation design is very important because all web sites need navigation, and if you can design successful navigation, your site will make for a good user-experience. <strong>Navigation design is one of the main distinctions between print and web design</strong>. Good web designers must know how to design successful navigational interfaces for the web.</p>
<p>So how do you start when thinking about designing a navigational system?</p>
<p><strong>There are three basic questions a well-designed navigational system must answer.</strong><br />
Navigation should answer these questions:</p>
<p><strong>1) Where am I?</strong> (Present)<br />
<strong>2) Where else can I go?</strong> (Future)<br />
<strong>3) Where have I been?</strong> (Past)</p>
<p>A good way to remember these 3 important questions is to think about the importance of answering where the user is in the <strong>Present, Future, and Past</strong>.</p>
<p>Also of importance are the additional questions below:</p>
<p><strong>What’s here? </strong><br />
<strong>How do I go forward?</strong><br />
<strong>How do I get back?</strong></p>
<p>In addition to answering the basic questions outlined above, a well-designed navigational system must also <strong>serve the goals of the site</strong>. Examples of specific navigation challenges based on the goals of the site could be things like:</p>
<p>How do I place an order?<br />
How do I search the site?<br />
How do I contact customer service?<br />
How do donate money to this organization?</p>
<p>The more versatile the navigation, the more successful it will be because it will serve a variety of users.</p>
<p><strong>As a designer you must ask yourself: What does the user who visits the site want?</strong></p>
<p>Examples of what a <em>user</em> may want:<br />
To find information<br />
To publish something<br />
To purchase something<br />
To interact with someone<br />
To read what someone else thinks about something</p>
<p><strong>As a designer you must ask yourself: What does stakeholder (client) of the site want?</strong> (And of course, you should ask a lot of questions so you understand what your client wants for the site.</p>
<p>Examples of what a <em>client (stakeholder)</em> may want:<br />
To share information<br />
To make money<br />
To get feedback<br />
To teach something</p>
<p>It’s important to explore these questions before starting to design the navigation for your site.</p>
<p>Another way to think about navigation is the discussion from our readings for this week</p>
<p><a href="http://en.wikipedia.org/wiki/Wayfinding">Wayfinding</a> has four core components:</p>
<ol>
<li>Orientation: Where am I am right now?</li>
<li>Route decisions: Can I find the way to where I want to go?</li>
<li>Mental mapping: Are my experiences consistent and understandable enough to know where I’ve been and to predict where I should go next?</li>
<li>Closure: Can I recognize that I have arrived in the right place?</li>
</ol>
<blockquote><p>Consistency is the golden rule of interface design and wayfinding, but there is a paradox at the heart of consistency: if everything looks the same, <em>there are no edges</em>. How can you tell where you are or when you have moved from one space to another? A well-designed site navigation system is built on a consistent page grid, terminology, and navigation links, but it also incorporates the visual flexibility to create identifiable regions and edges within the larger space.</p></blockquote>
<h5>Navigation design “rules”</h5>
<p>The following are general rules to follow when designing navigation in a web site. They are only rules, and as the saying goes, rules are made to be broken– just have a good reason to break them!</p>
<h6><strong>Consistency</strong></h6>
<p>People are very habitual, and it’s therefore very important to keep navigational elements the same throughout a web site. This is generally referred to as “persistent navigation,” keeping your navigation consistent from page to page. Navigation located at the footer of a web page is common and can act as persistent navigation for a site.</p>
<p>You want people to concentrate on your content, and they won’t if they have to figure out a different navigation system on every page. This is true for:</p>
<ul>
<li>Placement on the page. Keep similar functions in the same place on the page. E.g. if you have a “home page” link on all your pages, put that link in the same place on every page.</li>
</ul>
<ul>
<li>Visual design. Use consistent names, icons, or other visual cues for navigation throughout the site. E.g. the icon for the “home page” link should be the same everywhere.</li>
</ul>
<p><strong>Note:</strong> Some people incorrectly create navigation systems that drop the current page link from the navigation bar. This may seem “efficient” since there is no reason to have a link to the page you are already on. But this approach violates the principle of consistency, since the links in the navigation bar would be in a different place on every page. It also violates the rule below for indicating the current page, because a better approach is to highlight the current page in the navigation bar (while making the link inactive).</p>
<h6><strong>7 +/- 2 rule</strong></h6>
<ul>
<li>In general, people have a hard time keeping track of more than 7 items (plus or minus 2) at a time. This means that 7 is a good number of navigational links but you can have anywhere between 5-9 navigational links on a page, people may get confused or have a hard time understanding the navigation. On the other hand, you often want to provide more than 7 links, which leads to:</li>
</ul>
<h6><strong>Group Navigation</strong></h6>
<p>If you have a lot of links on a page, try organizing them into related sets of 7+-2. For example, a food site could group links to fruits, vegetables, herbs, fish, poultry, and red meats together, while grouping links to nutrition info, health tips, recipes, meal planning, and cutlery in a different location on the page. Some ways to group navigational elements are:</p>
<ul>
<li>Proximity. Place similar navigational elements together on the page, separated from other groups.</li>
<li>Style. Give each group of navigational elements its own visual design.</li>
</ul>
<h6><strong>Keep it simple</strong></h6>
<p>Don’t make people work hard to get where they want to go. The harder it is, the less people will use the navigation. Some things to avoid:</p>
<ul>
<li>Excessive scrolling. Don’t make users scroll all over the page to get to links. Keep in mind the typical size of your audience’s screen. If the user needs to scroll, make them scroll only in one direction–vertical or horizontal.</li>
<li>Excessive hierarchy. Keep the number of levels of hierarchy to a minimum. Try to make any page on the site available within 2 clicks at a maximum.</li>
</ul>
<h6><strong>Where are we?</strong></h6>
<p>Always identify the name or function of the current page. This can be done by highlighting the navigation to indicate the current page. The name of the page should also be incorporated into the design layout. In a typical page, the user should be able to see where they are by the navigation bar and by a page heading.</p>
<p>If the site is complex, it’s important to indicate where the current page is in relation to the rest of the site. If possible, combine your navigation with a visual layout so as to indicate the current location. This is called the trail of <strong>bread crumbs or breadcrumbing</strong>. E.g. you could have a navigation bar that shows the path to the page such as: “home&gt;products&gt;vacuum cleaners”, where both “home” and “products” are active links to their respective pages in the hierarchy. Not only does this indicate to the user where they are, but it allows them to skip to any level of the hierarchy, eliminating the need to see the intermediate pages.</p>
<p><strong>Next versus numbered pages.</strong> When the user can navigate to additional pages you generally want to use numbered pages versus a “next” button. Or both as is often the case on such sites as the New York Times.</p>
<p><strong>Avoid “Hub and spokes.”</strong> When you can’t see the all the navigation or categories again without going back to the main page, this is often referred to as “Hub and spokes” The user must return to the “hub” to find other choices. As a designer you want to avoid this and develop a more consistent navigation scheme.</p>
<p><img title="highlights" src="http://www.webstyleguide.com/wsg3/figures/4-interface-design/4-5-700.jpg" alt="" width="700" height="324" /></p>
<h6>Multiple Navigation</h6>
<p>There is no single way that users will navigate through the site. People have different goals, search methodologies, attentiveness, previous knowledge, and ways of looking at the content of the site. Even gender can affect navigation.</p>
<ul>
<li>Provide ways for people to traverse across the hierarchy to short-circuit the formal organization. For example, if there is a contact page on a site, it’s useful to have a link to it on every page. This way, the user can navigate across directly to the contact page, OR navigate up to home and then down to the contact page.</li>
<li><strong>Sequential vs. directed</strong>. Think of users as if they are finding their way within the content. This way-finding sometimes involves users who want to be lead through the information, and this involves a sequential organization (e.g. start here, go here next). Other times, the user will be looking for specific content, and they need a logical and categorical system that enables them to find what they need. Try to provide navigation that satifies both, or provide multiple navigation systems</li>
<li><strong>Search vs. grazing</strong>. Sometimes people will be searching for specific information, other times they will graze and meander on the site until the find something interesting. Your navigation should accommodate both techniques, and again, sometimes more than one navigation system is needed.</li>
<li>Draw people to the content with different techniques: pull quotes, side bars, contextual links, short summaries or outlines. Use links to turn these into alternate navigation systems.</li>
</ul>
<p>Hide versus show sub-nav</p>
<ul>
<li>Use sub-headings as part of the primary navigation</li>
<li>Rollovers or dropdown menus to reveal sub-navigation</li>
</ul>
<p>Depending on the amount of content and number of subpages underneath the main sections of the web site, the navigation design should reveal the subnavigation in some way.</p>
<p><strong>Different types of navigational graphics and indicators</strong><br />
Here are some of the graphics and indicators a designer can use to create navigation. Some of the options are:</p>
<ul>
<li>CSS Rollover</li>
<li>Dropdown Menu</li>
<li>Breadcrumbing</li>
<li>Image maps</li>
</ul>
<h6>Other Issues that impact the way you design navigation</h6>
<ul>
<li><strong>Site goals:</strong> The goals of the site will greatly affect design of the site and the navigational system. An e-commerce site will have a different type of navigation than a site for a non-profit institution.</li>
<li><strong>Information Architecture</strong>: You wouldn’t build a house without plans, you cannot build a website without them either. And until you have the plan (commonly referred to as the “sitemap”) you cannot begin designing your site. The sitemap functions as the “blueprint” for the structure of your site.</li>
<li><strong>Design comps</strong>: Developing a “look and feel” requires creating a design comp for how your site is going to look. Creating the look and feel first will be important and will influence the design of your navigation.</li>
<li><strong>Accessibility issues:</strong> Every website should have a plan on how to be accessible to as many people as possible. These accessibility issues with also impact the design of your site and your navigation.</li>
<li><strong>Usability issues:</strong> After you have designed the navigation you’ll need to test it to see how successfully it meets the goals of the site and whether the site and the navigation what is commonly called “user friendly.”<strong></strong></li>
</ul>
<h5>Interface Design Conventions</h5>
<p><img title="interface design conventions" src="http://www.webstyleguide.com/wsg3/figures/4-interface-design/4-17-700.jpg" alt="" width="700" height="494" /><br />
Figure 4.17 — A canonical page layout. Not every page includes every element shown here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.everythingaboutweb.com/beginner/navigation-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code for HTML5/CSS Layout</title>
		<link>http://www.everythingaboutweb.com/build/code-for-html5-css-layout/</link>
		<comments>http://www.everythingaboutweb.com/build/code-for-html5-css-layout/#comments</comments>
		<pubDate>Thu, 08 Mar 2012 22:02:29 +0000</pubDate>
		<dc:creator>jamie</dc:creator>
				<category><![CDATA[build]]></category>
		<category><![CDATA[intermediate]]></category>

		<guid isPermaLink="false">http://www.everythingaboutweb.com/?p=459</guid>
		<description><![CDATA[HTML 5/CSS Layout Replacing HTML 4 (top) with HTML 5 (bottom) Replacing this: HTML 5 example &#60;!DOCTYPE HTML&#62; &#60;html&#62; &#60;head&#62; &#60;title&#62;A sample HTML5 document&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;header&#62; &#60;h1&#62;Sample document&#60;/h1&#62; &#60;/header&#62; &#60;section&#62; &#60;article&#62; &#60;h2&#62;Subheading&#60;/h2&#62; This is some of the content of the document. &#60;/article&#62; &#60;article&#62; &#60;h2&#62;Subheading 2&#60;/h2&#62; This is some more [...]]]></description>
			<content:encoded><![CDATA[<h5>HTML 5/CSS Layout</h5>
<p><strong>Replacing HTML 4</strong> (top) with <strong>HTML 5</strong> (bottom)</p>
<h6>Replacing this:<br />
<img src="http://www.everythingaboutweb.com/classes/images/html5.png" alt="" /><br />
HTML 5 example</h6>
<pre>&lt;!DOCTYPE HTML&gt;
&lt;html&gt;

     &lt;head&gt;
     &lt;title&gt;A sample HTML5 document&lt;/title&gt;
     &lt;/head&gt;

  &lt;body&gt;
      &lt;header&gt;
         &lt;h1&gt;Sample document&lt;/h1&gt;
      &lt;/header&gt;

      &lt;section&gt;
          &lt;article&gt;
          &lt;h2&gt;Subheading&lt;/h2&gt;
          This is some of the content of the document.
          &lt;/article&gt;

          &lt;article&gt;
          &lt;h2&gt;Subheading 2&lt;/h2&gt;
          This is some more content, in a different section of the document.
          &lt;/article&gt;

      &lt;/section&gt;

      &lt;footer&gt;
     &lt;a href="mailto:me@opera.com"&gt;Chris Mills&lt;/a&gt; &amp;copy; 2009
      &lt;/footer&gt;

  &lt;/body&gt;
&lt;/html&gt;</pre>
<p>Nothing has changed that radically—the elements are a bit different, but they reflect common semantics that you find on many websites that developers tend to create using &lt;div&gt; elements, for example &lt;div id=&#8221;header&#8221;&gt;, which is replaced with &lt;header&gt; in HTML5. You’ll also notice that the DOCTYPE is much simpler than the ones you saw earlier.</p>
<p>Try it yourself!<br />
You can start experimenting with these new elements already, even though browsers don’t yet officially support them. All you have to do is write a rule in your CSS to make them all display as block elements. Try this out!</p>
<p><strong>For HTML 5 to work on all browsers, you must add the following property to your CSS file.</strong></p>
<pre>article, section, aside, hgroup, nav, header, footer, figure, figcaption
{ display: block;
}</pre>
<p><strong>For HTML 5 to work with IE, you need to add this to the script below to the &lt;head&gt; of your HTML file.</strong></p>
<pre>&lt;script&gt;
document.createElement('article');
document.createElement('section');
document.createElement('aside');
document.createElement('hgroup');
document.createElement('nav');
document.createElement('header');
document.createElement('footer');
document.createElement('figure');
document.createElement('figcaption');
&lt;/script&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.everythingaboutweb.com/build/code-for-html5-css-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intermediate CSS Layout &#8211; Apple iPod</title>
		<link>http://www.everythingaboutweb.com/build/intermediate-css-layout/</link>
		<comments>http://www.everythingaboutweb.com/build/intermediate-css-layout/#comments</comments>
		<pubDate>Thu, 08 Mar 2012 07:07:15 +0000</pubDate>
		<dc:creator>jamie</dc:creator>
				<category><![CDATA[build]]></category>
		<category><![CDATA[intermediate]]></category>

		<guid isPermaLink="false">http://www.everythingaboutweb.com/?p=452</guid>
		<description><![CDATA[Column CSS Layout with HTML5 (Apple iPod) Basic HTML4: Three Column Layout &#60;html&#62; &#60;head&#62; &#60;title&#62;&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;div id="wrapper"&#62; &#60;div id="header"&#62; &#60;div id="nav"&#62;&#60;/div&#62; &#60;/div&#62; &#60;div id="left_side"&#62;&#60;/div&#62; &#60;div id="content"&#62;&#60;/div&#62; &#60;div id="right_side"&#62;&#60;/div&#62; &#60;div id="footer"&#62;&#60;/div&#62; &#60;/div&#62; &#60;/body&#62; &#60;/html&#62; Basic HTML5: Three Column Layout &#60;!DOCTYPE html&#62; &#60;head&#62; &#60;title&#62;&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;div id="wrapper"&#62; &#60;header&#62; &#60;nav&#62;&#60;/nav&#62; [...]]]></description>
			<content:encoded><![CDATA[<h5>Column CSS Layout with HTML5 (Apple iPod)</h5>
<p><a href="http://www.everythingaboutweb.com/classes/images/ipod_finalFull.jpg" target="_blank"><img src="http://www.everythingaboutweb.com/classes/images/ipod_final.jpg" alt="" /></a></p>
<h5>Basic HTML4: Three Column Layout</h5>
<pre>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;

  &lt;div id="wrapper"&gt;

       &lt;div id="header"&gt;
            &lt;div id="nav"&gt;&lt;/div&gt;
       &lt;/div&gt;

       &lt;div id="left_side"&gt;&lt;/div&gt;

       &lt;div id="content"&gt;&lt;/div&gt;

       &lt;div id="right_side"&gt;&lt;/div&gt;

       &lt;div id="footer"&gt;&lt;/div&gt;

  &lt;/div&gt;
&lt;/body&gt;

&lt;/html&gt;</pre>
<h5>Basic HTML5: Three Column Layout</h5>
<pre>&lt;!DOCTYPE html&gt;
&lt;head&gt;
   &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;

 &lt;div id="wrapper"&gt;

        &lt;header&gt;
          &lt;nav&gt;&lt;/nav&gt;
        &lt;/header&gt;

        &lt;aside id="left_side"&gt;&lt;/aside&gt;

        &lt;div id="content"&gt;&lt;/div&gt;

        &lt;aside id="right_side"&gt;&lt;/aside&gt;

      &lt;footer&gt;&lt;/footer&gt;

  &lt;/div&gt;
&lt;/body&gt;

&lt;/html&gt;</pre>
<h5>Basic CSS3: Three Column Layout</h5>
<pre>/* ----- [ HTML 5 Element Display ] ----- */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
display: block;
}

/* ----- [ General Elements ] ----- */

* { margin:0;
   padding:0:
}

body {
    font-size: 62.5%;
}

img {
    border: none;
}

#wrapper {
    width: 980px;
    margin-right: auto;
    margin-left: auto;
    background-color: #f5f6f7;
}

header {
    width:980px;

}

#left_side {
    width:175px;
    float:left;
    margin-left: 5px;
}

#content  {
    width:596px;
    float:left;
    margin-bottom: 15px;
    margin-right: 10px;
    margin-left: 10px;
}

#right_side{
    width:175px;
    float:right;
    margin-right: 5px;
}

footer {
    clear:both;
    width: 980px;
    background-color: #666;
}

/* ----- [ Navigational menu ] ----- */

nav {
 width: 980px;
 height: 35px;
}</pre>
<h5>CSS: Add below code to CSS to make it compatible across browsers</h5>
<pre>article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
display: block;
}</pre>
<h5>Script: Add below script inside HTML head tag to make page compatible with Internet Explorer</h5>
<pre>&lt;script&gt;
document.createElement('article');
document.createElement('section');
document.createElement('aside');
document.createElement('hgroup');
document.createElement('nav');
document.createElement('header');
document.createElement('footer');
document.createElement('figure');
document.createElement('figcaption');
&lt;/script&gt;</pre>
<h5>Rounded corners are created adding the following code in your CSS</h5>
<pre>-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border: 1px solid #d8d9da;</pre>
<h5>HTML5: Three Column Layout</h5>
<p>Here&#8217;s how to start:</p>
<ol>
<li>Determine Layout: <a href="http://markup.io/v/htgyy7t3y0ek" target="_blank">http://markup.io/v/htgyy7t3y0ek</a></li>
<li>Know where you&#8217;re going to get your &#8220;starter code.&#8221;</li>
<li>Create your file structure</li>
<li>Create your index.html</li>
<li>Create your style.css</li>
<li>Attach your .css to your .html<br />
<strong>Navigation</strong></li>
<li>HTML: Insert the unordered list and list items tags for your navigation</li>
<li>CSS: Remove the bullets, display the list as block and float to the left<br />
<strong>&#8220;Slider&#8221;</strong></li>
<li>Insert slider div and image into header<br />
<strong>Content</strong></li>
<li>Insert a main_photo div and insert image</li>
<li>Insert 3 bottom divs and float all three to left<br />
<strong>Footer</strong></li>
<li>Insert the footer nav image in the footer div.</li>
</ol>
<p><strong>Do the rest on your own. This is fantastic practice!</strong></p>
<h5>See Demo page</h5>
<p><a title="Apple iPod" href=" http://www.everythingaboutweb.com/classes/examples/ipod_final/html5/" target="_blank"> http://www.everythingaboutweb.com/classes/examples/ipod_final/html5/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everythingaboutweb.com/build/intermediate-css-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dreamweaver : Inserting Images</title>
		<link>http://www.everythingaboutweb.com/beginner/dreamweaver-inserting-images/</link>
		<comments>http://www.everythingaboutweb.com/beginner/dreamweaver-inserting-images/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 05:37:32 +0000</pubDate>
		<dc:creator>jamie</dc:creator>
				<category><![CDATA[beginner]]></category>
		<category><![CDATA[build]]></category>

		<guid isPermaLink="false">http://www.everythingaboutweb.com/?p=445</guid>
		<description><![CDATA[Getting Started: Placing images On The Page http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs05-placing-images-on-the-page/ Inserting images Web pages are usually a combination of text and images, and Dreamweaver allows you to place, adjust and to a limited extent, set the layout of images on the page. Keep in mind that HTML is a page MARKUP language, [...]]]></description>
			<content:encoded><![CDATA[<h6>Getting Started: Placing images On The Page</h6>
<p><object width="640" height="385" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="FlashVars" value="fileID=6035&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="src" value="http://images.tv.adobe.com/swf/player.swf" /><param name="flashvars" value="fileID=6035&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="allowfullscreen" value="true" /><embed width="640" height="385" type="application/x-shockwave-flash" src="http://images.tv.adobe.com/swf/player.swf" allowFullScreen="true" allowscriptaccess="always" FlashVars="fileID=6035&amp;context=428&amp;embeded=true&amp;environment=production" flashvars="fileID=6035&amp;context=428&amp;embeded=true&amp;environment=production" allowfullscreen="true" /></object></p>
<p><a href="http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs05-placing-images-on-the-page/" target="_blank">http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs05-placing-images-on-the-page/</a></p>
<h5>Inserting images</h5>
<p>Web pages are usually a combination of text and images, and Dreamweaver allows you to place, adjust and to a limited extent, set the layout of images on the page. Keep in mind that <strong>HTML is a page MARKUP language, not a page LAYOUT language</strong>, so you may find yourself being frustrated at your lack of ability to position images exactly on the page.</p>
<p>A quick way to get images for use in making test web pages is to “borrow” the images from other web pages. This approach is only for learning purposes, and <strong>you must not use this method for commercial purposes</strong> since this would violate the rights of the copyright owner of the image.</p>
<p>To copy an image from a web page, place the cursor over the image, and right-click (pc) or control-click (Mac). A menu will pop-up, and you can select “Save Image As…”. Browse to the location on your disk where the web page is, and save the file in the same location as the web page. Here are some images to use for this exercise, one is a JPEG, and one is a GIF file.</p>
<table width="516" border="1">
<tbody>
<tr>
<td valign="top" height="244"><img src="http://www.jamiecavanaugh.com/classes/images/flower.jpg" alt="flower" width="250" height="166" border="0" /><br />
<strong>flower.jpg</strong></td>
<td align="left" valign="top" height="244"><img src="http://www.jamiecavanaugh.com/classes/images/flower.gif" alt="" width="250" height="166" border="0" /><br />
<strong>flower.gif</strong></td>
</tr>
</tbody>
</table>
<p>Image: <a href="http://www.freedigitalphotos.net" target="_blank">FreeDigitalPhotos.net</a></p>
<p>Once you have an image to work with, these are the steps for putting an image in a web page.</p>
<ul>
<li><strong>Placing an image.</strong> To place an image on a page, first, place your cursor and CLICK in the location on the page where you want the image to show up. Then, click on the image icon <img src="http://www.everythingaboutweb.com/classes/images/insert_image_icon.gif" alt="" width="28" height="28" border="0" />in the Insert palette. It will request the name of the image, whichyou can use the open dialog to set. Once the image is displayed on the page, you can set it’s characteristics in the Property Inspector.</li>
<li><strong>Adjusting the size of the image.</strong> Click on the image to select it. Then you can change the displayed size by clicking and dragging the small black squares that appear on the edges of the image when you select it.</li>
<li><strong>Making an image a link.</strong> Click on the image to select it. In the Property Inspector put the link in the Link section. You may also want to put a zero in the Border section to prevent the blue line that will appear around an image to indicate it is a link.</li>
<li><strong>Flowing text around an image.</strong> By default, text does not flow nicely around images. To enable text flowing, select the image, and then set the Align setting to <strong>Left</strong> or <strong>Right</strong>. This will place the image on the left or right of the browser screen, and text will flow around it. You may need to reposition the image to get text to flow around the image at the point you want.</li>
<li><strong>Adjusting the margins around an image.</strong> When text flows around the image, it “hugs” the image very closely by default. You can increase the margin around the image by adjusting the horizontal and vertical spacing. Select the image, and then put the number of pixels of space you want in the Vspace and Hspace sections of the Property Inspector.</li>
</ul>
<p><img src="http://www.jamiecavanaugh.com/classes/images/dreamweaver_property_image2.gif" alt="" width="571" height="100" border="0" /></p>
<p>Note that the inspector is taller than in the text example above. You make this happen by clicking on the small triangle in the</p>
<p>lower right hand corner of the palette. Experiment with the following:</p>
<ul>
<li>Change the height and width of the image</li>
<li>Reset the size of the image to its natural size by clicking on the “<span style="text-decoration: underline;">W</span>” and “<span style="text-decoration: underline;">H</span>“. When the width or height number is bold, the dimension is different from the natural size.</li>
<li>Change the alignment so text wraps around the image</li>
<li>Set the alt attribute of an image</li>
<li>Make the image a link</li>
<li>Change the VSpace and Hspace to change the margin around an image when text if flowing around it</li>
</ul>
<h5>Image maps</h5>
<p>Image maps are links created inside of images.</p>
<p>Image maps allow you specify multiple links inside of a single image. The links are tied to shapes overlaid on the image, which can be rectangles, circles, or polygons.</p>
<p>This is especially useful when mocking up a website. Rather than taking time to create many separate images (by slicing or other means), you can quickly create your complete web pages in Illustrator or Photoshop and export them as complete pages. Then use image maps for any links on the page.</p>
<p>In Dreamweaver, create an image map by clicking on the image, then naming the imagemap in the lower left corner of the property inspector. Once the map is named, you can create multiple links by drawing a shape, and then associating the URL with the link, using the tools in the property inspector.</p>
<p><img src="http://www.everythingaboutweb.com/classes/images/imagemaps.gif" alt="" width="192" height="95" border="0" /></p>
<p>The following image has four links, one over the logo and over each navigational “button”.</p>
<p><img src="http://www.everythingaboutweb.com/classes/images/image_map2.gif" alt="" width="575" height="104" border="0" /></p>
<p>Making an image map:</p>
<ol>
<li>Click on the image</li>
<li>Set the name of the map in the lower left of the property inspector (lowercase, no spaces, no special characters!)</li>
<li>Select a shape (rectangle, circle, or polygon) from the lower left</li>
<li>Draw a shape with the drawing tool</li>
<li>Dreamweaver will create a translucent shape for your hotspot</li>
<li>Enter a URL or local web page file name in the Link section</li>
<li>If you want a link to open in a new browser window, set the “Target” selection to “_blank”</li>
<li>Set the “ALT” section to the desired alternate text</li>
<li>Create additional hotspots by repeating steps 3-8</li>
<li>When you’ve finished, click on the arrow in the lower left of the property inspector to turn off the map drawing.</li>
</ol>
<h6>Getting Started: Creating Links in Dreamweaver</h6>
<p><object width="640" height="385" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="FlashVars" value="fileID=6036&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="src" value="http://images.tv.adobe.com/swf/player.swf" /><param name="flashvars" value="fileID=6036&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="allowfullscreen" value="true" /><embed width="640" height="385" type="application/x-shockwave-flash" src="http://images.tv.adobe.com/swf/player.swf" allowFullScreen="true" allowscriptaccess="always" FlashVars="fileID=6036&amp;context=428&amp;embeded=true&amp;environment=production" flashvars="fileID=6036&amp;context=428&amp;embeded=true&amp;environment=production" allowfullscreen="true" /></object></p>
<p><a href="http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs06-creating-links-in-dreamweaver/" target="_blank">http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs06-creating-links-in-dreamweaver/</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.everythingaboutweb.com/beginner/dreamweaver-inserting-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dreamweaver Introduction</title>
		<link>http://www.everythingaboutweb.com/beginner/dreamweaver-introduction/</link>
		<comments>http://www.everythingaboutweb.com/beginner/dreamweaver-introduction/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 05:34:53 +0000</pubDate>
		<dc:creator>jamie</dc:creator>
				<category><![CDATA[beginner]]></category>
		<category><![CDATA[build]]></category>

		<guid isPermaLink="false">http://www.everythingaboutweb.com/?p=442</guid>
		<description><![CDATA[Dreamweaver introduction Getting Started: 01 What is Dreamweaver http://tv.adobe.com/watch/learn-dreamweaver-cs5/getting-started-gs-what-is-dreamweaver-cs5-/ Dreamweaver is an HTML editor and an application for creating web pages. All web pages are simple text files that use HTML (and sometimes JavaScript) to describe the page. HTML (Hypertext Markup Language) is a standardized language that can be viewed [...]]]></description>
			<content:encoded><![CDATA[<h5><strong>Dreamweaver introduction</strong></h5>
<h6><strong>Getting Started: 01 What is Dreamweaver</strong></h6>
<p><object width="640" height="385" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="FlashVars" value="fileID=6030&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="src" value="http://images.tv.adobe.com/swf/player.swf" /><param name="flashvars" value="fileID=6030&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="allowfullscreen" value="true" /><embed width="640" height="385" type="application/x-shockwave-flash" src="http://images.tv.adobe.com/swf/player.swf" allowFullScreen="true" allowscriptaccess="always" FlashVars="fileID=6030&amp;context=428&amp;embeded=true&amp;environment=production" flashvars="fileID=6030&amp;context=428&amp;embeded=true&amp;environment=production" allowfullscreen="true" /></object><br />
<a href="%20http://tv.adobe.com/watch/learn-dreamweaver-cs5/getting-started-gs-what-is-dreamweaver-cs5-/" target="_blank"></p>
<p>http://tv.adobe.com/watch/learn-dreamweaver-cs5/getting-started-gs-what-is-dreamweaver-cs5-/</a></p>
<p>Dreamweaver is an HTML editor and an application for creating web pages. All web pages are simple text files that use HTML (and sometimes JavaScript) to describe the page. HTML (Hypertext Markup Language) is a standardized language that can be viewed with any web browser or other web page application.<strong> </strong></p>
<p>Because web pages are made up of HTML, Dreamweaver does not create special Dreamweaver files. On the PC, you may find that if you double click on .html files, they will open in Explorer or Safari rather than Dreamweaver. As a result, it’s best to open your .html files from within Dreamweaver.</p>
<p>Dreamweaver is just a page formatting application, and is not capable of creating any media elements other than text. You must use Photoshop, Flash, or other applications to create images, animations, sounds, etc. Dreamweaver does not create the page for you &#8212; you need to understand the basics of page structure and layout in order to understand how to best use Dreamweaver. When it comes to building a web page, Dreamweaver is not smarter than you. Similar to the application InDesign which does not design a brochure for you, Dreamweaver does not automatically build a website for you. Both of these applications are only tools. You have to understand how to build a website in order to best use Dreamweaver.</p>
<h6>Getting Started: 02 Defining a New Site</h6>
<p><object width="640" height="385" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="FlashVars" value="fileID=6031&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="src" value="http://images.tv.adobe.com/swf/player.swf" /><param name="flashvars" value="fileID=6031&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="allowfullscreen" value="true" /><embed width="640" height="385" type="application/x-shockwave-flash" src="http://images.tv.adobe.com/swf/player.swf" allowFullScreen="true" allowscriptaccess="always" FlashVars="fileID=6031&amp;context=428&amp;embeded=true&amp;environment=production" flashvars="fileID=6031&amp;context=428&amp;embeded=true&amp;environment=production" allowfullscreen="true" /></object><br />
<a href="%20http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs01-defining-a-new-site/" target="_blank"></p>
<p>http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs01-defining-a-new-site/</a></p>
<h6><strong>Getting Started: </strong>Creating New Documents</h6>
<p><object width="640" height="385" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="FlashVars" value="fileID=6032&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="src" value="http://images.tv.adobe.com/swf/player.swf" /><param name="flashvars" value="fileID=6032&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="allowfullscreen" value="true" /><embed width="640" height="385" type="application/x-shockwave-flash" src="http://images.tv.adobe.com/swf/player.swf" allowFullScreen="true" allowscriptaccess="always" FlashVars="fileID=6032&amp;context=428&amp;embeded=true&amp;environment=production" flashvars="fileID=6032&amp;context=428&amp;embeded=true&amp;environment=production" allowfullscreen="true" /></object></p>
<p><a href="http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs02-creating-new-documents/" target="_blank">http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs02-creating-new-documents/</a></p>
<h6><strong>Creating a new web page in Dreamweaver</strong></h6>
<ul>
<li>Select FILE&gt;NEW</li>
<li>Immediately save the file in a good location on your disk before you do anything else. Select FILE&gt;SAVE, and browse to the location on your disk. It’s necessary to save first because many web page features (such as showing images) rely on links to other files. These links only make sense in terms of where the web page is in relation to the linked file.</li>
<li>Give the file a name. This name should be <strong>all lower case</strong>, and have <strong>no spaces between words</strong>.</li>
<li>SAVE the file</li>
<li>There are two windows to use when creating web pages:<strong><br />
Document</strong>. This window shows you what the web page will look like &#8211; more or less. It is also the place where you can place text, images, and other elements. Any changes you make here will be automatically reflected in the HTML Window.<strong><br />
Code Inspector</strong>. This window shows the raw HTML (and other code such as JavaScript). You can write HTML directly in this window, and any changes you make will be reflected in the Document window when you switch to the document window, press F5, or perform a Save (control-s for PC or command-s for Mac).</li>
</ul>
<h6><strong>Previewing in the browser</strong></h6>
<p>Dreamweaver is a WYSIWYG (What You See Is What You Get) authoring tool, and you can see how your web page is going to look in the Document window. But it is not perfect or complete in the way it displays web pages. As a result, you must preview your web pages in a real web browser such as Safari or Firefox. When you have built a page to the point where you want to check how it looks, save your file, then select FILE&gt;PREVIEW IN BROWSER&gt;SAFARI (or Explorer or Firefox).</p>
<h6><strong>Dreamweaver Windows</strong></h6>
<p><strong>Document</strong>. This window shows you what the web page will look like &#8211; more or less. It is also the place where you can place text, images, and other elements. Any changes you make here will be automatically reflected in the HTML Window.</p>
<p><strong>Properties.</strong> This window is one of the most important and is used to show and set any properties of the currently selected element (image, table, text, etc.). For example, when you have some an image selected, you use this window to set the vspace and hspace.</p>
<p><strong>Insert.</strong> This small palette is a shortcut menu used to place items into the current web page. For example, in the COMMON section, click on the icon with the tree to place an image in the document (at the current insert location). Each tab in the Insert menu brings up a different set of features for working with your document.</p>
<p><strong>Site.</strong> This window servers two main purposes. First, it shows the way files are organized in your web site, and it allows you to open files without using the File&gt;Open dialog. Second, it’s an FTP (File Transfer Protocol) client, which enables you to transfer your HTML files from the computer where you create them, to the web server where the files will be visible from the Web.</p>
<p><strong>Behaviors</strong>. This window shows where interactive actions are added to text or graphic elements in the page. The most common behavior to add in Dreamweaver is for swap image, where an image changes when the user moves the cursor over the image. Two things are defined for each behavior, an event and an action. The event is the situation that causes something to happen. The action is what is activated when the event occurs.</p>
<h6><strong>Page properties</strong></h6>
<p>Every web page has global properties that can be set in the menu MODIFY&gt;PAGE PROPERTIES… Important properties to be set are:</p>
<ul>
<li><strong>Title.</strong> This text does not appear in the body of the document. It sets the <strong>text to be displayed in the top bar of the browser window</strong>. You can also set the page title in toolbar of the document window.</li>
<li><strong>Background Color.</strong> If this property is not set, the background color of the web page is undefined (although most web browsers will display it as white). Set this property to control the color of the background.</li>
<li><strong>Background Image.</strong> This optional property allows you to use an image as a repeating, tiled background for the entire page.</li>
<li><strong>Page margins</strong>. There are settings which control the margin at the top and left of the page. Most designerslike to eliminate these margins so they have complete control over the page layout. To do this, set LEFT MARGIN, TOP MARGIN, MARGIN HEIGHT, MARGIN WIDTH all to zero (there are four settings to accomodate Explorer).</li>
</ul>
<h6><strong>The document toolbar</strong></h6>
<p>The Dreamweaver toolbar contains some common commands related to your view selection and your document’s status, plus a field for setting the page title. The Options menu items (button located on the right) change depending on the view you select.</p>
<p><img src="http://www.everythingaboutweb.com/classes/images/dreamweaver_document_bar.gif" alt="document toolbar" width="500" height="200" border="0" /><br />
Of particular note are the three buttons on the left. They allow you to quickly change the window view:</p>
<ul>
<li>Design View &#8211; where you see how the page will appear in a browser</li>
<li>Code and Design View &#8211; a split page view where you see the code at the top, and the design at the bottom</li>
<li>Code View &#8211; where you see only the code that describes the page</li>
</ul>
<h6>Getting Started: Adding Structure to Text</h6>
<p><object width="640" height="385" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="FlashVars" value="fileID=6033&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="src" value="http://images.tv.adobe.com/swf/player.swf" /><param name="flashvars" value="fileID=6033&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="allowfullscreen" value="true" /><embed width="640" height="385" type="application/x-shockwave-flash" src="http://images.tv.adobe.com/swf/player.swf" allowFullScreen="true" allowscriptaccess="always" FlashVars="fileID=6033&amp;context=428&amp;embeded=true&amp;environment=production" flashvars="fileID=6033&amp;context=428&amp;embeded=true&amp;environment=production" allowfullscreen="true" /></object><br />
<a href="%20http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs03-adding-structure-to-text/" target="_blank"></p>
<p>http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs03-adding-structure-to-text/</a></p>
<h6>Getting Started: Managing Assets in Dreamweaver</h6>
<p><object width="640" height="385" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="FlashVars" value="fileID=6034&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="src" value="http://images.tv.adobe.com/swf/player.swf" /><param name="flashvars" value="fileID=6034&amp;context=428&amp;embeded=true&amp;environment=production" /><param name="allowfullscreen" value="true" /><embed width="640" height="385" type="application/x-shockwave-flash" src="http://images.tv.adobe.com/swf/player.swf" allowFullScreen="true" allowscriptaccess="always" FlashVars="fileID=6034&amp;context=428&amp;embeded=true&amp;environment=production" flashvars="fileID=6034&amp;context=428&amp;embeded=true&amp;environment=production" allowfullscreen="true" /></object></p>
<p><a href="http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs04-managing-assets-in-dreamweaver/" target="_blank">http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs04-managing-assets-in-dreamweaver/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everythingaboutweb.com/beginner/dreamweaver-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dreamweaver : Inserting Tables</title>
		<link>http://www.everythingaboutweb.com/beginner/dreamweaver-inserting-tables/</link>
		<comments>http://www.everythingaboutweb.com/beginner/dreamweaver-inserting-tables/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 05:23:48 +0000</pubDate>
		<dc:creator>jamie</dc:creator>
				<category><![CDATA[beginner]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[intermediate]]></category>

		<guid isPermaLink="false">http://www.everythingaboutweb.com/?p=433</guid>
		<description><![CDATA[Tables A cell an image with some text in the cell cell cel Tables allow you to control the relative positioning of elements on a page by creating a series of connected cells. These cells can contain text and graphics, and have a specific or relative size specified. You create [...]]]></description>
			<content:encoded><![CDATA[<h5>Tables</h5>
<table border="1" align="right">
<tbody>
<tr>
<td class="main" width="52" height="34">A cell</td>
<td class="main" width="119" height="34"><img src="http://www.everythingaboutweb.com/classes/images/128k.gif" alt="" width="173" height="152" border="0" />an image with some text in the cell</td>
</tr>
<tr>
<td class="main" width="52">cell</td>
<td class="main" width="119">cel</td>
</tr>
</tbody>
</table>
<p><span class="main">Tables allow you to control the relative positioning of elements on a page by creating a series of connected cells. These cells can contain text and graphics, and have a specific or relative size specified. </span></p>
<p class="main">You create tables by clicking on the table icon in the object palette. <img src="http://www.everythingaboutweb.com/classes/images/table_icon.gif" alt="" width="32" height="29" align="texttop" border="0" /></p>
<p class="main">You’ll be asked to set the following attributes:</p>
<ul>
<li class="main">Number of rows</li>
<li class="main">Number of columns</li>
<li class="main">Width in Percent or Pixels</li>
<li class="main">The width of the border (the beveled edge on the outer part of the table)</li>
<li class="main">The cell padding (the text margin, left, right, top, bottom)</li>
<li class="main">The cell spacing (the width of the cell walls)</li>
</ul>
<p><strong>Table properties</strong></p>
<p>Table properties are accessible by selecting the whole table.</p>
<p class="main"><img src="http://www.everythingaboutweb.com/classes/images/table_properties.gif" alt="" width="549" height="99" align="middle" /></p>
<p><strong>Table Cell properties</strong></p>
<p>Cell properties are accessible by placing the selection point inside a cell &#8211; the cell properties will show up in the lower half of the property inspector.</p>
<p><img src="http://www.everythingaboutweb.com/classes/images/table_cell_properties.gif" alt="" width="575" height="62" align="middle" border="0" /></p>
<h6>Table Features</h6>
<p>The difference between percent and pixels<span class="main">If the table is set to percent, the table will change size depending on how wide the user sets the browser. If the table cells are set to percent, their size varies as a percentage of the whole table. In general, it is best to use pixels for all tablesFlowing text around tables<br />
For flowing text around tables, tables are just like images, and have the same alignment attributes. The most commonly used settings are “left” and “right”.</span></p>
<p><strong>Table format</strong><br />
The table format is controlled by the Border, Cellspacing, and Cellpadding (explained below). The settings for these table attributes are accessible in the middle right of the table property inspector. If you want the table borders to be invisible to the viewer and/or are using the table to knit together a set of images together, set all of these attributes to zero.<br />
<strong>Border size</strong><br />
The setting of the table border in pixels affects the width of the border around the edge of the table.<br />
<strong>Cellspacing size</strong><br />
The setting of the table cellspacing affects the width of the border around each cell<br />
<strong>Cellpadding size</strong><br />
The setting of the table cellpadding affects the width of the margin. This margin is on the left, right, top and bottom</p>
<p><strong>Selecting a table</strong><br />
There are three ways to select the whole table.</p>
<ul>
<li>click on the upper left hand corner of the table when you see the cursor turn into a hand (this is sometimes hard to do).</li>
<li>click anywhere inside the table, then select MODIFY&gt;TABLE&gt;SELECT TABLE or type control-A twice</li>
<li>click anywhere inside the table, the click on the &lt;table&gt; tag at the bottom of the document window</li>
</ul>
<p><strong>Adjust the rightmost cell first</strong></p>
<p>If you are setting specific widths of the table, set the width of the rightmost cell first, and work your way left. This avoids the problem of the cells squeezing up against each other as happens when you adjust from left to right.</p>
<p><strong>Row and Column Span</strong><br />
Row and Column span enable a cell to span adjacent cells. For example, if you set the row span for a cell to 2, the cell will become two rows tall. Likewise, if you set the column span for a cell to 2, it will become two columns wide. The controls for changing these cell attributes are in the lower left hand corner of the table cell properties inspector. To create a span, select the cells you want to consolidate into one cell, and click on the merge button in the inspector. To remove a span, put the cursor inside the cell to be broken apart, and click on the split button in the inspector.</p>
<table border="5" cellspacing="5" cellpadding="0">
<tbody>
<tr>
<td rowspan="2" width="113"><span class="main">This cell has a row</span>span of two.</td>
<td colspan="2"><span class="main">This cell has a column span of </span>two.</td>
</tr>
<tr>
<td width="87"></td>
<td width="62"></td>
</tr>
<tr>
<td width="113"></td>
<td width="87"></td>
<td width="62"></td>
</tr>
</tbody>
</table>
<p><strong>Changing the style of text in multiple cells</strong><br />
You can select multiple cells and change the text style by clicking and dragging across multiple cells, or shift selecting. Alternatively, you can control-click to select individual cells, even if they are not next to each other. Note that the only way to set the text style across multiple cells is to place a &lt;font&gt; tag in each cell. Dreamweaver does this for you, but if you are hand-coding HTML, be aware that you can’t simply put a &lt;font&gt; tag around the whole table–this will not change the style of the text inside the table.</p>
<p><strong>Cell alignment — horizontal and vertical</strong><br />
The location of any text or graphic inside of a table cell is affected by the alignment setting for the cell. By default, the cell contents will be aligned to the left horizontally, and in the middle vertically. To change this, click inside the cell, and then set the Horz or Vert setting in the lower half of the property inspector.</p>
<p><strong>The contents of a cell affects its size</strong><br />
Even when a cell has a specific width and height set, if the contents of the cell are bigger, the cell will always grow to accommodate the size of the content. This is true for both text and graphics. For example,. if the text in a cell doesn’t wrap (either because there are no spaces, or because you set the cell to not allow wrapping), the cell will expand its width to accommodate the text, regardless of the width setting for that cell or the whole table.</p>
<p><strong>Clear row heights or column widths</strong><br />
When you are using a table to control the display of a series of image to be composited together, you should have no widths or heights set. This enables the image in the cell to determine the width and height of the cell. If you select the entire table, in the lower left hand of the properties inspector, there are two buttons (the first and second ones) that enable to you clear the row heights or column widths.</p>
<p><strong>Convert table widths to pixels or percent</strong><br />
If you are having problems with a table, you may have a mix of pixels and percents, not a good thing generally. Dreamweaver has a method for setting all the table widths to the same method. Select the entire table, and in the lower left hand of the properties inspector, there are two buttons (the third and fourth ones) that enable to you set the table and all its cells to pixels or percent.</p>
<p><strong>Nesting tables</strong><br />
You will find that it is often difficult to design a table that places elements exactly where you want them. One way around this is to put a table inside of a table cell. In other words, you use the outside table to set the general location, and the place a table inside the appropriate cell to do your exact positioning. To do this, just place the cursor inside the appropriate cell, and click on the Insert Table icon in the object palette.</p>
<table width="426" border="1">
<tbody>
<tr>
<td width="173"></td>
<td width="237"></td>
</tr>
<tr>
<td width="173" height="77"></td>
<td width="237" height="77">
<table width="232" border="1">
<tbody>
<tr>
<td width="76"></td>
<td width="140">This table is inside another table</td>
</tr>
<tr>
<td width="76"></td>
<td width="140"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td width="173"></td>
<td width="237"></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.everythingaboutweb.com/beginner/dreamweaver-inserting-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image Slicing</title>
		<link>http://www.everythingaboutweb.com/beginner/image-slicing/</link>
		<comments>http://www.everythingaboutweb.com/beginner/image-slicing/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 21:43:06 +0000</pubDate>
		<dc:creator>jamie</dc:creator>
				<category><![CDATA[beginner]]></category>
		<category><![CDATA[build]]></category>

		<guid isPermaLink="false">http://www.everythingaboutweb.com/?p=428</guid>
		<description><![CDATA[Image slicing Earlier we discussed the basic principles of compressing your images for the web. What do you do when you have all of your final design comps ready in Photoshop and you want to optimize all of the images you&#8217;ll need to build your web site? Saving each image [...]]]></description>
			<content:encoded><![CDATA[<h5>Image slicing</h5>
<p>Earlier we discussed the basic principles of compressing your images for the web. What do you do when you have all of your final design comps ready in Photoshop and you want to optimize all of the images you&#8217;ll need to build your web site? Saving each image one-by-one can be very inefficient. Slicing allows you to &#8220;cut out,&#8221; name, and optimize all of your images at the same time. This can save you a great deal of time and is easy to do.</p>
<p>Here&#8217;s an <a href="http://www.everythingaboutweb.com/classes/image_slicing2/portfolio.html" target="_blank">example web page</a> that demonstrates the image slicing approach.</p>
<p><a href="l" target="_blank"><img src="http://www.everythingaboutweb.com/classes/images/image_slicing.jpg" alt="" width="400" height="451" border="0" /></a></p>
<p><strong>Overview</strong><br />
Many web designers develop their page layouts in Photoshop (or Illustrator) before they use an application such as Dreamweaver to assemble the page in HTML. This approach allows the designer to use all of the powerful layout and design capabilities of Photoshop to work on the creative aspects of laying out the page. Once a design is solidified, the designer must translate their Photoshop layout into the realities of HTML and limited download time. This involves compressing different parts of the layout in different ways (e.g. some parts will be GIF while others will be JPEG), and leaving some parts of the layout for live HTML. To do this, it&#8217;s usually necessary to cut the original Photoshop image into smaller pieces. This is called <strong>image slicing</strong>.</p>
<p>In Photoshop CS2, an image slicing application called ImageReady is shipped with Photoshop, and the two programs are tightly integrated. ImageReady is a program specifically designed for image slicing, and contains many additional tools for this process.</p>
<p>In both Photoshop CS2 and Photoshop CS3, image slicing is also part of Photoshop. If you do not have Photoshop CS2 or CS3, you can also use ImageReady if it is included in the version of Photoshop you are using for this class.</p>
<p>Adobe Fireworks is another program designed for image slicing and has replaced ImageReady.</p>
<p><strong>Advantages of image slicing</strong><br />
By slicing the page into smaller graphics, the designer can:</p>
<ul>
<li><strong>Compose the page in Photoshop</strong> &#8211; rather than Dreamweaver</li>
<li><strong>Simulate layering</strong> &#8211; by compositing imagery in Photoshop, and avoiding the use of DHTML layers in the web page.</li>
<li><strong>Optimize the page</strong> &#8211; compress parts of the web page individually, and leave parts of the page &#8220;transparent&#8221; so the background color or background image shows through. For example, use JPEG for a photograph in one part of the page, use GIF for a logo with a transparent background where the page background color shows through.</li>
<li><strong>Use HTML text</strong> &#8211; leave parts of the page available for HTML text which requires very little download time compared to graphic text. HTML text can also be updated more easily than graphic text.</li>
<li><strong>Make graphic elements individual links</strong> &#8211; while his effect can be achieved with image maps, usually separate graphics<br />
or each link is better: better compatibility when the page is viewed without graphics (using the ALT text), better accessibility for the disabled, the ability to have rollovers for the links, and simpler updating of the page.</li>
<li><strong>Rollovers</strong> &#8211; rollover images can be created for each navigational element on the page which would not be possible if the page was one large image.</li>
</ul>
<p><strong>Example of sliced page</strong>:<br />
Below is a diagram showing how the Photoshop image is sliced up to make the files that make up this web page.</p>
<p><img src="http://www.everythingaboutweb.com/classes/images/slicing_ex.jpg" alt="" width="400" height="451" /></p>
<p><strong>Disadvantages of image slicing</strong><br />
Page slicing can create numerous problems if the designer is not careful:</p>
<ul>
<li><strong>Page size</strong> &#8211; by letting a program create all of your images, it is easy to let the page size grow too large.</li>
<li><strong>Page complexity</strong> &#8211; image slicing programs can create a large number of cells in the page. If this happens, the browser will take longer to display the page, and the user feels it is taking longer to download. <strong>Keep the number of slices to a minimum so the page is not too complex.</strong></li>
<li><strong>More complex design process</strong> &#8211; image slicing creates a more complex process, and may add to the time it takes to develop a web site. In particular, it make take longer to make changes to pages developed with slicing.</li>
</ul>
<p><strong><br />
Recommended Process.</strong></p>
<p><strong>Be methodical.</strong><br />
Creating the numerous image slices for a web page makes the designer&#8217;s job potentially very complicated. One has to keep track of the page layout, the precise dimensions of each graphic element, rollover highlights, etc. If any changes are made to the page after it&#8217;s initially constructed, these factors become even more acute. As a consequence, the designer must take a very organized and careful approach to developing web page graphics.</p>
<p>Here is one method:</p>
<ol>
<li>Do the initial design and layout in Photoshop. (Note that in the Photoshop file &#8220;image_slicing.psd&#8221; that each element is on its own layer and all layers are named. You want to be sure to keep your psd file very organized and all elements on separate layers.)</li>
<li>Test the design in a web site by exporting a JPEG version of the entire page.</li>
<li>Based on the tests, revise the design in Photoshop and create a final comp.</li>
<li>Create rollover highlights as separate layers</li>
<li>In Photoshop &#8211;
<ol>
<li>Determine how the page will be sliced up to:
<ol>
<li>compress each section of the image most efficiently (with JPEG or GIF)</li>
<li>make slices for each rollover (will discuss rollovers in a future class)</li>
</ol>
</li>
<li>Create the image slices using the minimum number of rectangles for dividing the page. Try to keep the total number of slices under 15. It is better to have fewer, larger slices than many small slices.</li>
<li>Set the image format for each slice (JPEG, GIF, level of compression, etc.)</li>
<li>Set the transparency for the slice, and set the matte color if applicable.</li>
<li>Export all the slices along with an HTML file if needed. (Photoshop automatically creates a table that arranges the slices properly on the page). <strong>Save the image slices in a separate folder for each web page.</strong></li>
</ol>
</li>
<li>Create the HTML in Dreamweaver to finalize the page.</li>
</ol>
<h6>Slicing in Photoshop</h6>
<p>An image is created and edited in Photoshop.</p>
<p>Open the Photoshop file and:</p>
<ul>
<li>Choose VIEW &gt; SHOW RULERS, and create any guides you may need to make your slices consistent.</li>
<li>Select the <strong>slice tool</strong></li>
<li>Draw a slice by clicking and dragging to create a rectangle for your slice</li>
<li>Double click on the image to open the <strong>slice option palette</strong>, In the <strong>slice option palette</strong>, set the following attributes for the following sections:
<ul>
<li><strong>Name</strong>: set the name of the file to be created for this slice (Photoshop creates a default file name, which I suggest you change)<br />
<img src="http://www.everythingaboutweb.com/classes/images/tool.gif" alt="" width="38" height="174" hspace="20" /> <img src="http://www.everythingaboutweb.com/classes/images/slice_options.gif" alt="" width="256" height="186" /></li>
</ul>
</li>
<li>After you have named all of your slices, select FILE &gt; SAVE FOR WEB to individually <strong>optimize </strong>every image. In the save for web palette, set the appropriate image coding for every slice. Don&#8217;t forget transparency and matte if they are appropriate. Use the slice select tool (the alternate for theslice tool) to select different slices.</li>
<li>An easy way to remember the slicing process is as a 3 step process:<br />
<strong>Step 1- slice</strong><strong><br />
Step 2- name</strong><strong><br />
Step 3- optimize </strong></li>
</ul>
<p><strong>Save Optimized Images</strong><br />
When you are ready to save your sliced images, you can create <strong>image files only</strong>, or create an HTML file with all of the images inserted in a table in the correct layout. We will cover saving a HTML file later in the semester. When saving, be sure to set the following items:</p>
<p><img style="margin-right: 35px;" src="http://www.everythingaboutweb.com/classes/images/save_as.gif" alt="" width="281" height="284" align="left" hspace="25" /></p>
<ul>
<li>Create HTML or not</li>
<li>The directory for the images</li>
<li>After you have completed steps 1-3 (slice, name, optimize) for every slice, you can save the files as <strong>images only</strong>. You do not need to change the name of the file. Save to a folder called &#8220;Photoshop.&#8221; Photoshop will create an images folder and will place your optimized images there. Note that image slicing often generates many images. In general, it&#8217;s recommended that you create separate image directories for each sliced page so you can keep track of the images better.Notice also the following settings:</li>
<li>Settings : Default Settings</li>
<li>Slices: All</li>
</ul>
<p><strong>Use separate image directories for each web page.</strong><br />
Sliced pages often have many images, and the pages are frequently regenerated with different slices. This process can leave many unused &#8220;orphaned&#8221; images that should be deleted. If several sliced pages have their images saved in the same directory, it is difficult to find the orphaned image slices. On the other hand, if the image slices are saved in a separate directory for each sliced web page, then after significant changes to the slicing, the entire directory can be deleted and a new set of images can be optimized and saved into a clean directory.</p>
<h6>Video Demonstrations</h6>
<p>I have created instructional videos for you that you can view two different ways.<br />
1) You can download the entire demonstration in <strong>two QuickTime movie files: <a href="http://www.everythingaboutweb.com/classes/videos/image_slicing_pt1.mov" target="_blank">Part 1</a></strong> (29 MB). <strong><a href="http://www.everythingaboutweb.com/classes/videos/image_slicing_pt2.mov" target="_blank">Part 2</a></strong> (32 MB). (You can right-click to download to your desktop). The advantage of the download is the video is much larger and easier to watch. In order to view this file, you’ll need the QuickTime Player installed on your computer. <strong><a href="http://www.apple.com/quicktime/" target="_blank">You can download the free QuickTime Player on the Apple site.</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everythingaboutweb.com/beginner/image-slicing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.everythingaboutweb.com/classes/videos/image_slicing_pt2.mov" length="34260047" type="video/quicktime" />
<enclosure url="http://www.everythingaboutweb.com/classes/videos/image_slicing_pt1.mov" length="30551866" type="video/quicktime" />
		</item>
		<item>
		<title>Intro to HTML 5</title>
		<link>http://www.everythingaboutweb.com/build/intro-to-html-5/</link>
		<comments>http://www.everythingaboutweb.com/build/intro-to-html-5/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 03:06:06 +0000</pubDate>
		<dc:creator>jamie</dc:creator>
				<category><![CDATA[build]]></category>
		<category><![CDATA[intermediate]]></category>

		<guid isPermaLink="false">http://www.everythingaboutweb.com/?p=425</guid>
		<description><![CDATA[HTML 5 Introduction Most of the web standards curriculum is based on the last stable version of HTML — HTML 4.01. The HTML 4.01 spec was completed in 1999, over 10 years ago as of the time of this writing! But unless you&#8217;ve been hiding under a rock for the [...]]]></description>
			<content:encoded><![CDATA[<h1>HTML 5</h1>
<h6>Introduction</h6>
<p>Most of the web standards curriculum is based on the last stable version of HTML — HTML 4.01. The HTML 4.01 spec was completed in 1999, over 10 years ago as of the time of this writing! But unless you&#8217;ve been hiding under a rock for the last year or so, you&#8217;ll be well aware that there is a new version of HTML in production — HTML5!</p>
<p>So why have we been teaching you HTML 4.01 in spite of this?</p>
<p>HTML5 is a really good thing for web developers and designers, because it:</p>
<ul>
<li>Is mostly backwards compatible with what&#8217;s already there —<strong> you don&#8217;t need to learn completely new languages to use HTML5</strong>. The new markup features work in the same way as the old ones (although the semantics of some elements have been changed and the new APIs are based on mostly the same JavaScript/DOM that developers have been programming in for years.</li>
<li><strong>Adds powerful new features to HTML</strong> that were previously only available on the Web using plugin technologies like Flash, or with complex JavaScript and hacks. Form validation and video are prime examples.</li>
<li><strong>Is better suited to writing dynamic applications</strong> than previous HTML versions (HTML was originally designed for creating static documents).</li>
</ul>
<h6>What does HTML5 mean to me?</h6>
<p>To start with, let&#8217;s answer that question you&#8217;ve had circling round your head since you started reading this article — why did we teach you most of the web standards curriculum using HTML 4.01, if HTML5 is on the horizon?</p>
<p>First of all, when the WSC was first published in 2008, HTML5 was a lot more in flux than it is now, and we didn&#8217;t want to teach you something that would likely be changed at a later date.</p>
<p>Second, and more importantly, HTML5 is backwards compatible — in practical terms, this means that all the stuff inside HTML 4.01 is also in HTML5. So by learning HTML 4.01, you are also learning a large chunk of HTML5.</p>
<p>Some parts of HTML5 are implemented in a stable enough fashion across browsers to be used safely even on a production site (as always, you will have to make a judgement call depending on your site&#8217;s target audience and features). Plus if a feature is not supported in certain browsers, you can work around this.</p>
<p>To give you a short concluding answer, <strong>HTML5 is the future of the Web</strong>, and a large part of your future as a web designer or developer. I&#8217;d recommend that you start learning HTML5 as soon as you are ready — many of the new features will make your existing work a lot easier, and it will future proof your knowledge.</p>
<h5>HTML5 features</h5>
<p>HTML5 contains many new features to make HTML much more powerful and suitable for building Web applications. In the list below I&#8217;ve summarized the main ones you really should know about.</p>
<p>Some of the features listed below are NOT actually part of the HTML5 spec itself, but are defined in closely related specs, therefore they are still valid parts of the new movement towards modern web applications, and useful for you to know about.</p>
<p><strong>New semantic elements</strong>: As you will already know, semantics are very important in HTML — we should always use the appropriate element for the job. In HTML 4.01 we have a problem — yes, there are many elements for defining specific means such as tables, lists, headings, etc., but there are also many common web page features that have no element to define them. Think of site headers, footers, navigation menus, etc. — up until now we have defined these using &lt;div id=&#8221;xxx&#8221;&gt;&lt;/div&gt;, which we can understand, but machines can&#8217;t, plus different web developers will use different IDs and classes. Fortunately, HTML5 comes with new semantic elements such as &lt;nav&gt;, &lt;header&gt;, &lt;footer&gt; and &lt;article&gt;.</p>
<p><strong>New form features</strong>: HTML 4.01 already allows us to create usable, accessible web forms, but some common form features are more fiddly than they should be, and require hacking to implement. HTML5 provides a standardized, simple way to implement features such as date pickers, sliders and client-side validation.</p>
<p><strong>Native video and audio:</strong> For years, video and audio on the Web has been done using Flash, generally speaking. In fact, the reason Flash became so popular around the dawn of the 21st century is because open standards failed to provide a cross-browser compatible mechanism for implementing such things, with different browsers implementing different competing ways of doing the same thing (eg &lt;object&gt; and &lt;embed&gt;) and thereby making the whole process really complicated. Flash provided a high quality, easy way of making video work cross-browser.</p>
<p>HTML5 includes &lt;video&gt; and &lt;audio&gt; elements for implementing native video and audio players really easily with nothing but open standards, and it also includes an API to allow you to easily implement custom player controls.</p>
<p><strong>Canvas drawing API:</strong> The &lt;canvas&gt; element and associated API allows you to define an area of the page to draw on, and use JavaScript commands to draw lines, shapes and text, import and manipulate graphics and video, export in different image formats, and a whole lot more.</p>
<p><strong>Geolocation:</strong> The Geolocation spec (again, not a part of the HTML5 spec) defines an API that allows a web application to easily access any location data that has been made available, for example by a device&#8217;s GPS capabilities. This allows you to add all kinds of useful location-aware features to your applications, for example highlighting content that is more relevant to your location.</p>
<h5>Introducing HTML5 structural elements</h5>
<p>HTML4 already has a lot of semantic elements to allow you to clearly define the different features of a web page, like forms, lists, paragraphs, tables, etc. However, it does have its shortcomings. We still rely heavily on &lt;div&gt; and &lt;span&gt; elements with different id and class attributes to define various other features, such as navigation menus, headers, footers, main content, alert boxes, sidebars, etc. Something like &lt;div id=&#8221;header&#8221;&gt; works in terms of developers and designers knowing what it is for, and being able to use CSS and JavaScript to apply custom styles and behaviour to make it understandable to end users.</p>
<p>But it could be so much better. There are still problems with this kind of set up:</p>
<ul>
<li>Humans can tell the different content apart, but machines can&#8217;t — the browser doesn&#8217;t see the different divs as header, footer, etc. It sees them as different divs. Wouldn&#8217;t it be more useful if browsers and screen readers were able to explicitly identify say, the navigation menu so a visually impaired user could find it more easily, or the different news items on a bunch of blogs so they could be easily syndicated in an RSS feed without any extra programming?</li>
<li>Even if you do use extra code to solve some of these problems, you can still only do it reliably for your web sites, as different web developers will use different class and ID names, especially when you consider the international audience — different web developers in different countries will use different languages to write their class and id names.</li>
</ul>
<p>It therefore makes a lot of sense to define a consistent set of elements for everyone to use for these common structural blocks that appear on so many web sites. The new HTML5 elements we will cover are:</p>
<ul>
<li>&lt;header&gt;: Used to contain the header of a site.</li>
<li>&lt;footer&gt;: Contains the footer of a site.</li>
<li>&lt;nav&gt;: Contains the navigation functionality for the page.</li>
<li>&lt;article&gt;: Contains a standalone piece of content that would make sense if syndicated as an RSS item, for example a news item.</li>
<li>&lt;section&gt;: Used to either group different articles into different purposes or subjects, or to define the different sections of a single article.</li>
<li>&lt;time&gt;: Used for for marking up times and dates.</li>
<li>&lt;aside&gt;: Defines a block of content that is related to the main content around it, but not central to the flow of it.</li>
<li>&lt;hgroup&gt;: Used to wrap more than one heading if you only want it to count as a single heading in the page&#8217;s heading structure.</li>
<li>&lt;figure&gt; and &lt;figcaption&gt;: Used to encapsulate a figure as a single item, and contain a caption for the figure, respectively.</li>
</ul>
<h6>Why isn&#8217;t there a &lt;content&gt; element?</h6>
<p>While this may seem like a glaring omission, it really isn&#8217;t. The main content will be the top level block of content that isn&#8217;t the &lt;header&gt;, &lt;nav&gt; or &lt;footer&gt;, and depending on your particular circumstance, it might make more sense to mark the content up using an &lt;article&gt;, a &lt;section&gt;, or even a &lt;div&gt;.</p>
<h6>Presenting an example HTML5 page</h6>
<p>Some meta-differences<br />
The first thing is that the doctype is much simpler than in older versions of HTML:</p>
<pre>&lt;!DOCTYPE html&gt;</pre>
<p>the creators of HTML5 chose the shortest possible doctype string for this purpose — after all, why should you, the developer, be expected to remember a huge great long string containing multiple URLs, when in reality the doctype is only there to put the browser into standards mode (as opposed to quirks mode)?</p>
<p><strong>&lt;header&gt;</strong><br />
The document&#8217;s header looks like this:</p>
<pre>&lt;header&gt;
&lt;hgroup&gt;
&lt;h1&gt;A History of the World&lt;/h1&gt;
&lt;h2&gt;Introducing the Big Bang Theory&lt;/h2&gt;
&lt;/hgroup&gt;
&lt;/header&gt;</pre>
<p>The purpose of the &lt;header&gt; element is to wrap the section of content that forms the header of the page, usually containing a company logo/graphic, main page title, etc.</p>
<p><strong>&lt;hgroup&gt;</strong><br />
You&#8217;ll notice that in the above code, the only contents of my header are an &lt;hgroup&gt; element, wrapping two headings. What I want to do here is specify the document&#8217;s top level heading, plus a subtitle/tag line. I only want the top level heading to count in the document heading hierarchy, and that&#8217;s exactly what &lt;hgroup&gt; does — it causes a group of headings to only count as a single heading for the purposes of the document structure. you&#8217;ll find more out about how heading hierarchies work in HTML5, in the HTML5 outlines, and the HTML5 heading algorithm section, below.</p>
<p><strong>&lt;footer&gt;</strong><br />
You&#8217;ll see this code:</p>
<pre>&lt;footer&gt;
&lt;h3 id="copyright"&gt;Copyright and attribution&lt;/h3&gt;
&lt;/footer&gt;</pre>
<p>&lt;footer&gt; should be used to contain your site&#8217;s footer content — if you look at the bottom of a number of your favourite sites, you&#8217;ll see that footers are used to contain a variety of things, from copyright notices and contact details, to accessibility statements, licensing information and various other secondary links.<br />
Note: You are not restricted to one header and footer per page — you could have a page containing multiple articles, and have a header and footer per article.</p>
<p><strong>&lt;nav&gt;</strong><br />
You&#8217;ll come across this structure:</p>
<pre>&lt;nav&gt;
&lt;h2&gt;Contents&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#Intro"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#History"&gt;History&lt;/a&gt;</pre>
<pre>&lt;!-- other navigation links... --&gt;
&lt;/ul&gt;
&lt;/nav&gt;</pre>
<p>The &lt;nav&gt; element is for marking up the navigation links or other constructs (eg a search form) that will take you to different pages of the current site, or different areas of the current page. Other links, such as sponsored links, do not count. You can of course include headings and other structuring elements inside the &lt;nav&gt;, but it&#8217;s not compulsory.</p>
<p><strong>&lt;aside&gt;</strong><br />
We have the following:</p>
<p>&lt;aside&gt;<br />
&lt;table&gt;</p>
<p>&lt;!&#8211; lots of quick facts inside here &#8211;&gt;</p>
<p>&lt;/table&gt;<br />
&lt;/aside&gt;</p>
<p>The &lt;aside&gt; element is for marking up pieces of content that are related to the main content, but don&#8217;t fit directly into the main flow. For example we can have a bunch of quick fire facts and statistics about the company, which wouldn&#8217;t work so well shoehorned into the main content. Other suitable condidates for &lt;aside&gt; elements include lists of links to external related content, background information, pull quotes, and sidebars.</p>
<p><strong>&lt;figure&gt; and &lt;figcaption&gt;</strong><br />
The dynamic duo of &lt;figure&gt; and &lt;figcaption&gt; have been created to solve a very specific set of problems. For a start, doesn&#8217;t it always feel a bit semantically dubious and unclean to mark up an image and its caption as two paragraphs, or a definition list pair, or something else? And second, what do you do when you want a figure to consist of an image, or two images, or two images and some text? &lt;figure&gt; is on hand to wrap around all the content you want to comprise a single figure, whether it is text, images, SVG, videos, or whatever. &lt;figcaption&gt; is then nested inside the &lt;figure&gt; element, and contains the descriptive caption for that figure.</p>
<pre>&lt;figure&gt;
&lt;img src="pwei.png" alt="Old poppies logo" /&gt;
&lt;figcaption&gt;
The old poppies logo, circa 1987.&lt;br /&gt; &lt;a href="http://www.flickr.com/photos/bobcatrock/317261648/"&gt;
Original picture on Flickr&lt;/a&gt;, taken by bobcatrock.
&lt;/figcaption&gt;

&lt;/figure&gt;</pre>
<p><strong>&lt;time&gt;</strong><br />
The &lt;time&gt; element allows you to define an unambiguous date and time value that is both human and machine readable. For example:</p>
<pre>&lt;time datetime="1989-03-13"&gt;1989&lt;/time&gt;</pre>
<p>The text in between the opening and closing tags can be anything you want, as appropriate for the people reading your site. If you wanted, you could also put it like this:</p>
<pre>&lt;time datetime="1989-03-13"&gt;13th March 1989&lt;/time&gt;
&lt;time datetime="1989-03-13"&gt;March 13 1989&lt;/time&gt;
&lt;time datetime="1989-03-13"&gt;My nineteenth birthday&lt;/time&gt;</pre>
<p>Conversely, the date inside the datetime attribute is an ISO standard (see W3C Tip: Use international date format (ISO) for more information) machine readable date, so you get the best of both worlds. You can also add a time onto the end of the ISO standard, like so:<br />
&lt;time datetime=&#8221;1989-03-13T13:00&#8243;&gt;One o&#8217;clock in the afternoon, on the 13th of March 1989&lt;/time&gt;<br />
You can also add a timezone adjustment, so for example to make the last example pacific standard time, you would do this:</p>
<pre>&lt;time datetime="1989-03-13T13:00Z-08:00"&gt;One o'clock in the afternoon, on the 13th of March 1989&lt;/time&gt;</pre>
<p><strong>&lt;article&gt; and &lt;section&gt;</strong><br />
Now we turn our attentions to probably the two most misunderstood elements in HTML5 — &lt;article&gt; and &lt;section&gt;. When you first meet them, the difference might appear unclear, but it really isn&#8217;t so bad.</p>
<p>Basically, the &lt;article&gt; element is for standalone pieces of content that would make sense outside the context of the current page, and could be syndicated nicely. Such pieces of content include blog posts, a video and it&#8217;s transcript, a news story, or a single part of a serial story.</p>
<p>The &lt;section&gt; element, on the other hand is for breaking the content of a page into different functions or subjects areas, or breaking an article or story up into different sections. So for example:</p>
<pre>&lt;article&gt;
&lt;section id="Intro"&gt;
&lt;h2&gt;Introduction&lt;/h2&gt;
&lt;/section&gt;</pre>
<pre>&lt;section id="History"&gt;
&lt;h2&gt;History&lt;/h2&gt;
&lt;/section&gt;</pre>
<pre>&lt;section id="Discography"&gt;
&lt;h2&gt;Discography&lt;/h2&gt;
&lt;/section&gt;
&lt;/article&gt;</pre>
<p>But you could also have a structure like this:</p>
<pre>&lt;section id="rock"&gt;
&lt;h2&gt;Rock bands&lt;/h2&gt;
&lt;!-- multiple article elements could go in here --&gt;
&lt;/section&gt;</pre>
<pre>&lt;section id="jazz"&gt;
&lt;h2&gt;Jazz bands&lt;/h2&gt;
&lt;!-- multiple article elements could go in here --&gt;
&lt;/section&gt;</pre>
<pre>&lt;section id="hip-hop"&gt;
&lt;h2&gt;Hip hop bands&lt;/h2&gt;
&lt;!-- multiple article elements could go in here --&gt;
&lt;/section&gt;</pre>
<h6>Where does that leave &lt;div&gt;?</h6>
<p>So, with all these great new elements to use on our pages, the days of the humble &lt;div&gt; are numbered, surely? NO. In fact, the &lt;div&gt; still has a perfectly valid use. You should use it when there is no other more suitable element available for grouping an area of content, which will often be when you are purely using an element to group content together for styling/visual purposes. For example:</p>
<pre>#wrapper {
background-color: #ffffff;
width: 800px;
margin: 0 auto;
}</pre>
<p><strong>&lt;mark&gt;</strong><br />
The &lt;mark&gt; element is for highlighting terms of current relevance, or highlighting parts of content that you just want to draw attention to, but not change the semantic meaning of. It&#8217;s like when you are going through a printed article and highlighting lines important to you with a highlighter pen. So for example, you might want to use this element to markup lines in a wiki that need to be given editorial attention, or to highlight instances of a search term that the user has just searched for on a page, and then give them appropriate styling in your CSS.</p>
<h6>How to get it working in older browsers</h6>
<p>Older browsers: always the bane of our very existence when trying to get to grips with using shiny new toys on the Web! In fact, the problem here is all browsers &#8211; no browsers currently recognise and support these new HTML5 structural elements, as such. But never fear, you can still get them working across browsers today with the minimum of effort.</p>
<p>First of all, if you put an unknown element into a web page, by default the browser will just treat it like a &lt;span&gt;, ie, an anonymous inline element. Most of the HTML5 elements we have looked at in this article are supposed to behave like block elements, therefore the easiest way to make them behave properly in older browsers is by setting them to display:block; in your CSS:</p>
<pre>article, section, aside, hgroup, nav, header, footer, figure, figcaption {
display: block;
}</pre>
<p>This solves all your problems for all browsers except one. Have a guess which one? &#8230; Yup, amazing isn&#8217;t it, that IE should prove to be trickier than the other browsers, and refuse to style elements it doesn&#8217;t recognise? The fix for IE is illogical, but fortunately pretty simple. For each HTML5 element you are using, you need to insert a line of JavaScript into the head of your document, like so:</p>
<pre>&lt;script&gt;
document.createElement('article');
document.createElement('section');
document.createElement('aside');
document.createElement('hgroup');
document.createElement('nav');
document.createElement('header');
document.createElement('footer');
document.createElement('figure');
document.createElement('figcaption');
&lt;/script&gt;</pre>
<p>IE will now magically apply styles to those elements. It is a pain having to use JavaScript to make your CSS work, but hey, at least we have a way forward? Why does this work exactly? no-one I&#8217;ve talked to actually knows. There is also a problem with these styles STILL not being carried through to the printer when you try to print HTML5 documents from IE.</p>
<p><code><sup>Above material from Dev.Opera. <a href="http://dev.opera.com/articles/view/get-familiar-with-html5/" target="_blank">Get familiar with HTML5!</a> and <a href="http://dev.opera.com/articles/view/new-structural-elements-in-html5/" target="_blank">New structural elements in HTML5</a> By Chris Mills</sup></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everythingaboutweb.com/build/intro-to-html-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image Optimization</title>
		<link>http://www.everythingaboutweb.com/beginner/image-optimization/</link>
		<comments>http://www.everythingaboutweb.com/beginner/image-optimization/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 02:22:45 +0000</pubDate>
		<dc:creator>jamie</dc:creator>
				<category><![CDATA[beginner]]></category>
		<category><![CDATA[build]]></category>

		<guid isPermaLink="false">http://www.everythingaboutweb.com/?p=414</guid>
		<description><![CDATA[Image Optimization GIF format A compressed file format for indexed images. It uses run-length encoding, which compresses a series of pixels of the same value (in the horizontal direction) as a single entry (e.g. 30 pixels of red), which saves space over specifying each pixel. This means that large blocks of [...]]]></description>
			<content:encoded><![CDATA[<h5>Image Optimization</h5>
<h5><strong>GIF format</strong></h5>
<p>A compressed file format for indexed images. It uses <strong>run-length encoding</strong>, which compresses a series of pixels of the same value (in the horizontal direction) as a single entry (e.g. 30 pixels of red), which saves space over specifying each pixel. This means that large blocks of a single color compress very well. It also means that dithering (which reduces the runs of the same pixels) usually makes the image compress poorly.</p>
<ul>
<li><strong>Best for -</strong><strong> Graphic images</strong> with large areas of a single color, images with transparency, images with sharp edges, images with few colors.</li>
<li>Transparency &#8211; Defines one color to be transparent</li>
<li>Animations &#8211; Format supports multi-frame animations</li>
<li>Interlacing &#8211; A way to encode the image so that when a small amount of the image has been downloaded, it can be displayed in rough form. The image becomes progressively more clear until the whole image is downloaded.</li>
</ul>
<h6><strong>JPEG format</strong></h6>
<p>A &#8220;lossy&#8221; compressed file format for RGB images. Among other things, it eliminates hard edges to achieve compression. The loss of quality in the image is controlled by the quality setting when you save a JPEG image. The lower the number, the worse the quality.</p>
<ul>
<li><strong>Best for &#8211; Photographic images</strong>, complex images, images with soft edges</li>
<li>No transparency or animation</li>
<li>Progressive &#8211; A format similar to interlacing for GIFs that displays the image with increasing quality as it downloads. The progressive format is not supported by some older browsers.</li>
</ul>
<h6><strong>PNG format</strong></h6>
<p>A relatively new format that combines the best of GIF and JPEG. It supports both Indexed images and RGB images. It also supports a 256 color alpha channel for transparency. Not fully supported by older browsers.</p>
<p><strong>About the PNG‑8 format</strong></p>
<div>
<p>The PNG‑8 format uses 8‑bit color. Like the GIF format, PNG‑8 efficiently compresses areas of solid color while preserving sharp detail like those in line art, logos, or type.</p>
<p>The PNG‑8 format uses more advanced compression schemes than GIF does, and a PNG‑8 file can be 10% to 30% smaller than a GIF file of the same image, depending on the image’s color patterns. Although PNG‑8 compression is lossless, optimizing an original 24‑bit image as an 8‑bit PNG file can subtract colors from the image.</p>
<p>Note: With certain images, especially those with simple patterns and few colors, GIF compression can create a smaller file than PNG‑8 compression. View optimized images in GIF and PNG‑8 format to compare file size.</p>
<p>As with the GIF format, you can choose the number of colors in an image and control how colors dither in a browser. The PNG‑8 format supports background transparency and background matting, by which you blend the edges of the image with a web page background color.</p>
<p><img src="http://help.adobe.com/en_US/PhotoshopElements/7.0_Win/images/we_04.png" alt="" /><br />
PNG‑8 with 256 colors and no dither (left), and PNG‑8 with 16 colors and dithering (right)</p>
<p><strong>About the PNG‑24 format. </strong>The PNG‑24 format supports 24‑bit color. Like the JPEG format, PNG‑24 preserves the subtle variations in brightness and hue found in photographs. Like the GIF and PNG‑8 formats, PNG‑24 preserves sharp details like those in line art, logos, or type.</p>
<p>The PNG‑24 format uses the same lossless compression method as the PNG‑8 format. For that reason, PNG‑24 files are usually larger than JPEG files of the same image. You may want to avoid PNG‑24 format when you are distributing your image to a wide audience.</p>
<p>In addition to supporting background transparency and background matting, the PNG‑24 format supports multilevel transparency. You can have up to 256 degrees of transparency from opaque to completely transparent, so you can blend the edges of an image smoothly with any background color. However, not all browsers support multilevel transparency.</p>
</div>
<p><a href="http://en.wikipedia.org/wiki/Portable_Network_Graphics" target="_blank">More information about the PNG format can be found here.</a></p>
<h5><strong>Image optimization using Photoshop<br />
</strong></h5>
<p>Download and extract <a href="http://www.everythingaboutweb.com/classes/downloads/compression_test.zip" target="_blank">compression_test.zip</a>.</p>
<p>The primary goal in creating graphics for the web is to maintain high image quality, while creating files that are as small as possible. This is always a compromise, and requires a subjective judgement by the designer. The best approach is to experiment with different image settings to discover a good compromise appropriate for the image and web page.</p>
<h5><strong>GIFs</strong></h5>
<p>To make a GIF, do the following to an RGB image in Photoshop:</p>
<ul>
<li><img src="http://www.jamiecavanaugh.com/classes/images/photoshop_web_dialog_gif.gif" alt="web settings - gif" align="right" border="0" />Show and hide any layers to get the image you need</li>
<li>Determine the color of the web page background that the image will be displayed against</li>
<li>Select FILE&gt;SAVE FOR WEB&#8230;</li>
<li>Notice that the image is displayed in its compressed format. And at the bottom left of the screen, the size of the compressed image is shown. Keep track of both of these as you adjust the various settings. <strong>Keep in mind that, in general, the total size of a web page including all of its images should be less than 100K</strong>.</li>
<li>Select GIF 32 No Dither from the Settings pull down. This will provide a good starting point for your settings.</li>
<li>Select PERCEPTUAL, SELECTIVE, ADAPTIVE, OR WEB for the palette selection method. <strong>SELECTIVE is the default and will usually provide good results</strong>. Following are Photoshop&#8217;s definition of these methods, quoted from Adobe Photoshop Help:<br />
<strong>Perceptual </strong>- Creates a custom color table by giving priority to colors for which the human eye has greater sensitivity.<br />
<strong>Selective </strong>- Creates a color table similar to the Perceptual color table, but favoring broad areas of color and the preservation of Web colors. This color table usually produces images with the greatest color integrity. Selective is the default option.<br />
<strong>Adaptive</strong> - Creates a custom color table by sampling colors from the spectrum appearing most commonly in the image. For example, an image with only the colors green and blue produces a color table made primarily of greens and blues. Most images concentrate colors in particular areas of the spectrum.<br />
<strong>Web</strong> - Uses the standard 216-color color table common to the Windows and Mac OS 8-bit (256-color) palettes. This option ensures that no browser dither is applied to colors when the image is displayed using 8-bit color. (This palette is also called the Web-safe palette.) Using the Web palette can create larger files, and is recommended only when avoiding browser dither is a high priority.</li>
<li>Select NO DITHER. This will produce the smallest files, while the other Dither options may improve the image quality. If Dither is needed, you may want to consider JPEG for the image format.</li>
<li>Select the smallest number of colors that produces an acceptable looking image. You can reduce the color information if necessary by selecting the &#8220;color&#8221; pull down menu and with the right arrow reducing the color to 16, 8, 4 or perhaps even 2.</li>
<li>If you want the image to display while downloading,select the INTERLACED checkbox.</li>
</ul>
<p>Transparency in GIFs allows you to see through parts of the image to the background of the web page. Photoshop creates transparency in GIFs by using the mask transparency in the Photoshop file.</p>
<ul>
<li>Create the transparency in your photoshop file, and set your layers so that you can see the checkerboard transparency in the file before you select SAVE FOR WEB</li>
<li>If you have created a mask for transparency, and want the background of the web page to show through the mask area, checkthe TRANSPARENCY box in the SAVE FOR WEB palette on the right side of the screen.</li>
<li>Select a MATTE color. This color selection affects the color of the anti-aliasing fringe used at the boundary between the image and the transparent areas. E.g. if your image will be displayed on a white web page, select white as the MATTE color to make a clean, anti-aliased edge for the image.</li>
</ul>
<h5><strong>JPEGs</strong></h5>
<p>To make a JPEG, do the following to an RGB image in Photoshop:</p>
<ul>
<li><img src="http://www.jamiecavanaugh.com/classes/images/photoshop_web_dialog_jpeg.gif" alt="web settings - jpeg" align="right" border="0" />Show and hide any layers to get the image you need</li>
<li>Select FILE&gt;SAVE FOR WEB&#8230;</li>
<li>Notice that the image is displayed in its compressed format. And at the bottom left of the screen, the size of the compressed image is shown. Keep track of both of these as you adjust the various settings. Keep in mind that the total size of a web page including all of its images should be less than 100K.</li>
<li>Select JPEG Medium from the Settings pull down. This will provide a good starting point for your settings.</li>
<li>Check the OPTIMIZED checkbox. This makes the file size smaller, and is compatible with almost all browsers.</li>
<li>Experiment with the QUALITY setting while checking the Optimized image for JPEG artifacts and looking at the resulting file size. Usually a setting between 40 &#8211; 60 works well. Choose the lowest quality setting acceptable so the file is the smallest.</li>
<li>If you want the image to display while downloading, select the PROGRESSIVE checkbox.</li>
</ul>
<p><strong>Transparency is not available in JPEG images</strong>. But the MATTE feature described for GIFs can be used in JPEGS. If the photoshop image has transparency, the matte color you choose in SAVE FOR WEB will change the transparent areas of the image to that color. This is useful if you need to put an image against a particular color on a web page.</p>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.everythingaboutweb.com/beginner/image-optimization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

