<?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>DHTML ONLINE &#187; HTML Advance</title>
	<atom:link href="http://dhtmlonline.com/category/html-advance/feed/" rel="self" type="application/rss+xml" />
	<link>http://dhtmlonline.com</link>
	<description>HTML and DHTML tutorials</description>
	<lastBuildDate>Tue, 15 Sep 2009 09:37:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HTML Layout</title>
		<link>http://dhtmlonline.com/html-layout/</link>
		<comments>http://dhtmlonline.com/html-layout/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:14:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advance]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=56</guid>
		<description><![CDATA[Everywhere on the Web you will find pages that  				are formatted like newspaper pages using HTML columns.

HTML Layout &#8211; Using Tables



One very common practice  						with HTML, is to use HTML tables to format the layout of  						an HTML page.A part of this page is formatted with two columns,  						like a newspaper [...]]]></description>
			<content:encoded><![CDATA[<p>Everywhere on the Web you will find pages that  				are formatted like newspaper pages using HTML columns.</p>
<hr />
<h2>HTML Layout &#8211; Using Tables</h2>
<table id="table3" border="0" cellpadding="7" width="100%">
<tbody>
<tr>
<td width="50%" valign="top">One very common practice  						with HTML, is to use HTML tables to format the layout of  						an HTML page.A part of this page is formatted with two columns,  						like a newspaper page.</p>
<p>As you can see on this page, there is a left column  						and a right column.</p>
<p>This text is displayed in the left column.</td>
<td width="50%" valign="top">An HTML &lt;table&gt; is used to  						divide a part of this Web page into two columns.The trick is to use a table without borders, and  						maybe a little extra cell-padding.</p>
<p>No matter how much text you add to this page, it will  						stay inside its column borders.</td>
</tr>
</tbody>
</table>
<hr />
<h2>Same Layout &#8211; Color Added</h2>
<table id="table4" border="0" cellpadding="7" width="100%">
<tbody>
<tr>
<td width="50%" valign="top">One very common practice  						with HTML, is to use HTML tables to format the layout of  						an HTML page.A part of this page is formatted with two columns,  						like a newspaper page.</p>
<p>As you can see at this page, there is a left column  						and a right column.</td>
<td width="50%" valign="top" bgcolor="#00ffff">An HTML  						&lt;table&gt; is used to divide a part of this Web page into  						two columns.This text is displayed in the right column.</p>
<p>The trick is to use a table without borders, and  						maybe a little extra cell-padding.</p>
<p>No matter how much text you add to this page, it will  						stay inside its column borders.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Fonts</title>
		<link>http://dhtmlonline.com/html-fonts/</link>
		<comments>http://dhtmlonline.com/html-fonts/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:13:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advance]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/html-fonts/</guid>
		<description><![CDATA[The &#60;font&#62; tag in HTML is deprecated. It is  				supposed to be removed in a future version of HTML.
Even if a lot of people are using it, you  				should try to avoid it, and use styles instead.

The HTML &#60;font&#62; Tag
With HTML code like this, you can specify both the size and  				the [...]]]></description>
			<content:encoded><![CDATA[<p>The &lt;font&gt; tag in HTML is deprecated. It is  				supposed to be removed in a future version of HTML.</p>
<p>Even if a lot of people are using it, you  				should try to avoid it, and use styles instead.</p>
<hr />
<h2>The HTML &lt;font&gt; Tag</h2>
<p>With HTML code like this, you can specify both the size and  				the type of the browser output :</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;p&gt;
&lt;font size="2" face="Verdana"&gt;
This is a paragraph.
&lt;/font&gt;
&lt;/p&gt;</pre>
<pre>&lt;p&gt;
&lt;font size="3" face="Times"&gt;
This is another paragraph.
&lt;/font&gt;
&lt;/p&gt;</pre>
</td>
</tr>
</tbody>
</table>
<h2>Font Attributes</h2>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left">Attribute</th>
<th align="left">Example</th>
<th align="left">Purpose</th>
</tr>
<tr>
<td>size=&#8221;number&#8221;</td>
<td>size=&#8221;2&#8243;</td>
<td>Defines the font size</td>
</tr>
<tr>
<td>size=&#8221;+number&#8221;</td>
<td>size=&#8221;+1&#8243;</td>
<td>Increases the font size</td>
</tr>
<tr>
<td>size=&#8221;-number&#8221;</td>
<td>size=&#8221;-1&#8243;</td>
<td>Decreases the font size</td>
</tr>
<tr>
<td>face=&#8221;face-name&#8221;</td>
<td>face=&#8221;Times&#8221;</td>
<td>Defines the font-name</td>
</tr>
<tr>
<td>color=&#8221;color-value&#8221;</td>
<td>color=&#8221;#eeff00&#8243;</td>
<td>Defines the font color</td>
</tr>
<tr>
<td>color=&#8221;color-name&#8221;</td>
<td>color=&#8221;red&#8221;</td>
<td>Defines the font color</td>
</tr>
</tbody>
</table>
<hr />
<h2>The &lt;font&gt; Tag Should NOT be Used</h2>
<p>The &lt;font&gt; tag is deprecated in the latest versions of HTML  				(HTML 4 and XHTML).</p>
<p>The World Wide Web Consortium (W3C) has removed the &lt;font&gt;  				tag from its recommendations. In future versions of HTML, style  				sheets (CSS) will be used to define the layout and display  				properties of HTML elements.</p>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-fonts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML 4.0 Why</title>
		<link>http://dhtmlonline.com/html-4-0-why/</link>
		<comments>http://dhtmlonline.com/html-4-0-why/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:13:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advance]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/html-4-0-why/</guid>
		<description><![CDATA[HTML 3.2 Was Very Wrong !
The original HTML was never intended to contain tags  				for formatting a document. HTML tags were intended to  				define the content of the document like:
&#60;p&#62;This is a paragraph&#60;/p&#62;
&#60;h1&#62;This is a heading&#60;/h1&#62;
When tags like &#60;font&#62; and color attributes were added to the  				HTML 3.2 specification, it started a [...]]]></description>
			<content:encoded><![CDATA[<h2>HTML 3.2 Was Very Wrong !</h2>
<p>The original HTML was <strong>never intended</strong> to contain tags  				for <strong>formatting</strong> a document. HTML tags were intended to  				define the <strong>content</strong> of the document like:</p>
<p>&lt;p&gt;This is a paragraph&lt;/p&gt;</p>
<p>&lt;h1&gt;This is a heading&lt;/h1&gt;</p>
<p>When tags like &lt;font&gt; and color attributes were added to the  				HTML 3.2 specification, it started a <strong>nightmare</strong> for web  				developers. Development of large web sites where fonts and color  				information had to be added to every single Web page, became a  				long, expensive and unduly painful process.</p>
<hr />
<h2>What is so Great About HTML 4.0 ?</h2>
<p>In HTML 4.0 <strong>all formatting can be removed</strong> from the  				HTML document and stored in a separate style sheet.</p>
<p>Because HTML 4.0 separates the presentation from the document  				structure, we have what we always needed: Total control of  				presentation layout without messing up the document content.</p>
<hr />
<h2>What Should You do About it ?</h2>
<p>Do not use presentation attributes inside your HTML tags if  				you can avoid it. Start using styles!</p>
<p>Do not use deprecated tags.</p>
<hr />
<h2>Prepare Yourself for XHTML</h2>
<p>XHTML is the &#8220;new&#8221; HTML. The most important thing you can do  				is to start writing valid HTML 4.01. Also start writing your  				tags in lower case. Always close your tag elements. Never end a  				paragraph without &lt;/p&gt;.</p>
<p><strong>NOTE: </strong>The official HTML 4.01 recommends the use of  				lower case tags.</p>
<hr />
<h2>Validate Your HTML Files as HTML 4.01</h2>
<p>An HTML document is validated against a Document Type  				Definition (DTD). Before an HTML file can be properly validated,  				a correct DTD must be added as the first line of the file.</p>
<p>The HTML 4.01 Strict DTD includes elements and attributes  				that have not been deprecated or do not appear in framesets:</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td align="left">
<pre>&lt;!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>The HTML 4.01 Transitional DTD includes everything in the  				strict DTD plus deprecated elements and attributes:</p>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td align="left">
<pre>&lt;!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>The HTML 4.01 Frameset DTD includes everything in the  				transitional DTD plus frames as well:</p>
<table id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td align="left">
<pre>&lt;!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd"&gt;</pre>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-4-0-why/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Styles</title>
		<link>http://dhtmlonline.com/html-styles/</link>
		<comments>http://dhtmlonline.com/html-styles/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:12:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advance]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=52</guid>
		<description><![CDATA[With HTML 4.0 all formatting can be moved out  				of the HTML document and into a separate style sheet.

How to Use Styles
When a browser reads a style sheet, it will format the  				document according to it. There are three ways of inserting a  				style sheet:
External Style Sheet
An external style sheet is ideal [...]]]></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 id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;head&gt;
&lt;link rel="stylesheet" type="text/css"
href="mystyle.css"&gt;
&lt;/head&gt;</pre>
</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 id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;head&gt;
&lt;style type="text/css"&gt;
body {background-color: red}
p {margin-left: 20px}
&lt;/style&gt;
&lt;/head&gt;</pre>
</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 id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;p style="color: red; margin-left: 20px"&gt;
This is a paragraph
&lt;/p&gt;</pre>
</td>
</tr>
</tbody>
</table>
<hr />
<h2>Style Tags</h2>
<table id="table6" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left">Tag</th>
<th align="left">Description</th>
</tr>
<tr>
<td>&lt;style&gt;</td>
<td>Defines a style definition</td>
</tr>
<tr>
<td>&lt;link&gt;</td>
<td>Defines a resource reference</td>
</tr>
<tr>
<td>&lt;div&gt;</td>
<td>Defines a section in a document</td>
</tr>
<tr>
<td>&lt;span&gt;</td>
<td>Defines a section in a document</td>
</tr>
<tr>
<td>&lt;font&gt;</td>
<td>Deprecated. Use styles instead</td>
</tr>
<tr>
<td>&lt;basefont&gt;</td>
<td>Deprecated. Use styles instead</td>
</tr>
<tr>
<td>&lt;center&gt;</td>
<td>Deprecated. Use styles instead</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-styles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Head</title>
		<link>http://dhtmlonline.com/html-head/</link>
		<comments>http://dhtmlonline.com/html-head/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:12:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advance]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=50</guid>
		<description><![CDATA[The Head Element
The head element contains general information, also called  				meta-information, about a document. Meta means &#8220;information  				about&#8221;.
You can say that meta-data means information about data, or  				meta-information means information about information.

Information Inside the Head Element
The elements inside the head element should not be displayed  				by a browser.
According to the HTML [...]]]></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 &#8220;information  				about&#8221;.</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 id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;head&gt;
  &lt;p&gt;This is some text&lt;/p&gt;
&lt;/head&gt;</pre>
</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 id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="25%" align="left" valign="top">Tag</th>
<th width="80%" align="left" valign="top">Description</th>
</tr>
<tr>
<td valign="top">&lt;head&gt;</td>
<td valign="top">Defines information about the document</td>
</tr>
<tr>
<td valign="top">&lt;title&gt;</td>
<td valign="top">Defines the document title</td>
</tr>
<tr>
<td valign="top">&lt;base&gt;</td>
<td valign="top">Defines a base URL for all the links on  						a page</td>
</tr>
<tr>
<td valign="top">&lt;link&gt;</td>
<td valign="top">Defines a resource reference</td>
</tr>
<tr>
<td valign="top">&lt;meta&gt;</td>
<td valign="top">Defines meta information</td>
</tr>
</tbody>
</table>
<table id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="25%" align="left" valign="top">Tag</th>
<th width="80%" align="left" valign="top">Description</th>
</tr>
<tr>
<td width="80" valign="top">&lt;!DOCTYPE&gt;</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://dhtmlonline.com/html-head/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Meta</title>
		<link>http://dhtmlonline.com/html-meta/</link>
		<comments>http://dhtmlonline.com/html-meta/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:11:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advance]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/html-meta/</guid>
		<description><![CDATA[The Meta Element
As we explained in the previous chapter, the head element  				contains general information (meta-information) about a  				document.
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.
Most often the meta element is used to provide [...]]]></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 &#8220;<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>&#8221; at 				 http://www.w3.org/TR/html4/struct/global.html#adef-http-equiv.</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>
<table id="table3" border="1" cellspacing="0" cellpadding="3" width="100%">
<tbody>
<tr>
<td valign="top"><strong>This meta element defines a  						description of your page: </strong>&lt;meta name=&#8221;description&#8221; content=&#8221;Free Web tutorials  						on HTML, CSS, XML, and XHTML&#8221;&gt;</td>
</tr>
</tbody>
</table>
<table id="table4" border="1" cellspacing="0" cellpadding="3" width="100%">
<tbody>
<tr>
<td valign="top"><strong>This meta element defines keywords  						for your page:</strong>&lt;meta name=&#8221;keywords&#8221; content=&#8221;HTML, DHTML, CSS, XML,  						XHTML, JavaScript, VBScript&#8221;&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>
<hr />
<h2>Unknown Meta Attributes</h2>
<p>Sometimes you will see meta attributes that are unknown to  				you like this:</p>
<table id="table5" border="1" cellspacing="0" cellpadding="3" width="100%">
<tbody>
<tr>
<td valign="top">&lt;meta name=&#8221;security&#8221; content=&#8221;low&#8221;&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>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-meta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML URLs</title>
		<link>http://dhtmlonline.com/html-urls/</link>
		<comments>http://dhtmlonline.com/html-urls/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:11:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advance]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/html-urls/</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 points to a place (an  				address) on the Web with an href attribute value like this: &#60;a  				href=&#8221;index.asp&#8221;&#62;Last Page&#60;/a&#62;.
The Last Page link in the example is a link that is relative  				to the [...]]]></description>
			<content:encoded><![CDATA[<h2>HTML Links</h2>
<p>When you click on a link in an HTML document like this: 				Last Page, 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=&#8221;index.asp&#8221;&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 http://www.codedcode.com/html/index.asp to access the  				page.</p>
<hr />
<h2>Uniform Resource Locators</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: 				http://www.codedcode.com/html/index.asp follows these  				syntax rules:</p>
<p><strong>scheme<tt>://</tt>host.domain<tt>:</tt>port<tt>/</tt>path<tt>/</tt>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 codedcode.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 id="table3" 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>
<hr />
<h2>Accessing a Newsgroup</h2>
<p>The following HTML code:</p>
<p>&lt;a href=&#8221;news:alt.html&#8221;&gt;HTML Newsgroup&lt;/a&gt;</p>
<p>creates a link to a newsgroup like this 				HTML Newsgroup.</p>
<hr />
<h2>Downloading with FTP</h2>
<p>The following HTML code:</p>
<p>&lt;a href=&#8221;ftp://www.codedcode.com/ftp/winzip.exe&#8221;&gt;Download  				WinZip&lt;/a&gt;</p>
<p>creates a link to download a file like this: 				 Download WinZip.</p>
<p>(The link doesn&#8217;t work. Don&#8217;t try it. It is just an example.  				codedcode 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=&#8221;mailto:someone@codedcode.com&#8221;&gt;someone@codedcode.com&lt;/a&gt;</p>
<p>creates a link to your own mail system like this:</p>
<p>someone@codedcode.com</p>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Scripts</title>
		<link>http://dhtmlonline.com/html-scripts/</link>
		<comments>http://dhtmlonline.com/html-scripts/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:10:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advance]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=46</guid>
		<description><![CDATA[Add scripts to HTML pages to make them more  				dynamic and interactive.

Insert a Script into HTML Page
A script in HTML is defined with the &#60;script&#62; tag. Note that  				you will have to use the type attribute to specify the scripting  				language.




&#60;html&#62;
&#60;head&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;script type="text/javascript"&#62;
document.write("Hello World!")
&#60;/script&#62;
&#60;/body&#62;
&#60;/html&#62;




The script above will produce this output:
Hello World!

How to Handle [...]]]></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 id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body&gt;</pre>
<pre>&lt;script type="text/javascript"&gt;
document.write("Hello World!")
&lt;/script&gt;</pre>
<pre>&lt;/body&gt;
&lt;/html&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>The script above will produce this output:</p>
<p>Hello World!</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 id="table4" border="1" cellspacing="0" cellpadding="3" width="100%">
<tbody>
<tr>
<td valign="top"><strong>JavaScript:</strong><br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
&lt;!&#8211;<br />
document.write(&#8221;Hello World!&#8221;)<br />
//&#8211;&gt;<br />
&lt;/script&gt;<strong>VBScript:<br />
</strong>&lt;script type=&#8221;text/vbscript&#8221;&gt;<br />
&lt;!&#8211;<br />
document.write(&#8221;Hello World!&#8221;)<br />
&#8216;&#8211;&gt;<br />
&lt;/script&gt;</td>
</tr>
</tbody>
</table>
<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 id="table5" border="1" cellspacing="0" cellpadding="3" width="100%">
<tbody>
<tr>
<td valign="top"><strong>JavaScript:</strong><br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
&lt;!&#8211;<br />
document.write(&#8221;Hello World!&#8221;)<br />
//&#8211;&gt;<br />
&lt;/script&gt;<br />
&lt;noscript&gt;Your browser does not support JavaScript!&lt;/noscript&gt;<strong>VBScript:<br />
</strong>&lt;script type=&#8221;text/vbscript&#8221;&gt;<br />
&lt;!&#8211;<br />
document.write(&#8221;Hello World!&#8221;)<br />
&#8216;&#8211;&gt;<br />
&lt;/script&gt;<br />
&lt;noscript&gt;Your browser does not support VBScript!&lt;/noscript&gt;</td>
</tr>
</tbody>
</table>
<hr />
<h2>Script Tags</h2>
<table id="table6" 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://dhtmlonline.com/html-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Attributes</title>
		<link>http://dhtmlonline.com/html-attributes/</link>
		<comments>http://dhtmlonline.com/html-attributes/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:09:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advance]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=44</guid>
		<description><![CDATA[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):

Core Attributes
Not valid in base, head, html, meta, param, script, style,  				and title elements.



Attribute
Value
Description


class
class_rule or [...]]]></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 id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="20%" align="left" valign="top">Attribute</th>
<th width="35%" align="left" valign="top">Value</th>
<th width="45%" align="left" valign="top">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>
<hr />
<h2>Language Attributes</h2>
<p>Not valid in base, br, frame, frameset, hr, iframe, param,  				and script elements.</p>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="20%" align="left" valign="top">Attribute</th>
<th width="35%" align="left" valign="top">Value</th>
<th width="45%" align="left" valign="top">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>
<hr />
<h2>Keyboard Attributes</h2>
<table id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="20%" align="left" valign="top">Attribute</th>
<th width="35%" align="left" valign="top">Value</th>
<th width="45%" align="left" valign="top">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://dhtmlonline.com/html-attributes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Events</title>
		<link>http://dhtmlonline.com/html-events/</link>
		<comments>http://dhtmlonline.com/html-events/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:08:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Advance]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/html-events/</guid>
		<description><![CDATA[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.

Window Events
Only valid in body and frameset elements.



Attribute
Value
Description


onload
script
Script [...]]]></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>
<hr />
<h2>Window Events</h2>
<p>Only valid in body and frameset elements.</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="25%" align="left" valign="top">Attribute</th>
<th width="15%" align="left" valign="top">Value</th>
<th width="60%" align="left" valign="top">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>
<hr />
<h2>Form Element Events</h2>
<p>Only valid in form elements.</p>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="25%" align="left" valign="top">Attribute</th>
<th width="15%" align="left" valign="top">Value</th>
<th width="60%" align="left" valign="top">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>
<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 id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="25%" align="left" valign="top">Attribute</th>
<th width="15%" align="left" valign="top">Value</th>
<th width="60%" align="left" valign="top">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>
<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 id="table6" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="25%" align="left" valign="top">Attribute</th>
<th width="15%" align="left" valign="top">Value</th>
<th width="60%" align="left" valign="top">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://dhtmlonline.com/html-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
