<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN" "http://cnx.rice.edu/technology/cnxml/schema/dtd/0.5/cnxml_plain.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="new">
  <name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Web Programming Quick Start: XHTML -- Images and Links</name>
  <metadata xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
  <md:version xmlns:bib="http://bibtexml.sf.net/">1.4</md:version>
  <md:created xmlns:bib="http://bibtexml.sf.net/">2006/09/08 12:32:48 GMT-5</md:created>
  <md:revised xmlns:bib="http://bibtexml.sf.net/">2007/01/03 09:39:00.088 US/Central</md:revised>
  <md:authorlist xmlns:bib="http://bibtexml.sf.net/">
      <md:author xmlns:bib="http://bibtexml.sf.net/" id="sawey">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Ronald</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">M.</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Sawey</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">sawey@txstate.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist xmlns:bib="http://bibtexml.sf.net/">
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="sawey">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Ronald</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">M.</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Sawey</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">sawey@txstate.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist xmlns:bib="http://bibtexml.sf.net/">
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">&lt;a&gt;</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">&lt;img&gt;</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">anchor tag</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">images</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">links</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">named anchor</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">web programming</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">XHTML</md:keyword>
  </md:keywordlist>

  <md:abstract xmlns:bib="http://bibtexml.sf.net/">This module discusses how to add images and links to your XTHML files.  The tags discussed are the &lt;img ...&gt; and &lt;a ...&gt; tags.</md:abstract>
</metadata>
  <content xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
  	<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="modulemap">
	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Module Map</name>
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="mmap1">
		<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="maplinks1">
			<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#introduction">Introduction</link></item>
			<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#images">Images and the &lt;img ...&gt; Tag</link></item>
			<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#links">Links and the &lt;a ...&gt; (anchor) Tag</link>
				<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="maplinks2">
					<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#linksabsolute">Absolute Addresses and Text Links</link></item>
					<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#linksabsoluteimages">Absolute Addresses and Image Links</link></item>
					<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#relativeaddresses">Relative Addresses</link></item>
					<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#namedanchors">Named Anchors</link></item>
				</list>
			</item>
			<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#dreamweaver">Dreamweaver with Images and Links</link>
				<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="dw">
					<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#dwimages">Images</link></item>
					<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#dwrelabsaddresses">Relative and Absolute Addressses/Text and Image Links</link></item>
					<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#dwnamedanchors">Named Anchors</link></item>
					<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#dwimagemaps">Image Maps</link></item>
				</list>
			</item>
			<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
				<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="#conclusion">Conclusion</link>
			</item>
		</list>
	</para>
	</section>
	
    <section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="introduction">
  	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Introduction</name>
  	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="introa">
	The primary goal of this "Web Programming Quick Start" series is to get 
	the reader to the point of doing something productive
	with a minimum of time and effort.  It is not
	intended to be an exhaustive treatment/reference of any of the subjects discussed.  
	This is also very much a work in progress.  All comments, criticisms, suggestions, etc. are most 
	<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="mailto:rs01@txstate.edu">welcome</link>.
	</para>
	
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="introb">In the series of <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://www.cs.txstate.edu/~rs01/web_programming/links.html">
	modules</link> on XHTML (eXtensible HyperText Markup Language) and CSS 
	(Cascading Style Sheets), we will
	be following the "current wisdom" on web page construction and design as exemplified by the three excellent web-related books of 
	<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://cnx.org/content/m12836/latest/#andrew01">Rachael Andrew</link>.  Specifically, we will endeavor to keep the
	<emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">content</emphasis> and the <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">styling/formatting</emphasis> of the web documents 
	<emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">separate</emphasis>.
	</para>
	
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="introc">This module builds on material discussed in the XHTML module dealing with the 
	<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://cnx.org/content/m14049/latest/">creation of an initial XHTML file</link> and 
	<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://cnx.org/content/m14050/latest/">XHTML -- Headings and Lists</link>. 
	A complete 
	<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://www.cs.txstate.edu/~rs01/web_programming/links.html">listing</link> of the links to all XHTML and CSS modules is also available.
	</para>
	
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="introd">
	Segments of the XHTML source code are shown in this module as image files, but links are given to the
	XHTML files and the source is readily available from a browser via the menu bar using File/Save As... ,
	View/Source or something comparable.
	</para>
	
  </section>
  
  <section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="images">
  <name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Images and the &lt;img ...&gt; Tag</name>
  	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="para1"> 
	In this section we will show how to include images in your XHTML document.  We will take an image from the images section of 
	the <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://creativecommons.org/image/">Creative Commons</link> site.  Here we assume that the image file is in the
	<emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">same</emphasis> folder/directory as the web/XHTML document.  
	When we discuss links (below in <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="links"/>) we will cover other options. 
	 <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="imagedemo1code"/> shows the relevant segment of the XHTML code, and 
	<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="imagedemo1.html">imagedemo1.html</link> shows the complete XHTML file
				
			<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="imagedemo1code">
				<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="imagedemo1code.gif"/>
				<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">XHTML Source Code for imagedemo1.html</caption>
			</figure>
			
			<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="imagedemo1view">
				<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="imagedemo1view.gif"/>
				<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Firefox Browser view of imagedemo1.html</caption>
			</figure>
			
	<cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="imagedemo1view"/> shows a Firefox browser view of <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="imagedemo1.html">imagedemo1.html</link>.			
			
	</para>
	
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="para2">
	There are several things worth noting:
	<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="imagenotes1">

	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">The syntax of the &lt;img...&gt; tag is different from those we have discussed so far.  On
	line 14 we see that the img tag not only has the tag 
	<emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">name</emphasis>, <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">img</code>, but is followed by
	<code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">src="DSC07985.jpg" alt="Image from SpaceShipOne" width="400" 
	height="300"&gt;
	</code>
	.  Each of the items following is called and "attribute." 
	Each attribute is comprised of an attribute 
	<emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">name</emphasis>, e.g. "src" and an attribute <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">value</emphasis>, e.g. 
	"DSC07985.gif". 
	<cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="tagsyntax"/> shows this graphically.  Note
	also that each value is contained within quotes, either single or double quotes, is acceptable.  
	Although
	browsers are pretty forgiving, and 
	will render the page as you would expect even if quotation marks are omitted,  
	to meet XHTML standards, the quotes <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">must</emphasis>
	be there.
	
		<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="tagsyntax">
				<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="tagsyntax.gif"/>
				<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">XHTML Tag Syntax</caption>
		</figure>
	
	</item>
	
	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">The <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">img</code> tag is called and "empty" tag, in that it does not contain anything 
	between the opening and closing 
	tags, e.g. &lt;img&gt; and &lt;/img&gt; .  Instead the tag closure is indicated by a "/" at the 
	end of the single/empty tag.  As
	noted
	before browsers are pretty forgiving with respect to such lapses, but for this to be "well 
	formed" 
	XHTML, such closure of empty
	tags is required.
	</item>
	
	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">The other attributes for this tag are pretty straightforward, but a few observations are in
	order:
		<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="imageattributes">
		
			<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">src</code>: The path to the image file.</item>
			
			<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">alt</code>: "Alternate" text, describing the image.  This usually appears as 
			a 
			"pop up" or "tool tip" in a browser when the mouse moves across the image, but more
			importantly, it is read by reader programs used by those with visual disabilities. 
			</item>
			
			<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">longdesc</code>: This attribute is not used in this example, but 
			<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="imagelinkdemo2.html">imagelinkdemo2.html</link> demonstrates this point with
			<code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">longdesc = "piestats.html"</code>, where we are using <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="piestats.html">
			piestats.html</link> to 
			more fully describe the pie chart describing usage for August, 2006.  Again, this can be 
			very useful
			to those with visual difficulties, and is a means of addressing some "accessibility 
			issues."</item>
			
			<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">width</code> and <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">height</code>: The dimensions of the image, given in 
			pixels. 
			Browsers usually display images if these attributes are omitted, but the pages load more 
			quickly
			if this information is given.</item>
		</list>
	</item>
	<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">The image file, DSC07985.gif, is <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">not</emphasis> part of the XHTML document, hence
	you need to make
	sure that 
	<emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">both</emphasis> the XHTML file and the image file are on the web server.  
	Those who are mostly familiar with the way word processors handle images, should take special 
	note of this feature of 
	XHTML.	
	It is probably worth noting that beginning with Microsoft Word 2003, saving a Word
	document as an HTML file by default generates file with either the .mht or .mhtml extensions 
	("mime html").
	These files contain the images encoded into the .mthml file.  However, at this writing, only 
	Internet Explorer
	will render these web files correctly.
	</item>
	</list> 
	 
  	</para>
  
  </section>
  
  <section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="links">
  <name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Links and the &lt;a ...&gt; (anchor) Tag</name>
  <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="para1anchor1">
  The XHTML tag used to specify links is the "anchor" tag.  Not surprisingly it also has one 
  attribute will will discuss.
  It is <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">not</emphasis>, however, and empty tag as is the &lt;img&gt; tag, discussed above. 
  A significant part of this
  section on anchor tags will involve the specification of the files to which links are specified.  
  The 
  reason for not just 
  stopping with specifying the complete URL (Uniform Resource Locator) is that this can greatly 
  complicate the moving of
  your web site to another server, particularly when your links are referring to files on your site.
  </para>
  	<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="linksabsolute">
	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Absolute Addresses and Text Links</name>
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchor2">
		Using a file similar to <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="imagedemo1.html">imagedemo1.html</link> discussed in <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="images"/>, 
		we add a link to the web site of the photographer, Bruce Damer.  The file is 
		<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="imageandlinkdemo1.html">imageandlinkdemo1.html</link>.
		<cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="imageandlink1code"/>  and <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="imageandlink1view"/> show the XHTML code and a Firefox
		browser rendering.
		
		<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="imageandlink1code">
				<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="imageandlink1code.gif"/>
				<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">XHTML Source Code for imageandlinkdemo1.html</caption>
			</figure>
			
			<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="imageandlink1view">
				<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="imageandlink1view.gif"/>
				<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Firefox Browser view of imageandlinkdemo1.html</caption>
			</figure>
		
		</para>
		
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchor3">
		Line 12 of <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="imageandlink1code"/> contains the anchor tag:
		<code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="block">
		
		&lt;a href="http://www.damer.com/"&gt;Bruce Damer&lt;/a&gt;
		
		</code>
		The only attribute shown is named <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">href</code>.  Notice that its value is the 
		<emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">complete</emphasis> URL to Bruce Damer's 
		site.  The text appearing in the browser window is contained <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">between</emphasis>
		<code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">&lt;a ... &gt;</code> and <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">&lt;/a&gt;</code> tags.
		
		</para>
		
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchor3a">
		If the page to which you are linking is not in your web site, then the value of 
		<code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">href</code> needs to be the <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">complete</emphasis> URL.  
		This includes the protocol, <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">http:</code>.  Pnly giving <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">www.damer.com</code> will 
		not suffice 
		in
		order for the link to work correctly.
		</para>
	
	</section>
	
	<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="linksabsoluteimages">
	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Absolute Addresses and Image Links</name>
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchor4">
		Links, as well as text, 
		can also be images. <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="imagelinkdemo1.html">
		imagelinkdemo1.html</link>
		shows a simple example where the Google logo is used as a link to Google's web site.  
		<cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="imagelink1code"/>  and <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="imagelink1view"/> show the XHTML code and 
		a Firefox
		browser rendering.
		
		<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="imagelink1code">
				<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="imagelink1code.gif"/>
				<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">XHTML Source Code for imagelinkdemo1.html</caption>
			</figure>
			
			<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="imagelink1view">
				<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="imagelink1view.gif"/>
				<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Firefox Browser view of imagelinkdemo1.html</caption>
			</figure>
		
		</para>
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchor5">
		 
		<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="imagelinkdemo2.html">imagelinkdemo2.html</link> is 
		an additional example, where
		the image is a "thumbnail" (a smaller version) of the original image.  The 
		<code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">img</code> tag also contains a <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">longdesc</code> attribute with the attribute
		value specifying a file <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="piestats.html">piestats.html</link>. 
		All three files reside
		in the same folder/directory of the XHTML file.  As noted above, this can be very useful
		to making the data in the figure 
		<emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">accessible</emphasis> to those will visual difficulties.
		</para>
	
	</section>
	
	<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="relativeaddresses">
	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Relative Addresses</name>
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchor6">
		We now move to this situation where you want to specify links to files on your own web
		site.  In our example, 
		<cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="directory1"/> shows the folder/directory structure we will be using. 
			
				<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="directory1">
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="directory1.gif"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Folder/Directory Structure for Relative Addressing Examples</caption>
				</figure>
				
		The
		initial file, 
		<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://www.cs.txstate.edu/~rs01/cnx/rice/xhtml/module3/data/browserusage_table.htm"> 
		browserusage_table.htm</link> is
		in the data folder and contains a summary of data related to browser usage from January, 2006
		to August, 2006.  
		It contains links to:
			
			<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="relatedfiles">
				<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">A pie chart contained in an XHTML file (below 
				the data folder in the pie_chart folder),
				<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://www.cs.txstate.edu/~rs01/cnx/rice/xhtml/module3/data/pie_charts/piedemo1.html"> 
				piedemo1.html</link>
				This chart summarizes the data in the table for 
				August, 2006.</item>
				
				<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Line charts contained in
				XHTML files (at the same level as the data folder, 
				but in the line_charts folder),
				<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://www.cs.txstate.edu/~rs01/cnx/rice/xhtml/module3/line_charts/ie6linedemo1.html"> 
				ie6linedemo1.html</link>
				and
				<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://www.cs.txstate.edu/~rs01/cnx/rice/xhtml/module3/line_charts/ffoxlinedemo1.html"> 
				ffoxlinedemo1.html</link>
				These line charts show six month trends of usage for the Internet Explorer 6 and 
				Firefox
				browsers.
				</item>
			
			</list>

			Since Connexions does not allow for folders (as far as I can tell), these files are 
			contained
			on another server where the directory structure can be created.
		</para>
		
		
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchor7">
		<cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="browserusagecode"/> shows the relevant segement of XHTML 
		source code for browserusage_table.htm .
				
				<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="browserusagecode">
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="browserusagecode.gif"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Segment of XHTML code for browserusage_table.htm</caption>
				</figure>
				
			For those familiar with file and directory specification in Linux operating systems, the
			following notes will be familiar. Recall, that our initial file is in the data folder and 
			note:
			<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="rellinkdiscussion">
			<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Line 106: Shows that since the piedemo1.html file is directly below the data folder 
			in 
			the pie_charts folder, the value for the href attribute is
			<code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">pie_charts/piedemo1.html</code>, simply giving the name of the folder
			directly below the data folder, containing our initial file.</item>
			
			<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Lines 107 and 108: Show that in order to get to the line_charts folder,
			we must first move "up" one level (".." does this), then back "down" to the to
			the line_charts folder ("/line_charts), and finally to the files themselves
			(e.g. /ie6linedemo1.html). The segment
			of code from line 107,
			<code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">../line_charts/ie6linedemo1.html</code> , demonstrates this. </item>
			
			</list>
		</para>
	
	</section>
	
	<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="namedanchors">
	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Named Anchors</name>
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchor8">
		We have now discussed the following:
		<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="progress">
		
		
		<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Specifying links that
		reside on a server different from the one holding the file containing the links 
		we are constructing (absolute addressing).
		</item>
		
		<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Specifying links that are either text or images.
		In our examples, we provided the complete URL for the link, although as
		we saw later this is not necessary if we are constructing links within the current web site.</item>
		
		<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"> Specifying links to files that
		reside on the same server holding the file containing the links being constructing
		(relative addressing).
		</item>
		</list>
		  We now move to the situation where we want to specify a link to a location 
		<emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">within</emphasis> the same file, e.g. a file that is relatively long, containing a 
		considerable amount
		of information.  The links could be a kind of "table of contents" for the file, or if the file
		is a set of "frequently asked questions" (FAQ), the links might be to the answers to those questions.

		</para>
		
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchor8a">
		Our example is a snippet from William Shakespeare's 
		<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://www.gutenberg.org/catalog/world/results">Julius Caesar</link>, taken from 
		<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://www.gutenberg.org">Project Gutenberg</link>.  
		Let's say that we wish to place a link at the top of the file that takes the user directly 
		to the beginning of 
		Mark Antony's oration, the familiar, "Friends, Romans, countrymen, lend me 
		your ears!...". <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="caesar_snippet.html">caesar_snippet.html</link> shows
		the finished result.
		</para>
		
		
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchor10a">
		First, we need to place a marker at the location to which we wish our link to go.  Next, we 
		need 
		to specify the link
		to that marker.  This marker is often called a "named anchor."  Some HTML generators will also call it a "bookmark."
		</para>
		
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchor11">
		The code shown on line 49 of  <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="anchorcode"/> shows the XHTML code associated with
		specifying the marker/named anchor.
		
			<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="anchorcode">
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="anchorcode.gif"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Specifying a Named Anchor</caption>
			</figure>
		
		Notice the <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">name</code> and <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">id</code> attributes, both with the same values.  The older versions of this
		tag use the 
		<code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">name</code> attribute and later versions use the 
		<code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">id</code> attribute.  If you use only one, the id attribute is recommended.  
		</para>
		
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchor12">
		You might notice that line 49 
		 also contains one other XHTML tag about which we have not talked, <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">&lt;br /&gt;</code>.  This "break" tag
		(and empty tag, note the "/" at the end)
		produces a new line in your browser window.  The difference between the break tag, <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">&lt;br /&gt;</code>, and paragraph
		tags, 
		<code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">&lt;p&gt;</code> ... <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">&lt;/p&gt;</code> is that the default settings of most browsers display paragraph breaks 
		with a blank line between paragraphs, whereas the break tag only displays as a new line without a blank line between the
		lines where the tag appears.
		</para>
		
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paraanchro11a">
		All that remains is to move to the top of the file and place the link to the named anchor specified in line 49.
		Line 14 of <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="linkcode"/> show the link specification.
		
			<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="linkcode">
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="linkcode.gif"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Specifying a Link to a Named Anchor</caption>
			</figure>
		
		Notice the value for the <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">href</code> attribute is
		"#start" . Thus we see that all we need to do
		to specify such a link is to precede the <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">id/name</code> that we specified earlier with a "#".  Again, 
		<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="caesar_snippet.html">caesar_snippet.html</link> shows
		the finished result.  Notice what is displayed on the status bar of the browser when the cursor is
		moved over the link.  It shows the full URL and the file name is followed by "#start" indicating
		the named anchor.
		
		</para>
	
	</section>
  
  </section>
  
  <section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="dreamweaver">
  <name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Dreamweaver with Images and Links</name>
  <para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="dwpara1">
  Inserting images and links using Dreamweaver is a relatively simple matter and the sections below will describe
  this process.
  
  </para>
  	<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="dwimages">
	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Images</name>
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paradw2">
	To insert an image using Dreamweaver, you can use the menu bar and Insert/Image and 
	then provide the image name and path
	when the "Select Image Source" dialog (see <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="selectimage1"/>) box appears.
		
		<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="selectimage1">
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="selectimage1.gif"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Select Image Source Dialog Box</caption>
		</figure>
	
	</para>
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paradw3">
	Alternatively, you can also use the Insert Toolbar by clicking on the drop-down menu button next to the
	<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="imagebutton.gif"/> button, as shown in <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="inserttoolbar1"/>
	
		<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="inserttoolbar11">
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="inserttoolbar1.gif"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Inserting an Image from the Insert Toolbar</caption>
		</figure>
	
	</para>
	
	</section>
  
  	<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="dwrelabsaddresses">
	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Relative and Absolute Addresses/Text and Image Links</name>
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paradw4">
	Specifying links using Dreamweaver is simply a matter of selecting the text or image you wish to make a link 
	and completing the "Link" field in the Properties Panel. Since the Properties Panel differs depending on context, there
	is one for the text selection as shown in <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="textselect1"/>  and one for the image selection as shown in 
	<cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="imageselect1"/>.
	
		<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="textselect1">
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="textselect1.gif"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Inserting Text Link from the Properties Panel</caption>
		</figure>
		
		<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="imageselect1">
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="imageselect1.gif"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Inserting an Image Link from the Properties Panel</caption>
		</figure>
	
	</para>
	
	</section>
	
	<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="dwnamedanchors">
	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Named Anchors</name>
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="pardw5">
	Once the "named anchor" is specified as discussed in <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="namedanchors"/>, the link specification is done as noted in the
	previous section.  Once the cursor is at the place where the named
	anchor is to be placed, you can use Insert/Named Anchor from the menu 
	bar or the <media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="anchor.gif"/> button on the Insert Toolbar as show in 
	<cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="insertanchor1"/>
	
		<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="insertanchor1">
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="insertanchor1.gif"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Inserting an Image Link from the Properties Panel</caption>
		</figure>
	
	</para>
	
	</section>
	
	<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="dwimagemaps">
	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Image Maps</name>
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paradw6">
	We will begin with the pie chart, 
	<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://www.cs.txstate.edu/~rs01/cnx/rice/xhtml/module3/data/pie_charts/piedemo1.html">piedemo1.html</link>, 
	we discussed earlier
	when we were demonstrating relative addressing of links in 
	<cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="relativeaddresses"/>, using the directory structure shown in 
	<cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="directory1"/>.
	</para>
	
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paradw7">
	In this case, however, we will construct links such that when the mouse is moved over the slices of the pie chart
	corresponding to IEt and Ffox, there will be a link to the corresponding line chart for the January, 2006 to August, 2006
	usage for a particular browser.
	</para>
	
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paradw8">
	In order to do this, while in Dreamweaver, select the image and select then click on the "irregular polygon hotspot" on 
	the Properties Panel as indicated in <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="hotspot1"/>.
	
		<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="hotspot1">
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="hotspot1.gif"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Selecting the "Irregular Polygon Hotspot" in the Properties Inspector</caption>
		</figure>
	
	</para>
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="paradw9">
	Next click around the edges of the slice of the pie for which you wish to define the link, as shown in
	<cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="slice1"/>
	
		<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="slice1">
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="slice1.gif"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Selecting the "Irregular Polygon Hotspot" on the Image</caption>
		</figure>
	
	
	and then complete the Link field in the Properties Panel as shown in <cnxn xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" target="hotspot2"/>.
	
		<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="hotspot2">
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/gif" src="hotspot2.gif"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Completing the Link for the Pie "Hotspot"</caption>
		</figure>
	
	 
	<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://www.cs.txstate.edu/~rs01/cnx/rice/xhtml/module3/data/pie_charts/piedemo2.html">piedemo2.html</link>
	shows the result of specifying both the IE6 and Ffox slices of the pie chart.
	</para>
	
	</section>
	
  
  </section>
  <section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="conclusion">
	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Conclusion</name>
	<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="intro11">
	The following might also be helpful:
		<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="conclusisonlist"><item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://www.cs.txstate.edu/~rs01/web_programming/links.html">Links</link> to the other modules in this 
			"Web Programming Quick Start" series are available</item>
			<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
			<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://apollo.cs.txstate.edu/rs01/media/cnx/links.html">Links
			</link> 
			 to other screen recordings for these modules are also available (time permitting).
			</item>
		</list>
	</para>
	</section>
  
  </content>
  
</document>
