<?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>JSP, Tomcat, JDBC, Projects, Example, Program &#187; HTML</title>
	<atom:link href="http://www.easywayserver.com/blog/category/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.easywayserver.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 04 Jun 2011 05:32:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HTML &#8211; &lt;a&gt; Anchor Tag</title>
		<link>http://www.easywayserver.com/blog/html-anchor-tag/</link>
		<comments>http://www.easywayserver.com/blog/html-anchor-tag/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 11:59:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.easywayserver.com/blog/html-anchor-tag/</guid>
		<description><![CDATA[The example of anchor tag in Web page

&#60;a href="http://www.easywayserver.com/">http://www.easywayserver.com/&#60;/a>


The Example of anchor tag in HTML 
JavaScript Form Validation
Include File in HTML
Confirm Javascript
&#160;
Anchor tag is used to transfer control from current page to another page. Anchor tag opens another webpage or another file PDF, Doc, Excel or any HTML page in same window or new window.
Anchor [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fhtml-anchor-tag%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fhtml-anchor-tag%2F" height="61" width="51" /></a></div><p>The example of anchor tag in Web page</p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>a</span><span style='color:#274796; '> </span><span style='color:#074726; '>href</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>"http://www.easywayserver.com/"</span><span style='color:#a65700; '>></span>http://www<span style='color:#008c00; '>.</span>easywayserver<span style='color:#008c00; '>.</span>com/<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>a</span><span style='color:#a65700; '>></span>
</pre>
</div>
<p>The Example of anchor tag in HTML </p>
<p><a href="http://www.easywayserver.com/blog/javascript-form-validation/" class="sbln">JavaScript Form Validation</a></p>
<p><a href="http://www.easywayserver.com/blog/include-file-in-html/" class="sbln">Include File in HTML</a></p>
<p><a href="http://www.easywayserver.com/blog/confirm-javascript/" class="sbln">Confirm Javascript</a></p>
<p>&nbsp;</p>
<p>Anchor tag is used to transfer control from current page to another page. Anchor tag opens another webpage or another file PDF, Doc, Excel or any HTML page in same window or new window.</p>
<p>Anchor tag use <strong>href attribute</strong> to find URL of another page where it has to visit. It is also called hyperlink Href attribute help to create a hyperlink with another page. </p>
<p>Anchor tag is <strong>used for creating bookmarking with name attribute </strong>which is followed by #. This bookmarking works within the same page and no extra webpage is called in bookmark. If we want to give path of another page we need to use href attribute. This href solve all problems to send us to one page to another destination page.</p>
<p>Anchor tag is <strong>supported by all web browsers</strong>. This browser can be firefox, Internet explorer, mozilla, netscape, opera, and google chrome.</p>
<p>By default, <strong>color of hyperlink is dark blue </strong>and is shown with underline.<br />
If link is visited by someone, color of link will be changed to <strong>purple</strong>.<br />
If link is active, color of link will be changed o <strong>red</strong> or orange.</p>
<p>These color is slightly change by browser to browser.</p>
<p>Anchor tag of html is defined by all standard HTML <a href="http://www.easywayserver.com/html/tags/HTML-DocType-tag.php" class="sbln">DTD versions</a>. But some attribute is not available in DTD version. It is explained in below section.</p>
<p>
<h2>Attribute of Anchor Tag</h2>
</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="br">
<tr>
<th width="12%">Attribute</th>
<th width="26%">Value</th>
<th width="62%">Explaination</th>
</tr>
<tr>
<td>charset</td>
<td>char_encoding (iso-8859-1,utf-8)</td>
<td>character encoding of linked</td>
</tr>
<tr>
<td>type</td>
<td>content types</td>
<td>MIME Content Type </td>
</tr>
<tr>
<td>name</td>
<td>Property_name</td>
<td>Name of anchor tag link </td>
</tr>
<tr>
<td>href</td>
<td>URL</td>
<td>URL path for linked web page</td>
</tr>
<tr>
<td>hreflang</td>
<td>language_code</td>
<td>Language Code of the linked page </td>
</tr>
<tr>
<td>target</td>
<td>_blank<br />_parent<br />_self<br />_top</td>
<td>Linked page open in window </td>
</tr>
<tr>
<td>rel</td>
<td>LinkTypes</td>
<td>relationship between the current document and the linked document</td>
</tr>
<tr>
<td>rev</td>
<td>LinkTypes</td>
<td>relationship between the linked document and the current document</td>
</tr>
<tr>
<td>accesskey</td>
<td>Character</td>
<td>accessibility key character (Shortcut key character) </td>
</tr>
<tr>
<td>shape</td>
<td>Shape</td>
<td>for use with client-side image maps</td>
</tr>
<tr>
<td>coords</td>
<td>coordinates</td>
<td>Define coordinates of the link</td>
</tr>
<tr>
<td>tabindex</td>
<td>NUMBER</td>
<td>position in tabbing order</td>
</tr>
</table>
<p>
<h2>Common Attribute of Anchor Tag</h2>
</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="br">
<tr>
<th width="11%">Attribute</th>
<th width="22%">Value</th>
<th width="67%">Explaination</th>
</tr>
<tr>
<td>id</td>
<td>ID</td>
<td>  unique id document for link element </td>
</tr>
<tr>
<td>class</td>
<td>classname</td>
<td>list of CSS classes</td>
</tr>
<tr>
<td>style</td>
<td>StyleSheet</td>
<td>associated style information of style tags </td>
</tr>
<tr>
<td>title</td>
<td>Text</td>
<td>information about an element shown on mouse over cursor </td>
</tr>
<tr>
<td>lang</td>
<td>LanguageCode</td>
<td>Language Code of the element</td>
</tr>
<tr>
<td>dir</td>
<td>(ltr|rtl)</td>
<td>direction for weak/neutral text </td>
</tr>
</table>
<p>
<h2>Events Attribute of Anchor Tag</h2>
</p>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="br">
<tr>
<th width="20%">Attribute</th>
<th width="16%">Value</th>
<th width="64%">Explaination</th>
</tr>
<tr>
<td>onfocus</td>
<td>event</td>
<td>Event Fire on element got the focus</td>
</tr>
<tr>
<td>onblur</td>
<td>event</td>
<td>Event Fire on element lost the focus</td>
</tr>
<tr>
<td>onclick</td>
<td>event</td>
<td>Event Fire on mouse button was clicked</td>
</tr>
<tr>
<td>ondblclick</td>
<td>event</td>
<td>Event Fire on a mouse button was double clicked</td>
</tr>
<tr>
<td>onmousedown</td>
<td>event</td>
<td>Event Fire on a mouse button was pressed down</td>
</tr>
<tr>
<td>onmouseup</td>
<td>event</td>
<td>Event Fire on a mouse button was released</td>
</tr>
<tr>
<td>onmouseover</td>
<td>event</td>
<td>Event Fire on a mouse was moved onto</td>
</tr>
<tr>
<td>onmousemove</td>
<td>event</td>
<td>Event Fire on a mouse was moved within</td>
</tr>
<tr>
<td>onmouseout</td>
<td>event</td>
<td>Event Fire on a mouse was moved away</td>
</tr>
<tr>
<td>onkeypress</td>
<td>event</td>
<td>Event Fire on a key was pressed and released</td>
</tr>
<tr>
<td>onkeydown</td>
<td>event</td>
<td>Event Fire on a key was pressed down</td>
</tr>
<tr>
<td>onkeyup</td>
<td>event</td>
<td>Event Fire on a key was released</td>
</tr>
</table>
<div id="crp_related"><h3>Related Posts:</h3><ul style="list-style:disc;padding-left:20px"><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-print/" rel="bookmark" class="crp_title">JavaScript &#8211; Print Page</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/calling-javascript-href/" rel="bookmark" class="crp_title">Calling JavaScript href</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/how-to-submit-a-form-using-javascript/" rel="bookmark" class="crp_title">How to Submit a Form Using JavaScript</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/jquery-getting-more-power-over-ajax/" rel="bookmark" class="crp_title">jQuery getting more power over Ajax</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-innerhtml/" rel="bookmark" class="crp_title">JavaScript innerHTML</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-%e2%80%93-change-css-class-dynamically/" rel="bookmark" class="crp_title">JavaScript – Change CSS class dynamically</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.easywayserver.com/blog/html-anchor-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert Photoshop PSD into HTML</title>
		<link>http://www.easywayserver.com/blog/convert-photoshop-psd-into-html/</link>
		<comments>http://www.easywayserver.com/blog/convert-photoshop-psd-into-html/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 07:30:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.easywayserver.com/blog/?p=256</guid>
		<description><![CDATA[Photoshop PSD image can be easily converted into HTML web page through photoshop itself. If you are graphic designer and don’t have good knowledge about HTML programming. You can make web page from photoshop just in 3 clicks.
Open PSD file in photoshop

1. Go to File menu > Save for Web
2. Press Save button 
3. Save [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fconvert-photoshop-psd-into-html%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fconvert-photoshop-psd-into-html%2F" height="61" width="51" /></a></div><p>Photoshop PSD image can be easily converted into HTML web page through photoshop itself. If you are graphic designer and don’t have good knowledge about HTML programming. You can make web page from photoshop just in 3 clicks.</p>
<p>Open PSD file in photoshop</p>
<ul>
<ol>1. Go to File menu > Save for Web</ol>
<ol>2. Press Save button </ol>
<ol>3. Save file at your distination </ol>
<ol>4. Check in Browser (Firefox and Internet Explorer)</ol>
</ul>
<div id="crp_related"><h3>Related Posts:</h3><ul style="list-style:disc;padding-left:20px"><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/how-to-find-out-font/" rel="bookmark" class="crp_title">How to find out font</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/make-your-own-website/" rel="bookmark" class="crp_title">Make Your Own Website</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/html-anchor-tag/" rel="bookmark" class="crp_title">HTML &#8211; &lt;a&gt; Anchor Tag</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/handling-and-stop-duplicate-form-submissions-in-struts/" rel="bookmark" class="crp_title">Handling and stop Duplicate Form Submissions in Struts</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/upload-file-in-struts/" rel="bookmark" class="crp_title">Upload file in struts</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/include-file-header-footer-through-jquery/" rel="bookmark" class="crp_title">Include file Header Footer through jQuery</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.easywayserver.com/blog/convert-photoshop-psd-into-html/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More than one form in HTML page</title>
		<link>http://www.easywayserver.com/blog/more-than-one-form-in-html-page/</link>
		<comments>http://www.easywayserver.com/blog/more-than-one-form-in-html-page/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 08:54:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.easywayserver.com/blog/?p=77</guid>
		<description><![CDATA[In HTML page, we can use more than one form. Sometimes it is useful to add more forms in webpage. 
Suppose we have a home page. In home page, we have two options, either user can register as new member or login to application.
This condition is more useful for using more than one form in [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fmore-than-one-form-in-html-page%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fmore-than-one-form-in-html-page%2F" height="61" width="51" /></a></div><p>In HTML page, we can use more than one form. Sometimes it is useful to add more forms in webpage. </p>
<p>Suppose we have a home page. In home page, we have two options, either user can register as new member or login to application.</p>
<p>This condition is more useful for using more than one form in html page.</p>
<p>This keeps form property separate from other form which is defined. We can use same text field name in both forms and on submit we will get only one related form text field value.</p>
<p>In javascript, we can access form property with form name or array of form e.g. form[0], form[1].</p>
<p>See the example </p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>Use more than one form in html page<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>form</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;frm1&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>action</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;actionPage1.jsp&quot;</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>input</span><span style='color:#274796; '> </span><span style='color:#074726; '>type</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;text&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;txtName&quot;</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>input</span><span style='color:#274796; '> </span><span style='color:#074726; '>type</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;submit&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;goSubmit&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;Submit&quot;</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>form</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>form</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;frm2&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>action</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;actionPage2.jsp&quot;</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>input</span><span style='color:#274796; '> </span><span style='color:#074726; '>type</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;text&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;txtName&quot;</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>input</span><span style='color:#274796; '> </span><span style='color:#074726; '>type</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;submit&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;goSubmit&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;Submit&quot;</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>form</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>form</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;frm3&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>action</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;actionPage3.jsp&quot;</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>input</span><span style='color:#274796; '> </span><span style='color:#074726; '>type</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;text&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;txtName&quot;</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>input</span><span style='color:#274796; '> </span><span style='color:#074726; '>type</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;submit&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;goSubmit&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;Submit&quot;</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>form</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
</pre>
</div>
<div id="crp_related"><h3>Related Posts:</h3><ul style="list-style:disc;padding-left:20px"><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-%e2%80%93-submit-is-not-a-function/" rel="bookmark" class="crp_title">JavaScript – Submit is not a function</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/password-field-in-html/" rel="bookmark" class="crp_title">Password Field in HTML</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/how-to-submit-a-form-using-javascript/" rel="bookmark" class="crp_title">How to Submit a Form Using JavaScript</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/jsp-%e2%80%93-fetching-value-of-radio-button/" rel="bookmark" class="crp_title">JSP – Fetching Value of Radio Button</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-get-checkbox-value/" rel="bookmark" class="crp_title">JavaScript &#8211; Get Checkbox Value</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-%e2%80%93-select-checkbox/" rel="bookmark" class="crp_title">JavaScript – Select Checkbox</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.easywayserver.com/blog/more-than-one-form-in-html-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML &#8211; Redirect</title>
		<link>http://www.easywayserver.com/blog/html-redirect/</link>
		<comments>http://www.easywayserver.com/blog/html-redirect/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 10:56:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.easywayserver.com/blog/?p=64</guid>
		<description><![CDATA[HTML can redirect webpage one location to another location. This needs to use Meta tag of HTML.
Meta tag can redirect HTML page with or without time interval. This interval can be of 0 second or more than 0 seconds. Browser automatically redirect to URL in the specified interval time.
This HTML redirection is client side execution [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fhtml-redirect%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fhtml-redirect%2F" height="61" width="51" /></a></div><p>HTML can redirect webpage one location to another location. This needs to use Meta tag of HTML.</p>
<p>Meta tag can redirect HTML page with or without time interval. This interval can be of 0 second or more than 0 seconds. Browser automatically redirect to URL in the specified interval time.</p>
<p>This HTML redirection is client side execution and done by web browser.</p>
<p>&nbsp;</p>
<p>In example, you will see how to use redirect code.</p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>meta</span><span style='color:#274796; '> </span><span style='color:#074726; '>http-equiv</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;refresh&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>content</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;3; URL=http://www.yahoo.com&quot;</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
</pre>
</div>
<p>This code will redirect after 3 seconds to yahoo webpage.</p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>meta</span><span style='color:#274796; '> </span><span style='color:#074726; '>http-equiv</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;refresh&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>content</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;0; URL=http://www.yahoo.com&quot;</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
</pre>
</div>
<p>This code will redirect immediately when it open on web browser.</p>
<p>We can give relative URL in URL property of content</p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>meta</span><span style='color:#274796; '> </span><span style='color:#074726; '>http-equiv</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;refresh&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>content</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;3; URL=goToPage.html&quot;</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
</pre>
</div>
<p>Full example code</p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>meta</span><span style='color:#274796; '> </span><span style='color:#074726; '>http-equiv</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;refresh&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>content</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;3; URL=http://www.yahoo.com&quot;</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>HTML Redirect<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>
Wait Redirecting ....
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
</pre>
</div>
<div id="crp_related"><h3>Related Posts:</h3><ul style="list-style:disc;padding-left:20px"><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-redirect/" rel="bookmark" class="crp_title">JavaScript &#8211;  Redirect</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/java-how-to-get-source-code-of-websites/" rel="bookmark" class="crp_title">Java &#8211; How to get source code of websites</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/more-than-one-form-in-html-page/" rel="bookmark" class="crp_title">More than one form in HTML page</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/html-select-box-option-group/" rel="bookmark" class="crp_title">HTML &#8211; Select box option group</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-innerhtml/" rel="bookmark" class="crp_title">JavaScript innerHTML</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-%e2%80%93-change-css-class-dynamically/" rel="bookmark" class="crp_title">JavaScript – Change CSS class dynamically</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.easywayserver.com/blog/html-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Css &#8211; Convert lower and Upper case</title>
		<link>http://www.easywayserver.com/blog/css-convert-lower-and-upper-case/</link>
		<comments>http://www.easywayserver.com/blog/css-convert-lower-and-upper-case/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 06:28:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.easywayserver.com/blog/?p=42</guid>
		<description><![CDATA[Css convert text to lower case and upper case and capitalize all first character
text-transform helps to convert string to upper lower case easily
Just use this class in html all work done by css itself.

.caseLowerCSS
{
   text-transform:lowercase;
}

.caseUpperCSS
{
   text-transform:uppercase;
}

.caseCapitalAllFirstCSS
{
   text-transform:capitalize;
}


Related Posts:Javascript &#8211; Convert upper and lower caseJava &#8211; Convert Upper and Lower [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fcss-convert-lower-and-upper-case%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fcss-convert-lower-and-upper-case%2F" height="61" width="51" /></a></div><p>Css convert text to lower case and upper case and capitalize all first character</p>
<p>text-transform helps to convert string to upper lower case easily</p>
<p>Just use this class in html all work done by css itself.</p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#808030; '>.</span>caseLowerCSS
<span style='color:#800080; '>{</span>
   <span style='color:#bb7977; font-weight:bold; '>text-transform</span><span style='color:#808030; '>:</span><span style='color:#074726; '>lowercase</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#808030; '>.</span>caseUpperCSS
<span style='color:#800080; '>{</span>
   <span style='color:#bb7977; font-weight:bold; '>text-transform</span><span style='color:#808030; '>:</span><span style='color:#074726; '>uppercase</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>

<span style='color:#808030; '>.</span>caseCapitalAllFirstCSS
<span style='color:#800080; '>{</span>
   <span style='color:#bb7977; font-weight:bold; '>text-transform</span><span style='color:#808030; '>:</span><span style='color:#074726; '>capitalize</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>
</pre>
</div>
<div id="crp_related"><h3>Related Posts:</h3><ul style="list-style:disc;padding-left:20px"><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-convert-upper-and-lower-case/" rel="bookmark" class="crp_title">Javascript &#8211; Convert upper and lower case</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/java-convert-upper-and-lower-case/" rel="bookmark" class="crp_title">Java &#8211; Convert Upper and Lower Case</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/java-strings/" rel="bookmark" class="crp_title">Java Strings</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-form-validation/" rel="bookmark" class="crp_title">JavaScript Form Validation</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-focus-function/" rel="bookmark" class="crp_title">JavaScript &#8211; Focus function</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/more-than-one-form-in-html-page/" rel="bookmark" class="crp_title">More than one form in HTML page</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.easywayserver.com/blog/css-convert-lower-and-upper-case/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make Your Own Website</title>
		<link>http://www.easywayserver.com/blog/make-your-own-website/</link>
		<comments>http://www.easywayserver.com/blog/make-your-own-website/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 15:16:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.easywayserver.com/blog/?p=40</guid>
		<description><![CDATA[If a person who do not having knowledge about programming and web development. Can s/he make their own website without help of other technical person or any web developer? What should they have to do? Today website is online identity of anyone; this can be company or personal blog or personal website.
Making  personal website [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fmake-your-own-website%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fmake-your-own-website%2F" height="61" width="51" /></a></div><p>If a person who do not having knowledge about programming and web development. Can s/he make their own website without help of other technical person or any web developer? What should they have to do? Today website is online identity of anyone; this can be company or personal blog or personal website.</p>
<p>Making  personal website is very easy and anyone can make website without having  programming background. They should invest some money and time to learn for  configuration of software. It is also easy and anyone can learn within 2 or 3  hours. </p>
<p>You need to learn about joomla cms, blog wordpress and create database in server.</p>
<p>1. Search web hosting and register domain name and purchase it </p>
<p>2. Search about CMS most popular is Joomla which is also open source and free. Learn about installation and cofiguration of joomla menu, page setup etc <a href="http://www.joomla.org/">http://www.joomla.org/</a> </p>
<p>3. Learn about Ftp (file transfer protocol) this is used for copy file (images, doc or php or html) into web server in step 1 (Free FTP client <a href="http://filezilla-project.org/">http://filezilla-project.org/</a>) </p>
<p>4. Learn public directory where to copy Images or docs in web server </p>
<p>5. Learn phpMyAdmin Mysql database in your control panel only to make user name and create database <a href="http://www.phpmyadmin.net/">http://www.phpmyadmin.net/</a></p>
<p>6. Most of web hosting company provide install package where from you can install Joomla and blog wordpress <a href="http://wordpress.org/">http://wordpress.org/</a></p>
<p>7. Just check your new website</p>
<p>This was about to make personal website.<br />
By experience you can make quality website also
</p>
<p>Today web designing companies provide to online software, where you can add your pages at run time and after save publish on web </p>
<p><a href="http://sites.google.com">http://sites.google.com</a> </p>
<p>
<h2>Create Free blog</h2>
</p>
<p><a href="http://wordpress.com/">http://wordpress.com/</a></p>
<p><a href="http://www.blogger.com/">http://www.blogger.com/</a> by Google </p>
<p>If you want to configure store </p>
<p><a href="http://www.oscommerce.com/">http://www.oscommerce.com/</a></p>
<p>Easily create a personal website and not technical can make it own </p>
<p><a href="http://www.homestead.com/">http://www.homestead.com/</a> </p>
<p>Only 3 steps make website in homestead</p>
<p><strong>1. Choose a design </strong></p>
<p>Pick from 2,000 professionally designed websites. </p>
<p><strong>2. Customize it</strong> </p>
<p>Quickly add your own logo, graphics, text, and domain name. </p>
<p><strong>3. Show to the world</strong> </p>
<p>Click one button to publish your site to the web (we host it). </p>
<p>your website ready </p>
<p>but you have to loss some bucks for more professional and template design</p>
<div id="crp_related"><h3>Related Posts:</h3><ul style="list-style:disc;padding-left:20px"><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/is-hosting-my-website-on-free-web-hosting-server-good-thing/" rel="bookmark" class="crp_title">Is hosting my website on free Web hosting server good thing</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/java-shared-web-hosting-vs-private-web-hosting/" rel="bookmark" class="crp_title">Java Shared Web Hosting vs Private Web Hosting</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/how-to-find-out-font/" rel="bookmark" class="crp_title">How to find out font</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/difficult-to-find-java-web-hosting/" rel="bookmark" class="crp_title">Difficult to Find Java Web hosting</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/must-see-the-best-jquery-examples/" rel="bookmark" class="crp_title">Must See the best jQuery Examples</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/java-collections-framework/" rel="bookmark" class="crp_title">Java &#8211; Collections Framework</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.easywayserver.com/blog/make-your-own-website/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTML &#8211; Select box option group</title>
		<link>http://www.easywayserver.com/blog/html-select-box-option-group/</link>
		<comments>http://www.easywayserver.com/blog/html-select-box-option-group/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 14:20:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.easywayserver.com/blog/?p=39</guid>
		<description><![CDATA[ In this section, we are explaining about group of option in select box. Option group can be created by using of OPTGROUP element of HTML in select box. Optgroup keeps separated an one block to another block from each other. It is easier for user to understand quickly the categories of the list displayed [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fhtml-select-box-option-group%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fhtml-select-box-option-group%2F" height="61" width="51" /></a></div><p> In this section, we are explaining about group of option in select box. Option group can be created by using of OPTGROUP element of HTML in select box. Optgroup keeps separated an one block to another block from each other. It is easier for user to understand quickly the categories of the list displayed in the select box. </p>
<p>OPTGROUP work with newer HTML version and it does not supported by older version of browser.</p>
<p>OPTGROUP used label to display group name in select box. </p>
<p><strong>Demo</strong></p>
<p><iframe src="http://www.easywayserver.com/demo/optGroup.html" style="border: 1px solid rgb(204, 204, 204); width: 592px; height: 70px;" frameborder="0"></iframe></p>
<p>The example will explains the how to use optgroup in select box</p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>Select box option group<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>select</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>optgroup</span><span style='color:#274796; '> </span><span style='color:#074726; '>label</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;US State&quot;</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;Alaska&quot;</span><span style='color:#a65700; '>></span>Alaska<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;California&quot;</span><span style='color:#a65700; '>></span>California<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;New Jersey&quot;</span><span style='color:#a65700; '>></span>New Jersey<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;Washington&quot;</span><span style='color:#a65700; '>></span>Washington<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>optgroup</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>optgroup</span><span style='color:#274796; '> </span><span style='color:#074726; '>label</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;India&quot;</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;Punjab&quot;</span><span style='color:#a65700; '>></span>Punjab<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;Kerala&quot;</span><span style='color:#a65700; '>></span>Kerala<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;Rajasthan&quot;</span><span style='color:#a65700; '>></span>Rajasthan<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;Maharashtra&quot;</span><span style='color:#a65700; '>></span>Maharashtra<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>option</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>optgroup</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>select</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
</pre>
</div>
<div id="crp_related"><h3>Related Posts:</h3><ul style="list-style:disc;padding-left:20px"><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-loading-select-box/" rel="bookmark" class="crp_title">JavaScript &#8211; Loading Select Box</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/jsp-calendar/" rel="bookmark" class="crp_title">JSP Calendar</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-%e2%80%93-select-checkbox/" rel="bookmark" class="crp_title">JavaScript – Select Checkbox</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/java-read-xml-taglib-and-jstl-in-jsp/" rel="bookmark" class="crp_title">JAVA &#8211; Read XML Taglib and JSTL in JSP</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-%e2%80%93-change-css-class-dynamically/" rel="bookmark" class="crp_title">JavaScript – Change CSS class dynamically</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-close-window/" rel="bookmark" class="crp_title">JavaScript &#8211; close window</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.easywayserver.com/blog/html-select-box-option-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password Field in HTML</title>
		<link>http://www.easywayserver.com/blog/password-field-in-html/</link>
		<comments>http://www.easywayserver.com/blog/password-field-in-html/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 13:01:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.easywayserver.com/blog/?p=33</guid>
		<description><![CDATA[Password field is same as input field other field, only difference is, it takes character in dot format which can not read by other adjcent user.
It is having same properties as other input text field having.
To make password field we have to change type of field to password instead of text
Properties of password field
1. size [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fpassword-field-in-html%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Fpassword-field-in-html%2F" height="61" width="51" /></a></div><p>Password field is same as input field other field, only difference is, it takes character in dot format which can not read by other adjcent user.</p>
<p>It is having same properties as other input text field having.</p>
<p>To make password field we have to change type of field to <strong>password</strong> instead of <strong>text</strong></p>
<p>Properties of password field</p>
<p>1. <strong>size</strong> length of field size to print </p>
<p>2. <strong>maxlength</strong> strict field characters</p>
<p>3. <strong>name</strong> name of property field</p>
<p>4. <strong>value</strong> predefined value for password field</p>
<p>5. <strong>align</strong> predefined value at right or center or left</p>
<p>6. <strong>tabindex</strong> tab index using for tab order to move cursor</p>
<p>7. <strong>onblur</strong> fire on if focus out of password field</p>
<p>8. <strong>onchange</strong></p>
<p>9. <strong>onclick</strong></p>
<p>10. <strong>ondblclick</strong></p>
<p>11. <strong>onfocus</strong></p>
<p>12. <strong>onkeydown</strong></p>
<p>13. <strong>onkeypress</strong></p>
<p>14. <strong>onmousedown</strong></p>
<p>15. <strong>onmousemove</strong></p>
<p>16. <strong>onmouseout</strong></p>
<p><strong>Demo</strong></p>
<p>Password :<br />
<input type="password" name="sPassword" />
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>input</span><span style='color:#274796; '> </span><span style='color:#074726; '>type</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;password&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;sPassword&quot;</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
</pre>
</div>
<p>Example of Password Field in HTML</p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>Password Field in HTML<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>form</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;frm&quot;</span><span style='color:#a65700; '>></span>
Password Field <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>input</span><span style='color:#274796; '> </span><span style='color:#074726; '>type</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;password&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;sPassword&quot;</span><span style='color:#274796; '> </span><span style='color:#a65700; '>/></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>input</span><span style='color:#274796; '> </span><span style='color:#074726; '>type</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;submit&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>name</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;GoPassword&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>value</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;Submit&quot;</span><span style='color:#a65700; '>/></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>form</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
</pre>
</div>
<div id="crp_related"><h3>Related Posts:</h3><ul style="list-style:disc;padding-left:20px"><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-focus-function/" rel="bookmark" class="crp_title">JavaScript &#8211; Focus function</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/more-than-one-form-in-html-page/" rel="bookmark" class="crp_title">More than one form in HTML page</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/how-to-use-hidden-field-in-jsp/" rel="bookmark" class="crp_title">How to use Hidden field in JSP</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/jsp-%e2%80%93-fetching-value-of-radio-button/" rel="bookmark" class="crp_title">JSP – Fetching Value of Radio Button</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/struts2-password-input-tag-example/" rel="bookmark" class="crp_title">Struts2 &#8211; Password input tag example</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-%e2%80%93-select-checkbox/" rel="bookmark" class="crp_title">JavaScript – Select Checkbox</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.easywayserver.com/blog/password-field-in-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Include File in HTML</title>
		<link>http://www.easywayserver.com/blog/include-file-in-html/</link>
		<comments>http://www.easywayserver.com/blog/include-file-in-html/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 06:04:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.easywayserver.com/blog/?p=28</guid>
		<description><![CDATA[Dynamic web pages allow you to include static or dynamic web pages through web programming. These web programming can be PHP, JSP, ASP or Perl which having a function include.
We are talking about HTML pages, to include another HTML pages. HTML does not have any function or method to include any other HTML pages. HTML [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Finclude-file-in-html%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.easywayserver.com%2Fblog%2Finclude-file-in-html%2F" height="61" width="51" /></a></div><p>Dynamic web pages allow you to include static or dynamic web pages through web programming. These web programming can be PHP, JSP, ASP or Perl which having a function include.</p>
<p>We are talking about HTML pages, to include another HTML pages. HTML does not have any function or method to include any other HTML pages. HTML can include HTML pages through iFrame or Frame. HTML can also include javascript file (js) and style sheet (CSS) extension file.</p>
<p>We have to make logic and take the help of JavaScript and Ajax or jQuery to include another HTML file in HTML file. </p>
<p>Ajax (send) function can call a file and get the content in response object. This response object can be easily added in HTML page through innerHTML.</p>
<p>
<div class="cde">
<pre style='color:#000000;'>xmlHttp<span style='color:#008c00; '>.</span>open(&quot;GET&quot;,header<span style='color:#008c00; '>.</span>html,true)
xmlHttp<span style='color:#008c00; '>.</span>send(null)
</pre>
</div>
<p>jQuery has a function (load) and get the innerHTML value in ID of any HTML tag of HTML page.</p>
<p>
<div class="cde">
<pre style='color:#000000;'>$(&quot;#header&quot;).load(&quot;header<span style='color:#008c00; '>.</span>html&quot;);
</pre>
</div>
<p><strong>Demo</strong></p>
<p><iframe src="http://www.easywayserver.com/demo/includeHTMLFile.html" style="border: 1px solid rgb(204, 204, 204); width: 592px; height: 250px;" frameborder="0"></iframe></p>
<p><strong>main.html</strong></p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>including HTML file in HTML file<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>script</span><span style='color:#a65700; '>></span>
<span style='color:#800000; font-weight:bold; '>var</span> xmlHttp

<span style='color:#800000; font-weight:bold; '>function</span> loadContent<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span>
<span style='color:#800080; '>{</span>
   xmlHttp<span style='color:#808030; '>=</span>GetXmlHttpObject<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>xmlHttp<span style='color:#808030; '>==</span><span style='color:#0f4d75; '>null</span><span style='color:#808030; '>)</span>
    <span style='color:#800080; '>{</span>
     alert <span style='color:#808030; '>(</span><span style='color:#0000e6; '>&quot;Browser does not support HTTP Request&quot;</span><span style='color:#808030; '>)</span>
     <span style='color:#800000; font-weight:bold; '>return</span>
    <span style='color:#800080; '>}</span>
    <span style='color:#800000; font-weight:bold; '>var</span> url<span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;header.html&quot;</span>

    xmlHttp<span style='color:#808030; '>.</span>onreadystatechange<span style='color:#808030; '>=</span>getData<span style='color:#800080; '>;</span>
    xmlHttp<span style='color:#808030; '>.</span>open<span style='color:#808030; '>(</span><span style='color:#0000e6; '>&quot;GET&quot;</span><span style='color:#808030; '>,</span>url<span style='color:#808030; '>,</span><span style='color:#0f4d75; '>true</span><span style='color:#808030; '>)</span>
    xmlHttp<span style='color:#808030; '>.</span>send<span style='color:#808030; '>(</span><span style='color:#0f4d75; '>null</span><span style='color:#808030; '>)</span>

    <span style='color:#800000; font-weight:bold; '>return</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>function</span> getData<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span>
<span style='color:#800080; '>{</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>xmlHttp<span style='color:#808030; '>.</span>readyState<span style='color:#808030; '>==</span><span style='color:#008c00; '>4</span> <span style='color:#808030; '>||</span> xmlHttp<span style='color:#808030; '>.</span>readyState<span style='color:#808030; '>==</span><span style='color:#0000e6; '>&quot;complete&quot;</span><span style='color:#808030; '>)</span>
    <span style='color:#800080; '>{</span>
      document<span style='color:#808030; '>.</span>getElementById<span style='color:#808030; '>(</span><span style='color:#0000e6; '>&quot;header&quot;</span><span style='color:#808030; '>)</span><span style='color:#808030; '>.</span>innerHTML<span style='color:#808030; '>=</span>xmlHttp<span style='color:#808030; '>.</span>responseText
    <span style='color:#800080; '>}</span>
<span style='color:#800080; '>}</span>

<span style='color:#800000; font-weight:bold; '>function</span> GetXmlHttpObject<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span>
<span style='color:#800080; '>{</span>
  <span style='color:#800000; font-weight:bold; '>var</span> objXMLHttp<span style='color:#808030; '>=</span><span style='color:#0f4d75; '>null</span>
    <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>window<span style='color:#808030; '>.</span>XMLHttpRequest<span style='color:#808030; '>)</span>
    <span style='color:#800080; '>{</span>
      objXMLHttp<span style='color:#808030; '>=</span><span style='color:#800000; font-weight:bold; '>new</span> XMLHttpRequest<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span>
    <span style='color:#800080; '>}</span>
    <span style='color:#800000; font-weight:bold; '>else</span> <span style='color:#800000; font-weight:bold; '>if</span> <span style='color:#808030; '>(</span>window<span style='color:#808030; '>.</span>ActiveXObject<span style='color:#808030; '>)</span>
    <span style='color:#800080; '>{</span>
      objXMLHttp<span style='color:#808030; '>=</span><span style='color:#800000; font-weight:bold; '>new</span> ActiveXObject<span style='color:#808030; '>(</span><span style='color:#0000e6; '>&quot;Microsoft.XMLHTTP&quot;</span><span style='color:#808030; '>)</span>
    <span style='color:#800080; '>}</span>
  <span style='color:#800000; font-weight:bold; '>return</span> objXMLHttp
<span style='color:#800080; '>}</span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>script</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>table</span><span style='color:#274796; '> </span><span style='color:#074726; '>width</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;100%&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>border</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;1&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>cellspacing</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;0&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>cellpadding</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;0&quot;</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>tr</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#274796; '> </span><span style='color:#074726; '>id</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;header&quot;</span><span style='color:#a65700; '>></span><span style='color:#074726; '>&amp;</span><span style='color:#074726; '>nbsp</span><span style='color:#074726; '>;</span><span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>tr</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>tr</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>This is example of including file in HTML page<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>tr</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>table</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>script</span><span style='color:#a65700; '>></span>
loadContent<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span> <span style='color:#696969; '>// this will call function loadContent when page is loading</span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>script</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
</pre>
</div>
<p><strong>header.html</strong></p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>table</span><span style='color:#274796; '> </span><span style='color:#074726; '>width</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;100%&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>border</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;1&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>cellspacing</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;0&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>cellpadding</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;0&quot;</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>tr</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>Home<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>Profile<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>Contact<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>tr</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>table</span><span style='color:#a65700; '>></span>
</pre>
</div>
<p><strong>mainjQuery.html</strong></p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>including HTML file in HTML file<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>title</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>script src=&quot;jquery.js&quot;</span><span style='color:#a65700; '>></span><span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>script</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>script</span><span style='color:#a65700; '>></span>
<span style='color:#800000; font-weight:bold; '>var</span> xmlHttp

<span style='color:#800000; font-weight:bold; '>function</span> loadContent<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span>
<span style='color:#800080; '>{</span>
   $<span style='color:#808030; '>(</span><span style='color:#0000e6; '>&quot;#header&quot;</span><span style='color:#808030; '>)</span><span style='color:#808030; '>.</span>load<span style='color:#808030; '>(</span><span style='color:#0000e6; '>&quot;header.html&quot;</span><span style='color:#808030; '>)</span><span style='color:#800080; '>;</span>
<span style='color:#800080; '>}</span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>script</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>head</span><span style='color:#a65700; '>></span>

<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>table</span><span style='color:#274796; '> </span><span style='color:#074726; '>width</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;100%&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>border</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;1&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>cellspacing</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;0&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>cellpadding</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;0&quot;</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>tr</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#274796; '> </span><span style='color:#074726; '>id</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;header&quot;</span><span style='color:#a65700; '>></span><span style='color:#074726; '>&amp;</span><span style='color:#074726; '>nbsp</span><span style='color:#074726; '>;</span><span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>tr</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>tr</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>This is example of including file in HTML page<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>tr</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>table</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>script</span><span style='color:#a65700; '>></span>
loadContent<span style='color:#808030; '>(</span><span style='color:#808030; '>)</span> <span style='color:#696969; '>// this will call function loadContent when page is loading</span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>script</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>body</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>html</span><span style='color:#a65700; '>></span>
</pre>
</div>
<p><strong>header.html</strong></p>
<div class="cde">
<pre style='color:#000000;'><span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>table</span><span style='color:#274796; '> </span><span style='color:#074726; '>width</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;100%&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>border</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;1&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>cellspacing</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;0&quot;</span><span style='color:#274796; '> </span><span style='color:#074726; '>cellpadding</span><span style='color:#808030; '>=</span><span style='color:#0000e6; '>&quot;0&quot;</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>tr</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>Home<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>Profile<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>
    <span style='color:#a65700; '>&lt;</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>Contact<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>td</span><span style='color:#a65700; '>></span>
  <span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>tr</span><span style='color:#a65700; '>></span>
<span style='color:#a65700; '>&lt;/</span><span style='color:#800000; font-weight:bold; '>table</span><span style='color:#a65700; '>></span>
</pre>
</div>
<p>Both of these allow us to include content in our HTML page. This is done by without using any PHP, JSP or any web programming.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul style="list-style:disc;padding-left:20px"><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/calling-parent-child-function-in-frame/" rel="bookmark" class="crp_title">Calling parent child function in frame</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-innerhtml/" rel="bookmark" class="crp_title">JavaScript innerHTML</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-%e2%80%93-change-css-class-dynamically/" rel="bookmark" class="crp_title">JavaScript – Change CSS class dynamically</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/html-select-box-option-group/" rel="bookmark" class="crp_title">HTML &#8211; Select box option group</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-%e2%80%93-select-checkbox/" rel="bookmark" class="crp_title">JavaScript – Select Checkbox</a></li><li style="padding-left:8px"><a href="http://www.easywayserver.com/blog/javascript-change-text-font-color-in-html/" rel="bookmark" class="crp_title">JavaScript &#8211; Change Text Font Color in HTML</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.easywayserver.com/blog/include-file-in-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

