<?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>TECHiE TALKS &#187; HTML</title>
	<atom:link href="http://www.icpep.org/category/programming/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.icpep.org</link>
	<description>Just another techie stuff</description>
	<lastBuildDate>Fri, 23 Jul 2010 04:53:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Easiest HTML Conceptualized</title>
		<link>http://www.icpep.org/html-conceptualized/</link>
		<comments>http://www.icpep.org/html-conceptualized/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 04:33:16 +0000</pubDate>
		<dc:creator>paparts</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://icpep.org/?p=91</guid>
		<description><![CDATA[HTML files consist of ordinary text with the addition of what are called tags. Tags, which represent the markup of the text, are special codes surrounded by pointy brackets. Most of the tags come in pairs and specify what is to be done with what is in between the starting and the ending tag. For [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><script type="text/javascript"><!--
google_ad_client = "pub-4547412119801593";
/* 468x15, created 9/13/08 */
google_ad_slot = "4589296510";
google_ad_width = 468;
google_ad_height = 15;
// --></script>HTML files consist of ordinary text with the addition of what are called tags. Tags, which represent the markup of the text, are special codes surrounded by pointy brackets. Most of the tags come in pairs and specify what is to be done with what is in between the starting and the ending tag. For example, an HTML document begins with &lt;html&gt; and ends with &lt;/html&gt;. All pairs of tags have that same form: the ending tag has a slash followed by the name of the starting tag. Some tags just have one constant value, such as html; others contain what are called attributes, extra information contained in the starting tag, which we will show later. A browser is a program that knows how to interpret HTML and use the standardized communication protocols of the Internet to request documents from other computers connected to the Web. The most common browsers are the different versions of Microsoft Internet Explorer, Netscape, and Opera.<br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script> <span id="more-91"></span></p>
<table style="border: 1px solid #990000; font-family: tahoma; text-align: justify;" border="0" width="100%">
<tbody>
<tr>
<td width="28%">
<div><strong>tag(s)</strong></div>
</td>
<td width="72%">
<div><strong>What a browser Does</strong></div>
</td>
</tr>
<tr>
<td style="text-align: left;">&lt;h1&gt; …   &lt;/h1&gt;</td>
<td>Makes the text in between big and, possibly, bold as   appropriate for a header. The exact appearance is up to the browser</td>
</tr>
<tr>
<td style="text-align: left;">&lt;h2&gt; …   &lt;/h2&gt;</td>
<td>Makes the text prominent in some way, but less than for an   h1</td>
</tr>
<tr>
<td>&lt;i&gt; …   &lt;/i&gt;</td>
<td>Makes the text italic</td>
</tr>
<tr>
<td>&lt;b&gt; …   &lt;/b&gt;</td>
<td>Makes the text bold</td>
</tr>
<tr>
<td>&lt;img src=&#8221;<a href="LiB0122.html#1573" target="_parent">bird.gif</a>&#8220;&gt;</td>
<td>Sends a request for a file called  bird.gif and displays the image. Here,   src is an example of an attribute with value “<a href="LiB0122.html#1573" target="_parent">bird.gif</a>”. The two main file formats   for image files for the Web are gif and jpg.</td>
</tr>
<tr>
<td>&lt;p&gt; …   &lt;/p&gt;</td>
<td>Displays the in-between material as a distinct paragraph.   The exact spacing is up to the browser</td>
</tr>
<tr>
<td>&lt;br&gt;</td>
<td>Produces a line break.</td>
</tr>
<tr>
<td style="text-align: left;">&lt;a href=&#8221;nextpage.html&#8221;&gt; Continue &lt;/a&gt;</td>
<td>This is the coding for a hyperlink. The in-between text,   Continue, in this example, is displayed, with the common default format being in   blue and underlined. If the person at the computer uses the mouse to click on   Continue (also called the <em>hypertext</em>), the browser will put   in a request for the file nextpage.html at the same folder as the current   document and then interpret and display nextpage.html</td>
</tr>
<tr>
<td>&lt;table&gt;  &lt;tr&gt;  &lt;td&gt; …   &lt;/td&gt;  &lt;td&gt; …   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt; …   &lt;/tr&gt;  &lt;/table&gt;</td>
<td>These are tags associated with tables. Tables contain rows,   which contain table data (a way to remember the term <em>td</em>).   Tables are useful for general layout and for displaying information in rows and   columns</td>
</tr>
</tbody>
</table>
<p><script type="text/javascript"><!--
google_ad_client = "pub-4547412119801593";
/* 468x15, created 9/13/08 */
google_ad_slot = "4589296510";
google_ad_width = 468;
google_ad_height = 15;
// --></script></p>
<p style="text-align: justify;">The line break and the paragraph and tags are easy to omit, both in writing regular HTML and in PHP and ASP code to produce HTML. The browsers generally ignore what is referred to as white space. Therefore, if you want the text to go to a new line, you must include explicitly a tag to force that to happen. Similarly, white space along a line, such as this will be ignored. A special character, written as will force a space. The table tags often are used to lay out text and images on the screen, not just for things like tables of numbers. Later, you will work on examples in which each record from a database will generate a row of a table, including images, buttons, and hyperlinks. HTML has other tags! You can learn about them by using the View Source option in the browsers and by looking at references. You also can investigate Cascading Style Sheets (CSS), an addition to HTML for more elaborate formatting. The tags described here are the basics that you will use in your PHP and ASP scripting. Another description of the process is the following: You, the person using the client computer, invoke a browser such as the latest version of Netscape. You enter in a location on the Web in the form of a URL. The browser sends a request for that particular file to the server computer, the computer described by the URL. As part of the process of interpreting the file, the browser might request other files, such as all the image files mentioned in the src attribute of img tags. If the document had any hyperlinks, coded using tags, then if and when you click on one, the process repeats. However, this time, the browser sends a request for the particular file indicated by the href attribute of the tag. An important feature of how browsers work is, to put it in anthropomorphic terms, they do not complain. That is, if your HTML file has errors, such as incorrectly formatted tags, missing ending tags, improper nesting or mis-spelling of filenames, the browser will display something and give no indication of the existence or the location of errors. You will need to check out the display to see if it is what you intended. This is different from working in programming languages such as C++ or Java when minor syntactic errors in notation prevent you from proceeding beyond compilation, many errors are detected during runtime, and special functions are provided for debugging, getting the errors out of your application. If you have had such experiences, you will come to miss them when working with HTML. Read on for suggestions on how to debug HTML.</p>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="allajosephcagadas@gmail.com" /><input type="hidden" name="return" value="" /><input type="hidden" name="item_name" value="Can You Buy Me a Beer? for Easiest HTML Conceptualized" /><input type="hidden" name="currency_code" value="USD" /><input type="hidden" name="amount" value="" /><input type="image" src="http://www.icpep.org/wp-content/plugins/buy-me-beer/icon_beer.gif" align="left" alt="Buy Me a Beer" title="Buy Me a Beer" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=allajosephcagadas@gmail.com&amp;currency_code=USD&amp;amount=&amp;return=&amp;item_name=Can+You+Buy+Me+a+Beer?+for+Easiest+HTML+Conceptualized" target="paypal">Did find the post very useful? Maybe you want to buy me a glass of beer!</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.icpep.org/html-conceptualized/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(X)HTML DOCTYPE</title>
		<link>http://www.icpep.org/xhtml-doctype/</link>
		<comments>http://www.icpep.org/xhtml-doctype/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 02:59:51 +0000</pubDate>
		<dc:creator>paparts</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://icpep.org/?p=67</guid>
		<description><![CDATA[Declare a DOCTYPE. The DOCTYPE goes before the opening html tag at the top of the page and tells the browser whether the page contains HTML, XHTML, or a mix of both, so that it can correctly interpret the markup. There are three main DOCTYPEs that let the browser know what kind of markup it [...]]]></description>
			<content:encoded><![CDATA[<div><script type="text/javascript"><!--
google_ad_client = "pub-4547412119801593";
/* HTML DOCTYPE */
google_ad_slot = "1714726430";
google_ad_width = 336;
google_ad_height = 280;
// --></script><br />
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script></div>
<p style="text-align: justify;">Declare a DOCTYPE. The DOCTYPE goes before the opening html tag at the top of the page and tells the browser whether the page contains HTML, XHTML, or a mix of both, so that it can correctly interpret the markup. There are three main DOCTYPEs that let the browser know what kind of markup it is dealing with:</p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><span style="color: #000080;">Strict: </span></span></p>
<p style="text-align: justify;"><span style="color: #000000;">All markup is XHTML-compliant.</span></p>
<p style="text-align: justify;"><span style="color: #000080;">&#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt;</span></p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Transitional: </span></p>
<p style="text-align: justify;">This states that the markup is a mix of XHTML and deprecated HTML. Many well-established sites are currently using this one, so their old HTML code can exist happily in the document alongside the XHTML they are now adding.</p>
<p><span style="color: #000080;">Transitional//EN&#8221; &#8220;http://www.w3.org/TR/html4/loose.dtd&#8221;&gt;</span></p>
<p style="text-align: justify;"><span style="text-decoration: underline;">Frameset: </span></p>
<p style="text-align: justify;">This is the same as transitional but in this case frames, which are deprecated under XHTML, are OK, too.</p>
<p style="text-align: justify;"><span style="color: #003366;">&lt;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01 Frameset//EN&#8221; &#8220;http://www.w3.org/TR/html4/frameset.dtd&#8221;&gt;<span id="more-67"></span></span></p>
<p style="text-align: justify;">It is important to specify a DOCTYPE. Browsers that don’t see a DOCTYPE in the markup assume that the site page was coded for browsers developed long before Web standards. My recommendation is that if you are building a site from scratch, and can therefore avoid deprecated or abandoned tag attributes, such as FONT and COLOR, use the XHTML Strict DOCTYPE listed previously.<br />
When encountering a page without a DOCTYPE, many browsers go into what is known as Quirks mode, a backwards-compatibility feature supported by Mozilla, Internet Explorer 6 for Windows, and Internet Explorer 5 for Macintosh.<br />
In Quirks mode, the browser functions as if it has no knowledge of the modern DOM (document object model) and pretends it has never heard of Web standards. This ability to switch modes depending on the DOCTYPE, or lack thereof, enables browsers to do the best possible job of interpreting the code of both standards- compliant and noncompliant sites.<br />
Note that for some weird reason, the DOCTYPE tag does not need to be closed with a slash and DOCTYPE is always in caps.</p>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="allajosephcagadas@gmail.com" /><input type="hidden" name="return" value="" /><input type="hidden" name="item_name" value="Can You Buy Me a Beer? for (X)HTML DOCTYPE" /><input type="hidden" name="currency_code" value="USD" /><input type="hidden" name="amount" value="" /><input type="image" src="http://www.icpep.org/wp-content/plugins/buy-me-beer/icon_beer.gif" align="left" alt="Buy Me a Beer" title="Buy Me a Beer" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=allajosephcagadas@gmail.com&amp;currency_code=USD&amp;amount=&amp;return=&amp;item_name=Can+You+Buy+Me+a+Beer?+for+(X)HTML+DOCTYPE" target="paypal">Did find the post very useful? Maybe you want to buy me a glass of beer!</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.icpep.org/xhtml-doctype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
