<?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>JaffnaCampus.com &#187; HTML Advanced</title>
	<atom:link href="http://jaffnacampus.com/category/html/html-advanced/feed/" rel="self" type="application/rss+xml" />
	<link>http://jaffnacampus.com</link>
	<description>Gateway to your IT potential</description>
	<lastBuildDate>Tue, 27 Sep 2011 13:57:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HTML Summary</title>
		<link>http://jaffnacampus.com/html/html-advanced/html-summary/</link>
		<comments>http://jaffnacampus.com/html/html-advanced/html-summary/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 12:43:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advanced]]></category>
		<category><![CDATA[HTML Summary]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=92</guid>
		<description><![CDATA[This tutorial has taught you how to use HTML to create your own web   site.
HTML is the universal [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial has taught you how to use HTML to create your own web   site.</p>
<p>HTML is the universal markup language for the Web. HTML lets you   format text, add graphics,   create links, input forms, frames and tables, etc., and save it all in a   text   file that any browser can read and display.</p>
<p>The key to HTML is the tags, which indicates what content is coming   up.</p>
<p>For more information on HTML, please take a look at our <a href="http://JaffnaCampus.com/html-reference/">HTML reference</a>.</p>
<hr />
<h2>Now You Know HTML, What&#8217;s Next?</h2>
<p>The next step is to learn XHTML and CSS.</p>
<p><strong>XHTML</strong></p>
<p>XHTML reformulates HTML 4.01 in XML.</p>
<p>If you want to learn more about XHTML, please   visit our <a href="http://JaffnaCampus.com/xhtml/">XHTML   tutorial</a>.</p>
<p><strong>CSS</strong></p>
<p>CSS is used to control the style and layout of multiple Web pages all   at   once.</p>
<p>With CSS, all formatting can be removed from the HTML document and   stored in   a separate file.</p>
<p>CSS gives you total control of the layout, without   messing up the document content.</p>
<p>To learn how to create style sheets, please   visit our <a href="http://JaffnaCampus.com/css/">CSS   tutorial</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/html/html-advanced/html-summary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML URL Encoding</title>
		<link>http://jaffnacampus.com/html/html-advanced/html-url-encoding/</link>
		<comments>http://jaffnacampus.com/html/html-advanced/html-url-encoding/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 12:40:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advanced]]></category>
		<category><![CDATA[HTML URL Encoding]]></category>
		<category><![CDATA[URL Encoding]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=90</guid>
		<description><![CDATA[URL encoding converts characters into a format that can   be safely transmitted over the Internet.

URL &#8211; Uniform Resource [...]]]></description>
			<content:encoded><![CDATA[<p>URL encoding converts characters into a format that can   be safely transmitted over the Internet.</p>
<hr />
<h2>URL &#8211; Uniform Resource Locator</h2>
<p>Web browsers request pages from web servers by using a URL.</p>
<p>The URL is the address of a web page like: <strong>http://JaffnaCampus.com.</strong></p>
<hr />
<h2>URL Encoding</h2>
<p>URLs can only be sent over the Internet using the <a href="http://JaffnaCampus.com/ref-ascii">ASCII   character-set</a>.</p>
<p>Since URLs often contains characters outside the ASCII set, the URL   has to be converted. URL encoding converts   the URL into a valid ASCII format.</p>
<p>URL encoding replaces unsafe ASCII characters with   &quot;%&quot; followed by two hexadecimal digits corresponding to the   character values in the ISO-8859-1   character-set.</p>
<p>URLs cannot contain spaces. URL encoding normally replaces a space   with a + sign.</p>
<hr />
<h2>URL Encoding Examples</h2>
<table id="table1" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left">Character</th>
<th align="left">URL-encoding</th>
</tr>
<tr>
<td>€</td>
<td>%80</td>
</tr>
<tr>
<td>£</td>
<td>%A3</td>
</tr>
<tr>
<td>©</td>
<td>%A9</td>
</tr>
<tr>
<td>®</td>
<td>%AE</td>
</tr>
<tr>
<td>À</td>
<td>%C0</td>
</tr>
<tr>
<td>Á</td>
<td>%C1</td>
</tr>
<tr>
<td>Â</td>
<td>%C2</td>
</tr>
<tr>
<td>Ã</td>
<td>%C3</td>
</tr>
<tr>
<td>Ä</td>
<td>%C4</td>
</tr>
<tr>
<td>Å</td>
<td>%C5</td>
</tr>
</tbody>
</table>
<p> For a complete reference of all URL encodings, visit our <a href="http://JaffnaCampus.com/url-encode">URL Encoding   Reference</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/html/html-advanced/html-url-encoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML 4.0 Event Attributes</title>
		<link>http://jaffnacampus.com/html/html-advanced/html-4-0-event-attributes/</link>
		<comments>http://jaffnacampus.com/html/html-advanced/html-4-0-event-attributes/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 12:35:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advanced]]></category>
		<category><![CDATA[Event Attributes]]></category>
		<category><![CDATA[HTML 4.0 Event Attributes]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=88</guid>
		<description><![CDATA[New to HTML 4.0 is the ability to let HTML events trigger actions in   the  browser, like [...]]]></description>
			<content:encoded><![CDATA[<p>New to HTML 4.0 is the ability to let HTML events trigger actions in   the  browser, like starting a JavaScript when a user clicks on an HTML   element. Below  is a list of attributes that can be inserted into HTML tags to define   event  actions.</p>
<p>If you want to learn more about programming with these events, you   should  study our <a href="http://JaffnaCampus.com/javascript/">JavaScript   tutorial</a> and our <a href="http://JaffnaCampus.com/dhtml/">DHTML  tutorial</a>.</p>
<hr />
<h2>Window Events</h2>
<p>Only valid in body and frameset elements.</p>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left" valign="top" width="25%">Attribute</th>
<th align="left" valign="top" width="15%">Value</th>
<th align="left" valign="top" width="60%">Description</th>
</tr>
<tr>
<td valign="top">onload</td>
<td valign="top"><em>script</em></td>
<td valign="top">Script to be run when a document loads </td>
</tr>
<tr>
<td valign="top">onunload</td>
<td valign="top"><em>script</em></td>
<td valign="top">Script to be run when a document unloads </td>
</tr>
</tbody>
</table>
<p></p>
<hr />
<h2>Form Element Events</h2>
<p>Only valid in form elements.</p>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left" valign="top" width="25%">Attribute</th>
<th align="left" valign="top" width="15%">Value</th>
<th align="left" valign="top" width="60%">Description</th>
</tr>
<tr>
<td valign="top">onchange</td>
<td valign="top"><em>script</em></td>
<td valign="top">Script to be run when the element changes </td>
</tr>
<tr>
<td valign="top">onsubmit</td>
<td valign="top"><em>script</em></td>
<td valign="top">Script to be run when the form is submitted </td>
</tr>
<tr>
<td valign="top">onreset</td>
<td valign="top"><em>script</em></td>
<td valign="top">Script to be run when the form is reset </td>
</tr>
<tr>
<td valign="top">onselect</td>
<td valign="top"><em>script </em></td>
<td valign="top">Script to be run when the element is selected </td>
</tr>
<tr>
<td valign="top">onblur</td>
<td valign="top"><em>script </em></td>
<td valign="top">Script to be run when the element loses focus </td>
</tr>
<tr>
<td valign="top">onfocus</td>
<td valign="top"><em>script </em></td>
<td valign="top">Script to be run when the element gets focus</td>
</tr>
</tbody>
</table>
<p></p>
<hr />
<h2>Keyboard Events</h2>
<p>Not valid in base, bdo, br, frame, frameset, head, html, iframe,   meta, param, script, style, and title elements.</p>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left" valign="top" width="25%">Attribute</th>
<th align="left" valign="top" width="15%">Value</th>
<th align="left" valign="top" width="60%">Description</th>
</tr>
<tr>
<td valign="top">onkeydown</td>
<td valign="top"><em>script</em> </td>
<td valign="top">What to do when key is pressed</td>
</tr>
<tr>
<td valign="top">onkeypress</td>
<td valign="top"><em>script</em> </td>
<td valign="top">What to do when key is pressed and released</td>
</tr>
<tr>
<td valign="top">onkeyup</td>
<td valign="top"><em>script</em> </td>
<td valign="top">What to do when key is released</td>
</tr>
</tbody>
</table>
<p></p>
<hr />
<h2>Mouse Events</h2>
<p>Not valid in base, bdo, br, frame, frameset, head, html, iframe,   meta, param, script, style, title elements.</p>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left" valign="top" width="25%">Attribute</th>
<th align="left" valign="top" width="15%">Value</th>
<th align="left" valign="top" width="60%">Description</th>
</tr>
<tr>
<td valign="top">onclick</td>
<td valign="top"><em>script</em> </td>
<td valign="top">What to do on a mouse click </td>
</tr>
<tr>
<td valign="top">ondblclick</td>
<td valign="top"><em>script</em> </td>
<td valign="top">What to do on a mouse double-click </td>
</tr>
<tr>
<td valign="top">onmousedown</td>
<td valign="top"><em>script</em> </td>
<td valign="top">What to do when mouse button is pressed </td>
</tr>
<tr>
<td valign="top">onmousemove</td>
<td valign="top"><em>script</em> </td>
<td valign="top">What to do when mouse pointer moves </td>
</tr>
<tr>
<td valign="top">onmouseout</td>
<td valign="top"><em>script</em></td>
<td valign="top">What to do when mouse pointer moves out of an element </td>
</tr>
<tr>
<td valign="top">onmouseover</td>
<td valign="top"><em>script</em></td>
<td valign="top">What to do when mouse pointer moves over an element </td>
</tr>
<tr>
<td valign="top">onmouseup</td>
<td valign="top"><em>script</em> </td>
<td valign="top">What to do when mouse button is released </td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/html/html-advanced/html-4-0-event-attributes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML 4.0 Standard Attributes</title>
		<link>http://jaffnacampus.com/html/html-advanced/html-4-0-standard-attributes/</link>
		<comments>http://jaffnacampus.com/html/html-advanced/html-4-0-standard-attributes/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 12:33:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advanced]]></category>
		<category><![CDATA[HTML 4.0 Standard Attributes]]></category>
		<category><![CDATA[Standard Attributes]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=86</guid>
		<description><![CDATA[HTML tags can have attributes. The special attributes for each tag   are listed   under each tag [...]]]></description>
			<content:encoded><![CDATA[<p>HTML tags can have attributes. The special attributes for each tag   are listed   under each tag description. The attributes listed   here are the core and language attributes that are standard for all tags   (with a few exceptions):</p>
<hr />
<h2>Core Attributes</h2>
<p>Not valid in base, head, html, meta, param, script, style, and title   elements.</p>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left" valign="top" width="20%">Attribute</th>
<th align="left" valign="top" width="35%">Value</th>
<th align="left" valign="top" width="45%">Description</th>
</tr>
<tr>
<td valign="top">class</td>
<td valign="top"><em>class_rule </em>or<em> style_rule</em></td>
<td valign="top">The class of the element</td>
</tr>
<tr>
<td valign="top">id</td>
<td valign="top"><em>id_name</em></td>
<td valign="top">A unique id for the element</td>
</tr>
<tr>
<td valign="top">style</td>
<td valign="top"><em>style_definition</em></td>
<td valign="top">An inline style definition </td>
</tr>
<tr>
<td valign="top">title</td>
<td valign="top"><em>tooltip_text </em></td>
<td valign="top">A text to display in a tool tip </td>
</tr>
</tbody>
</table>
<p></p>
<hr />
<h2>Language Attributes</h2>
<p>Not valid in base, br, frame, frameset, hr, iframe, param, and script     elements.</p>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left" valign="top" width="20%">Attribute</th>
<th align="left" valign="top" width="35%">Value</th>
<th align="left" valign="top" width="45%">Description</th>
</tr>
<tr>
<td valign="top">dir</td>
<td valign="top">ltr | rtl</td>
<td valign="top">Sets the text direction</td>
</tr>
<tr>
<td valign="top">lang</td>
<td valign="top"><em>language_code</em></td>
<td valign="top">Sets the language code</td>
</tr>
</tbody>
</table>
<p></p>
<hr />
<h2>Keyboard Attributes</h2>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left" valign="top" width="20%">Attribute</th>
<th align="left" valign="top" width="35%">Value</th>
<th align="left" valign="top" width="45%">Description</th>
</tr>
<tr>
<td valign="top">accesskey</td>
<td valign="top"><em>character</em></td>
<td valign="top">Sets a keyboard shortcut to access an element </td>
</tr>
<tr>
<td valign="top">tabindex</td>
<td valign="top"><em>number</em></td>
<td valign="top">Sets the tab order of an element </td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/html/html-advanced/html-4-0-standard-attributes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Scripts</title>
		<link>http://jaffnacampus.com/html/html-advanced/html-scripts/</link>
		<comments>http://jaffnacampus.com/html/html-advanced/html-scripts/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 12:31:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advanced]]></category>
		<category><![CDATA[HTML Scripts]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/html/html-advanced/html-scripts/</guid>
		<description><![CDATA[Add scripts to HTML pages to make them more dynamic and  interactive.

Insert a Script into HTML Page
A script in [...]]]></description>
			<content:encoded><![CDATA[<p>Add scripts to HTML pages to make them more dynamic and  interactive.</p>
<hr />
<h2>Insert a Script into HTML Page</h2>
<p>A script in HTML is defined with the &lt;script&gt; tag. Note that   you will  have to use the type attribute to specify the scripting language.</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;html&gt;<br />
        &lt;body&gt;</p>
<p>        &lt;script type=&quot;text/javascript&quot;&gt;<br />
        document.write(&quot;Hello World!&quot;)<br />
        &lt;/script&gt;</p>
<p>        &lt;/body&gt;<br />
        &lt;/html&gt; </td>
</tr>
</tbody>
</table>
<p>The script above will produce this output:</p>
<p>Hello World!</p>
<p><strong>Note:</strong> To learn more about scripting in HTML, visit our <a href="http://JaffnaCampus.com/javascript/">JavaScript  School</a>.</p>
<hr />
<h2>How to Handle Older Browsers</h2>
<p>A browser that does not recognize the &lt;script&gt; tag at all, will   display  the &lt;script&gt; tag&#8217;s content as text on the page. To prevent the   browser from  doing this, you should hide the script in comment tags. An old browser   (that does not  recognize the &lt;script&gt; tag) will ignore the comment and it will   not write  the tag&#8217;s content on the page, while a new browser will understand that   the  script should be executed, even if it is surrounded by comment tags.</p>
<h3>Example</h3>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td valign="top"><strong>JavaScript:</strong><br />
        &lt;script type=&quot;text/javascript&quot;&gt;<br />
        &lt;!&#8211;<br />
        document.write(&quot;Hello World!&quot;)<br />
        //&#8211;&gt;<br />
        &lt;/script&gt;</p>
<p><strong>VBScript:<br />
          </strong>&lt;script type=&quot;text/vbscript&quot;&gt;<br />
          &lt;!&#8211;<br />
          document.write(&quot;Hello World!&quot;)<br />
          &#8216;&#8211;&gt;<br />
          &lt;/script&gt;</p>
</td>
</tr>
</tbody>
</table>
<p></p>
<hr />
<h2>The &lt;noscript&gt; Tag</h2>
<p>In addition to hiding the script inside a comment, you can also add a   &lt;noscript&gt;  tag.</p>
<p>The &lt;noscript&gt; tag is used to define an alternate text if a  script is NOT executed. This tag is used for browsers that recognize the  &lt;script&gt; tag, but do not support the script inside, so these   browsers will  display the text inside the &lt;noscript&gt; tag instead. However, if a   browser supports  the script inside the &lt;script&gt; tag it will ignore the   &lt;noscript&gt;  tag.</p>
<h3>Example</h3>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td valign="top"><strong>JavaScript:</strong><br />
        &lt;script type=&quot;text/javascript&quot;&gt;<br />
        &lt;!&#8211;<br />
        document.write(&quot;Hello World!&quot;)<br />
        //&#8211;&gt;<br />
        &lt;/script&gt;<br />
        &lt;noscript&gt;Your browser does not support          JavaScript!&lt;/noscript&gt;</p>
<p><strong>VBScript:<br />
          </strong>&lt;script type=&quot;text/vbscript&quot;&gt;<br />
          &lt;!&#8211;<br />
          document.write(&quot;Hello World!&quot;)<br />
          &#8216;&#8211;&gt;<br />
          &lt;/script&gt;<br />
          &lt;noscript&gt;Your browser does not support   VBScript!&lt;/noscript&gt;</p>
</td>
</tr>
</tbody>
</table>
<p></p>
<hr />
<h2>Script Tags</h2>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left" valign="top">Tag</th>
<th align="left">Description</th>
</tr>
<tr>
<td valign="top">&lt;script&gt;</td>
<td>Defines a script</td>
</tr>
<tr>
<td valign="top">&lt;noscript&gt;</td>
<td>Defines an alternate text if the script is not executed</td>
</tr>
<tr>
<td valign="top">&lt;object&gt;</td>
<td>Defines an embedded object</td>
</tr>
<tr>
<td valign="top">&lt;param&gt;</td>
<td>Defines run-time settings (parameters) for an object</td>
</tr>
<tr>
<td valign="top">&lt;applet&gt;</td>
<td>Deprecated. Use &lt;object&gt; instead</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/html/html-advanced/html-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Uniform Resource Locators</title>
		<link>http://jaffnacampus.com/html/html-advanced/html-uniform-resource-locators/</link>
		<comments>http://jaffnacampus.com/html/html-advanced/html-uniform-resource-locators/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 12:26:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advanced]]></category>
		<category><![CDATA[HTML Uniform Resource Locators]]></category>
		<category><![CDATA[Uniform Resource Locators]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=83</guid>
		<description><![CDATA[HTML Links
When you click on a link in an HTML document like this: Last  Page, an underlying &#60;a&#62; tag [...]]]></description>
			<content:encoded><![CDATA[<h2>HTML Links</h2>
<p>When you click on a link in an HTML document like this: <a target="_blank" href="http://JaffnaCampus.com/html/lastpage.htm">Last  Page</a>, an underlying &lt;a&gt; tag points to a place (an address) on   the Web  with an href attribute value like this: &lt;a   href=&quot;lastpage.htm&quot;&gt;Last  Page&lt;/a&gt;.</p>
<p>The Last Page link in the example is a link that is relative to the   Web site  that you are browsing, and your browser will construct a full Web   address like <a href="http://JaffnaCampus.com/html/lastpage.htm" target="_blank">http://JaffnaCampus.com/html/lastpage.htm</a> to access the page.</p>
<hr />
<h2>URL &#8211; Uniform Resource Locator</h2>
<p>Something called a Uniform Resource Locator (URL) is used to address a  document (or other data) on the  World Wide Web. A full Web address like this: <a href="http://JaffnaCampus.com/html/lastpage.htm" target="_blank">http://JaffnaCampus.com/html/lastpage.htm</a> follows these syntax rules:</p>
<p><strong>scheme://host.domain:port/path/filename</strong></p>
<p>The <strong>scheme</strong> is defining the <strong>type</strong> of Internet service. The   most  common type is <strong>http</strong>.</p>
<p>The <strong>domain</strong> is defining the Internet <strong>domain name</strong> like  JaffnaCampus.com.</p>
<p>The <strong>host</strong> is defining the domain host. If omitted, the default   host for  http is <strong>www</strong>.</p>
<p>The <strong>:port</strong> is defining the <strong>port number </strong>at the host. The   port  number is normally omitted. The default port number for http is <strong>80</strong>. </p>
<p>The <strong>path</strong> is defining a <strong>path</strong> (a sub directory) at the   server.  If the path is omitted, the resource (the document) must be located at   the root  directory of the Web site.</p>
<p>The <strong>filename</strong> is defining the name of a document. The default   filename  might be default.asp, or index.html or something else depending on the   settings  of the Web server.</p>
<hr />
<h2>URL Schemes</h2>
<p>Some examples of the most common schemes can be found below:</p>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left" valign="top">Schemes</th>
<th align="left">Access</th>
</tr>
<tr>
<td>file</td>
<td>a file on your local PC</td>
</tr>
<tr>
<td>ftp</td>
<td>a file on an FTP server</td>
</tr>
<tr>
<td>http</td>
<td>a file on a World Wide Web Server</td>
</tr>
<tr>
<td>gopher</td>
<td>a file on a Gopher server</td>
</tr>
<tr>
<td>news</td>
<td>a Usenet newsgroup</td>
</tr>
<tr>
<td>telnet</td>
<td>a Telnet connection</td>
</tr>
<tr>
<td>WAIS</td>
<td>a file on a WAIS server</td>
</tr>
</tbody>
</table>
<p></p>
<hr />
<h2>Accessing a Newsgroup</h2>
<p>The following HTML code:</p>
<p>&lt;a href=&quot;news:alt.html&quot;&gt;HTML Newsgroup&lt;/a&gt;</p>
<p>creates a link to a newsgroup like this <a href="news:alt.html">HTML   Newsgroup</a>.</p>
<hr />
<h2>Downloading with FTP</h2>
<p>The following HTML code:</p>
<p>&lt;a href=&quot;ftp://www.w3schools.com/ftp/winzip.exe&quot;&gt;Download   WinZip&lt;/a&gt;</p>
<p>creates a link to download a file like this: <a target="_blank" href="ftp://JaffnaCampus.com/ftp/winzip.exe">Download  WinZip</a>.</p>
<p>(The link doesn&#8217;t work. Don&#8217;t try it. It is just an example.   W3Schools doesn&#8217;t  really have an ftp directory.)</p>
<hr />
<h2>Link to your Mail system</h2>
<p>The following HTML code:</p>
<p>&lt;a   href=&quot;mailto:someone@w3schools.com&quot;&gt;someone@w3schools.com&lt;/a&gt;</p>
<p>creates a link to your own mail system like this:</p>
<p><a href="mailto:sathees@JaffnaCampus.com">sathees@JaffnaCampus.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/html/html-advanced/html-uniform-resource-locators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Meta</title>
		<link>http://jaffnacampus.com/html/html-advanced/html-meta/</link>
		<comments>http://jaffnacampus.com/html/html-advanced/html-meta/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 11:20:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advanced]]></category>
		<category><![CDATA[HTML Meta]]></category>
		<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=81</guid>
		<description><![CDATA[The Meta Element 
As we explained in the previous chapter, the head element contains   general  information (meta-information) [...]]]></description>
			<content:encoded><![CDATA[<h2>The Meta Element </h2>
<p>As we explained in the previous chapter, the head element contains   general  information (meta-information) about  a document. </p>
<p>HTML also includes a meta element that goes inside the head element.   The  purpose of the meta element is to provide meta-information about the   document. </p>
<p>Most often the meta element is used to provide information that is   relevant  to browsers or search engines like  describing the content of your document.</p>
<p><strong>Note:</strong> W3C states that &quot;<em>Some user agents support the use of   META to   refresh the current page after a specified number of seconds, with the   option of   replacing it by a different URI. Authors should not use this technique   to   forward users to different pages, as this makes the page inaccessible to   some   users. Instead, automatic page forwarding should be done using   server-side   redirects</em>&quot; at <a target="_blank" href="http://www.w3.org/TR/html4/struct/global.html#adef-http-equiv">http://www.w3.org/TR/html4/struct/global.html#adef-http-equiv</a>.</p>
<hr />
<h2>Keywords for Search Engines</h2>
<p>Some search engines on the WWW will use the name and content   attributes of  the meta tag to index your pages.</p>
<p>This meta element defines a description of your page:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;meta name=&quot;description&quot; content=&quot;Free Web tutorials on HTML, CSS,   XML, and XHTML&quot;   /&gt; </td>
</tr>
</tbody>
</table>
<p>This meta element defines keywords for your page:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;meta name=&quot;keywords&quot; content=&quot;HTML, DHTML, CSS, XML, XHTML,   JavaScript&quot;   /&gt; </td>
</tr>
</tbody>
</table>
<p>The intention of the name and content attributes is to describe the   content of  a page.</p>
<p>However, since too many webmasters have used meta tags for spamming,   like  repeating keywords to give pages a higher ranking, some search engines   have stopped using them entirely.</p>
<p>You can read more about search engines in our <a href="http://JaffnaCampus.com/seo/">SEO Tutorial</a>. </p>
<hr />
<h2>Unknown Meta Attributes</h2>
<p>Sometimes you will see meta attributes that are unknown to you like   this:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;meta name=&quot;security&quot; content=&quot;low&quot; /&gt; </td>
</tr>
</tbody>
</table>
<p>Then you just have to accept that this is something unique to the   site or to the  author of the site, and that it has probably no relevance to you.</p>
<p>You can see a complete list of the meta element attributes in our<br />
  <a href="http://JaffnaCampus.com/html-reference/">Complete  HTML 4.01 Tag Reference</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/html/html-advanced/html-meta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Head</title>
		<link>http://jaffnacampus.com/html/html-advanced/html-head/</link>
		<comments>http://jaffnacampus.com/html/html-advanced/html-head/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 11:16:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advanced]]></category>
		<category><![CDATA[Head]]></category>
		<category><![CDATA[HTML Head]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/html/html-advanced/html-head/</guid>
		<description><![CDATA[The Head Element
The head element contains general information, also called   meta-information, about  a document. Meta means &#34;information [...]]]></description>
			<content:encoded><![CDATA[<h2>The Head Element</h2>
<p>The head element contains general information, also called   meta-information, about  a document. Meta means &quot;information about&quot;. </p>
<p>You can say that meta-data means information about data, or   meta-information means information about information. </p>
<hr />
<h2>Information Inside the Head Element </h2>
<p> The elements inside the head element should not be displayed by a   browser.  </p>
<p> According to  the HTML standard, only a few tags are legal inside the head  section. These are: &lt;base&gt;, &lt;link&gt;, &lt;meta&gt;,   &lt;title&gt;, &lt;style&gt;,  and &lt;script&gt;.  </p>
<p>Look at the following illegal construct: </p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;head&gt;<br />
        &lt;p&gt;This is some text&lt;/p&gt;<br />
        &lt;/head&gt; </td>
</tr>
</tbody>
</table>
<p>In this case the browser has two options:</p>
<ul>
<li>Display the text because it is inside a paragraph element</li>
<li>Hide the text because it is inside a head element</li>
</ul>
<p>If you put an HTML element like &lt;h1&gt; or &lt;p&gt; inside a head   element  like this, most browsers will display it, even if it is illegal.</p>
<p>Should browsers forgive you for errors like this? We don&#8217;t think so.   Others  do.</p>
<hr />
<h2>Head Tags</h2>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left" valign="top" width="25%">Tag</th>
<th align="left" valign="top" width="80%">Description</th>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/tags/tag_head.asp">&lt;head&gt;</a></td>
<td valign="top"> Defines information about the document</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/tags/tag_title.asp">&lt;title&gt;</a></td>
<td valign="top">Defines the document title</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/tags/tag_base.asp">&lt;base&gt;</a></td>
<td valign="top">Defines a base URL for all the links on a page</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/tags/tag_link.asp">&lt;link&gt;</a></td>
<td valign="top">Defines a resource reference</td>
</tr>
<tr>
<td valign="top"><a href="http://www.w3schools.com/tags/tag_meta.asp">&lt;meta&gt;</a></td>
<td valign="top">Defines meta information</td>
</tr>
</tbody>
</table>
<p></p>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left" valign="top" width="25%">Tag</th>
<th align="left" valign="top" width="80%">Description</th>
</tr>
<tr>
<td valign="top" width="80"><a href="http://www.w3schools.com/tags/tag_doctype.asp">&lt;!DOCTYPE&gt;</a></td>
<td valign="top">Defines the document type. This tag goes before the   &lt;html&gt; start tag.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/html/html-advanced/html-head/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Character Entities</title>
		<link>http://jaffnacampus.com/html/html-advanced/html-character-entities/</link>
		<comments>http://jaffnacampus.com/html/html-advanced/html-character-entities/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 11:14:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advanced]]></category>
		<category><![CDATA[Character Entities]]></category>
		<category><![CDATA[HTML Character Entities]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=78</guid>
		<description><![CDATA[Reserved characters in HTML must be replaced with   character   entities.

Character Entities
Some characters are reserved in HTML. [...]]]></description>
			<content:encoded><![CDATA[<p>Reserved characters in HTML must be replaced with   character   entities.</p>
<hr />
<h2>Character Entities</h2>
<p>Some characters are reserved in HTML. For example, you cannot use the   greater   than or less than signs within your text because the browser could   mistake them   for markup.</p>
<p>If we want the browser to actually display  these characters we must insert character entities in the HTML  source.</p>
<p>A character entity looks like this: &amp;<em>entity_name</em>; OR   &amp;#<em>entity_number</em>; </p>
<p>To display a less than sign we must write: <strong>&amp;lt;</strong> or <strong>&amp;#60;</strong></p>
<p>The advantage of using an entity name instead of a number is that the   name   often is easier to remember. However, the disadvantage is that browsers   may not support   all entity names (while the support for entity numbers is very  good).</p>
<hr />
<h2>Non-breaking Space</h2>
<p>The most common character entity in HTML is the non-breaking space.</p>
<p>Normally HTML will truncate spaces in your text. If you write 10   spaces in  your text HTML will remove 9 of them. To add lots of spaces to your   text, use the &amp;nbsp;  character entity.</p>
<hr />
<h2>Commonly Used Character Entities</h2>
<p><strong>Note</strong> Entity names are case sensitive!</p>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left">Result</th>
<th align="left">Description</th>
<th align="left">Entity Name</th>
<th align="left">Entity Number</th>
</tr>
<tr>
<td> </td>
<td>non-breaking space</td>
<td>&amp;nbsp;</td>
<td>&amp;#160;</td>
</tr>
<tr>
<td>&lt;</td>
<td>less than</td>
<td>&amp;lt;</td>
<td>&amp;#60;</td>
</tr>
<tr>
<td>&gt;</td>
<td>greater than</td>
<td>&amp;gt;</td>
<td>&amp;#62;</td>
</tr>
<tr>
<td>&amp;</td>
<td>ampersand</td>
<td>&amp;amp;</td>
<td>&amp;#38;</td>
</tr>
<tr>
<td>¢</td>
<td>cent</td>
<td>&amp;cent;</td>
<td>&amp;#162;</td>
</tr>
<tr>
<td>£</td>
<td>pound</td>
<td>&amp;pound;</td>
<td>&amp;#163;</td>
</tr>
<tr>
<td>¥</td>
<td>yen</td>
<td>&amp;yen;</td>
<td>&amp;#165;</td>
</tr>
<tr>
<td>€</td>
<td>euro</td>
<td>&amp;euro;</td>
<td>&amp;#8364;</td>
</tr>
<tr>
<td>§</td>
<td>section</td>
<td>&amp;sect;</td>
<td>&amp;#167;</td>
</tr>
<tr>
<td>©</td>
<td>copyright</td>
<td>&amp;copy;</td>
<td>&amp;#169;</td>
</tr>
<tr>
<td>®</td>
<td>registered trademark</td>
<td>&amp;reg;</td>
<td>&amp;#174;</td>
</tr>
</tbody>
</table>
<p> For a complete reference of all character entities, visit our <a href="http://JaffnaCampus.com/html-reference">HTML Reference</a>. </p>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/html/html-advanced/html-character-entities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Styles</title>
		<link>http://jaffnacampus.com/html/html-advanced/html-styles-advanced/</link>
		<comments>http://jaffnacampus.com/html/html-advanced/html-styles-advanced/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 11:10:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advanced]]></category>
		<category><![CDATA[HTML Styles]]></category>
		<category><![CDATA[Styles]]></category>

		<guid isPermaLink="false">http://jaffnacampus.com/?p=75</guid>
		<description><![CDATA[With HTML 4.0 all formatting can be moved out of the   HTML document and into a  separate [...]]]></description>
			<content:encoded><![CDATA[<p>With HTML 4.0 all formatting can be moved out of the   HTML document and into a  separate style sheet.</p>
<hr />
<h2>How to Use Styles</h2>
<p>When a browser reads a style sheet, it will format the document   according to  it. There are three ways of inserting a style sheet:</p>
<h3>External Style Sheet</h3>
<p>An external style sheet is ideal when the style is applied to many   pages.  With an external style sheet, you can change the look of an entire Web   site by  changing one file. Each page must link to the style sheet using the   &lt;link&gt;  tag. The &lt;link&gt; tag goes inside the head section.</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;head&gt;<br />
        &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;style.css&quot;&gt;<br />
        &lt;/head&gt; </td>
</tr>
</tbody>
</table>
<h3>Internal Style Sheet</h3>
<p>An internal style sheet should be used when a single document has a   unique  style. You define internal styles in the head section with the   &lt;style&gt;  tag.</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;head&gt;<br />
        &lt;style type=&quot;text/css&quot;&gt;<br />
        body {background-color: red}<br />
        p {margin-left: 20px}<br />
        &lt;/style&gt;<br />
        &lt;/head&gt; </td>
</tr>
</tbody>
</table>
<h3>Inline Styles</h3>
<p>An inline style should be used when a unique style is to  be applied to a single occurrence of an element.</p>
<p>To use inline styles you use the style attribute in the relevant tag.   The  style attribute can contain any CSS property. The example shows how to   change  the color and the left margin of a paragraph:</p>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td>&lt;p style=&quot;color: red; margin-left: 20px&quot;&gt;<br />
        This is a paragraph<br />
        &lt;/p&gt; </td>
</tr>
</tbody>
</table>
<p> To learn more about styles, visit our <a href="http://JaffnaCampus.com/css/">CSS tutorial</a>. </p>
<hr />
<h2>Style Tags</h2>
<table border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left">Tag</th>
<th align="left">Description</th>
</tr>
<tr>
<td><a href="http://www.w3schools.com/tags/tag_style.asp">&lt;style&gt;</a></td>
<td>Defines a style definition</td>
</tr>
<tr>
<td><a href="http://www.w3schools.com/tags/tag_link.asp">&lt;link&gt;</a></td>
<td>Defines a resource reference</td>
</tr>
<tr>
<td><a href="http://www.w3schools.com/tags/tag_div.asp">&lt;div&gt;</a></td>
<td>Defines a  section in a document</td>
</tr>
<tr>
<td><a href="http://www.w3schools.com/tags/tag_span.asp">&lt;span&gt;</a></td>
<td>Defines a section in a document</td>
</tr>
<tr>
<td><a href="http://www.w3schools.com/tags/tag_font.asp">&lt;font&gt;</a></td>
<td>Deprecated. Use styles instead</td>
</tr>
<tr>
<td><a href="http://www.w3schools.com/tags/tag_basefont.asp">&lt;basefont&gt;</a></td>
<td>Deprecated. Use styles instead </td>
</tr>
<tr>
<td><a href="http://www.w3schools.com/tags/tag_center.asp">&lt;center&gt;</a></td>
<td>Deprecated. Use styles instead</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://jaffnacampus.com/html/html-advanced/html-styles-advanced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

