<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

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

		<guid isPermaLink="false">http://dhtmlonline.com/html-tutorials/</guid>
		<description><![CDATA[In this HTML tutorial you will learn how to use HTML to create your own Web site.
HTML is very easy to learn!
You will enjoy it!
]]></description>
			<content:encoded><![CDATA[<p>In this HTML tutorial you will learn how to use HTML to create your own Web site.</p>
<p>HTML is very easy to learn!</p>
<p>You will enjoy it!</p>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-tutorials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Introduction</title>
		<link>http://dhtmlonline.com/html-introduction/</link>
		<comments>http://dhtmlonline.com/html-introduction/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:02:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Basics]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/html-introduction/</guid>
		<description><![CDATA[What is an HTML File?

HTML stands for Hyper Text Markup 					Language
An HTML file is a text file containing small markup  					tags
The markup tags tell the Web browser how to display the page
An HTML file must have an htm or html file  					extension
An HTML file can be created using a simple text  					editor


Do [...]]]></description>
			<content:encoded><![CDATA[<h2>What is an HTML File?</h2>
<ul>
<li>HTML stands for <strong>H</strong>yper <strong>T</strong>ext <strong>M</strong>arkup 					<strong>L</strong>anguage</li>
<li>An HTML file is a text file containing small <strong>markup  					tags</strong></li>
<li>The markup tags tell the Web browser <strong>how to display</strong> the page</li>
<li>An HTML file must have an <strong>htm</strong> or <strong>html</strong> file  					extension</li>
<li>An HTML file can be created using a <strong>simple text  					editor</strong></li>
</ul>
<hr />
<h2>Do You Want to Try It?</h2>
<p>If you are running Windows, start Notepad.</p>
<p>If you are on a Mac start SimpleText.</p>
<p>In OSX start TextEdit and change the following preferences:  				Select (in the preferences window) &#8220;Plain text&#8221; instead of &#8220;Rich  				text&#8221; and then select &#8220;Ignore rich text commands in HTML files&#8221;.  				This is very important because if you don&#8217;t do this HTML codes  				probably won&#8217;t work.</p>
<p>Type in the following text:</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Title of page&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
This is my first homepage. &lt;b&gt;This text is bold&lt;/b&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>Save the file as &#8220;mypage.htm&#8221;.</p>
<p>Start your Internet browser. Select &#8220;Open&#8221; (or &#8220;Open Page&#8221;)  				in the File menu of your browser. A dialog box will appear.  				Select &#8220;Browse&#8221; (or &#8220;Choose File&#8221;) and locate the HTML file you  				just created &#8211; &#8220;mypage.htm&#8221; &#8211; select it and click &#8220;Open&#8221;. Now  				you should see an address in the dialog box, for example &#8220;C:\MyDocuments\mypage.htm&#8221;.  				Click OK, and the browser will display the page.</p>
<hr />
<h2>Example Explained</h2>
<p>The first tag in your HTML document is &lt;html&gt;. This tag tells  				your browser that this is the start of an HTML document. The  				last tag in your document is &lt;/html&gt;. This tag tells your  				browser that this is the end of the HTML document.</p>
<p>The text between the &lt;head&gt; tag and the &lt;/head&gt; tag is header  				information. Header information is not displayed in the browser  				window.</p>
<p>The text between the &lt;title&gt; tags is the title of your  				document. The title is displayed in your browser&#8217;s caption.</p>
<p>The text between the &lt;body&gt; tags is the text that will be  				displayed in your browser.</p>
<p>The text between the &lt;b&gt; and &lt;/b&gt; tags will be displayed in a  				bold font.</p>
<hr />
<h2>HTM or HTML Extension?</h2>
<p>When you save an HTML file, you can use either the .htm or  				the .html extension. We have used .htm in our examples. It might  				be a bad habit inherited from the past when some of the commonly  				used software only allowed three letter extensions.</p>
<p>With newer software we think it will be perfectly safe to use  				.html.</p>
<hr />
<h2>Note on HTML Editors:</h2>
<p>You can easily edit HTML files using a WYSIWYG (what you see  				is what you get) editor like FrontPage, Claris Home Page, or  				Adobe PageMill instead of writing your markup tags in a plain  				text file.</p>
<p>But if you want to be a skillful Web developer, we strongly  				recommend that you use a plain text editor to learn your primer  				HTML.</p>
<hr />
<h2>Frequently Asked Questions</h2>
<p><strong>Q: After I have edited an HTML file, I cannot view the  				result in my browser. Why?<br />
A: </strong>Make sure that you have saved the file with a proper name  				and extension like &#8220;c:\mypage.htm&#8221;. Also make sure that you use  				the same name when you open the file in your browser.</p>
<p><strong>Q: I have tried to edit an HTML file but the changes don&#8217;t  				show in the browser. Why?<br />
A: </strong>The browser caches your pages so it doesn&#8217;t have to read  				the same page twice. When you have changed a page, the browser  				doesn&#8217;t know that. Use the browser&#8217;s refresh/reload button to  				force the browser to read the edited page.</p>
<p><strong>Q: What browser should I use?<br />
A: </strong>You can do all the training with all of the common  				browsers, like Internet Explorer, Mozilla, Netscape, or Opera.  				However, some of the examples in our advanced classes require  				the latest versions of the browsers.</p>
<p><strong>Q: Does my computer have to run Windows? What about a Mac?<br />
A: </strong>You can do all your training on a non-Windows computer  				like a Mac. However, some of the examples in our advanced  				classes require a newer version of Windows, like Windows 98 or  				Windows 2000.</p>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Elements</title>
		<link>http://dhtmlonline.com/html-elements/</link>
		<comments>http://dhtmlonline.com/html-elements/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:02:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Basics]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/html-elements/</guid>
		<description><![CDATA[HTML documents are text files made up of HTML  				elements.
HTML elements are defined using HTML tags.

HTML Tags

HTML tags are used to mark-up HTML elements
HTML tags are surrounded by the two characters &#60; and  					&#62;
The surrounding characters are called angle brackets
HTML tags normally come in pairs like &#60;b&#62; and  					&#60;/b&#62;
The first tag in [...]]]></description>
			<content:encoded><![CDATA[<p>HTML documents are text files made up of HTML  				elements.</p>
<p>HTML elements are defined using HTML tags.</p>
<hr />
<h2>HTML Tags</h2>
<ul>
<li>HTML tags are used to mark-up HTML <strong>elements</strong></li>
<li>HTML tags are surrounded by the <strong>two characters &lt; and  					&gt;</strong></li>
<li>The surrounding characters are called <strong>angle brackets</strong></li>
<li>HTML tags normally <strong>come in pairs</strong> like &lt;b&gt; and  					&lt;/b&gt;</li>
<li>The first tag in a pair is the <strong>start tag,</strong> the  					second tag is the <strong>end tag</strong></li>
<li>The text between the start and end tags is the <strong> element content</strong></li>
<li>HTML tags are <strong>not case sensitive,</strong> &lt;b&gt; means the  					same as &lt;B&gt;</li>
</ul>
<hr />
<h2>HTML Elements</h2>
<p>Remember the HTML example from the previous page:</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Title of page&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
This is my first homepage. &lt;b&gt;This text is bold&lt;/b&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>This is an HTML element:</p>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;b&gt;This text is bold&lt;/b&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>The HTML element starts with a <strong>start tag</strong>: &lt;b&gt;<br />
The <strong>content</strong> of the HTML element is: This text is bold<br />
The HTML element ends with an <strong>end tag</strong>: &lt;/b&gt;</p>
<p>The purpose of the &lt;b&gt; tag is to define an HTML element that  				should be displayed as bold.</p>
<p>This is also an HTML element:</p>
<table id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;body&gt;
This is my first homepage. &lt;b&gt;This text is bold&lt;/b&gt;
&lt;/body&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>This HTML element starts with the start tag &lt;body&gt;, and ends  				with the end tag &lt;/body&gt;.</p>
<p>The purpose of the &lt;body&gt; tag is to define the HTML element  				that contains the body of the HTML document.</p>
<hr />
<h2>Why do We Use Lowercase Tags?</h2>
<p>We have just said that HTML tags are not case sensitive: &lt;B&gt;  				means the same as &lt;b&gt;. When you surf the Web, you will notice  				that most tutorials use uppercase HTML tags in their examples.  				We always use lowercase tags. Why?</p>
<p>If you want to prepare yourself for the next generations of  				HTML, you should start using lowercase tags. The World Wide Web  				Consortium (W3C) recommends lowercase tags in their HTML 4  				recommendation, and XHTML (the next generation HTML) demands  				lowercase tags.</p>
<hr />
<h2>Tag Attributes</h2>
<p>Tags can have attributes<em>. </em>Attributes can provide  				additional information about the HTML elements on your page.</p>
<p>This tag defines the body element of your HTML page: &lt;body&gt;.  				With an added bgcolor attribute, you can tell the browser that  				the background color of your page should be red, like this:  				&lt;body bgcolor=&#8221;red&#8221;&gt;.</p>
<p>This tag defines an HTML table: &lt;table&gt;. With an added border  				attribute, you can tell the browser that the table should have  				no borders: &lt;table border=&#8221;0&#8243;&gt;</p>
<p>Attributes always come in name/value pairs like this:  				name=&#8221;value&#8221;.</p>
<p>Attributes are always added to the start tag of an HTML  				element.</p>
<hr />
<h2>Quote Styles, &#8220;red&#8221; or &#8216;red&#8217;?</h2>
<p>Attribute values should always be enclosed in quotes. Double  				style quotes are the most common, but single style quotes are  				also allowed.</p>
<p>In some rare situations, like when the attribute value itself  				contains quotes, it is necessary to use single quotes:</p>
<p>name=&#8217;John &#8220;ShotGun&#8221; Nelson&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-elements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic HTML Tags</title>
		<link>http://dhtmlonline.com/basic-html-tags/</link>
		<comments>http://dhtmlonline.com/basic-html-tags/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:01:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Basics]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=33</guid>
		<description><![CDATA[






The most important tags in HTML are tags that  				define headings, paragraphs and line breaks.
The best way to learn HTML is to work with  				examples. We have created a very nice HTML editor for you. With  				this editor, you can edit the HTML source code if you like, and  				click on [...]]]></description>
			<content:encoded><![CDATA[<table id="table1" border="0" cellspacing="3" cellpadding="0">
<tbody>
<tr>
<td width="490" valign="top">
<table id="table2" border="1" cellspacing="0" cellpadding="5" width="100%" bgcolor="#ffffff">
<tbody>
<tr>
<td>The most important tags in HTML are tags that  				define headings, paragraphs and line breaks.</p>
<p>The best way to learn HTML is to work with  				examples. We have created a very nice HTML editor for you. With  				this editor, you can edit the HTML source code if you like, and  				click on a test button to view the result.</p>
<hr />
<h2>Headings</h2>
<p>Headings are defined with the &lt;h1&gt; to &lt;h6&gt; tags. &lt;h1&gt; defines  				the largest heading. &lt;h6&gt; defines the smallest heading.</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;h1&gt;This is a heading&lt;/h1&gt;
&lt;h2&gt;This is a heading&lt;/h2&gt;
&lt;h3&gt;This is a heading&lt;/h3&gt;
&lt;h4&gt;This is a heading&lt;/h4&gt;
&lt;h5&gt;This is a heading&lt;/h5&gt;
&lt;h6&gt;This is a heading&lt;/h6&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>HTML automatically adds an extra blank line before and after  				a heading.</p>
<hr />
<h2>Paragraphs</h2>
<p>Paragraphs are defined with the &lt;p&gt; tag.</p>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;p&gt;This is a paragraph&lt;/p&gt;
&lt;p&gt;This is another paragraph&lt;/p&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>HTML automatically adds an extra blank line before and after  				a paragraph.</p>
<hr />
<h2>Line Breaks</h2>
<p>The &lt;br&gt; tag is used when you want to end a line, but don&#8217;t  				want to start a new paragraph. The &lt;br&gt; tag forces a line break  				wherever you place it.</p>
<table id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;p&gt;This &lt;br&gt; is a para&lt;br&gt;graph with line breaks&lt;/p&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>The &lt;br&gt; tag is an empty tag. It has no closing tag.</p>
<hr />
<h2>Comments in HTML</h2>
<p>The comment tag is used to insert a comment in the HTML  				source code. A comment will be ignored by the browser. You can  				use comments to explain your code, which can help you when you  				edit the source code at a later date.</p>
<table id="table6" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;!-- This is a comment --&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>Note that you need an exclamation point after the opening  				bracket, but not before the closing bracket.</p>
<hr />
<h2>Basic Notes &#8211; Useful Tips</h2>
<p>When you write HTML text, you can never be sure how the text  				is displayed in another browser. Some people have large computer  				displays, some have small. The text will be reformatted every  				time the user resizes his window. Never try to format the text  				in your editor by adding empty lines and spaces to the text.</p>
<p>HTML will truncate the spaces in your text. Any number of  				spaces count as one. Some extra information: In HTML a new line  				counts as one space.</p>
<p>Using empty paragraphs &lt;p&gt; to insert blank lines is a bad  				habit. Use the &lt;br&gt; tag instead. (But don&#8217;t use the &lt;br&gt; tag to  				create lists. Wait until you have learned about HTML lists.)</p>
<p>You might have noticed that paragraphs can be written without  				the closing tag &lt;/p&gt;. Don&#8217;t rely on it. The next version of HTML  				will not allow you to skip ANY closing tags.</p>
<p>HTML automatically adds an extra blank line before and after  				some elements, like before and after a paragraph, and before and  				after a heading.</p>
<p>We use a horizontal rule (the &lt;hr&gt; tag), to separate the  				sections in our tutorials.</p>
<hr />
<h2>Basic HTML Tags</h2>
<table id="table7" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left">Tag</th>
<th align="left">Description</th>
</tr>
<tr>
<td>&lt;html&gt;</td>
<td>Defines an HTML document</td>
</tr>
<tr>
<td>&lt;body&gt;</td>
<td>Defines the document&#8217;s body</td>
</tr>
<tr>
<td>&lt;h1&gt; to &lt;h6&gt;</td>
<td>Defines header 1 to header 6</td>
</tr>
<tr>
<td>&lt;p&gt;</td>
<td>Defines a paragraph</td>
</tr>
<tr>
<td>&lt;br&gt;</td>
<td>Inserts a single line break</td>
</tr>
<tr>
<td>&lt;hr&gt;</td>
<td>Defines a horizontal rule</td>
</tr>
<tr>
<td>&lt;!&#8211;&gt;</td>
<td>Defines a comment</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/basic-html-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Text Formatting</title>
		<link>http://dhtmlonline.com/html-text-formatting/</link>
		<comments>http://dhtmlonline.com/html-text-formatting/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:01:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Basics]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=31</guid>
		<description><![CDATA[HTML defines a lot of elements for formatting  				output, like bold or italic text.
How to View HTML Source
Have you ever seen a Web page and wondered &#8220;How do they do  				that?&#8221;
To find out, simply click on the VIEW option in your browsers  				toolbar and select SOURCE or PAGE SOURCE. This will open [...]]]></description>
			<content:encoded><![CDATA[<p>HTML defines a lot of elements for formatting  				output, like bold or italic text.</p>
<h2>How to View HTML Source</h2>
<p>Have you ever seen a Web page and wondered &#8220;How do they do  				that?&#8221;</p>
<p>To find out, simply click on the VIEW option in your browsers  				toolbar and select SOURCE or PAGE SOURCE. This will open a  				window that shows you the actual HTML of the page.</p>
<hr />
<h2>Text Formatting Tags</h2>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="20%" align="left">Tag</th>
<th width="80%" align="left">Description</th>
</tr>
<tr>
<td>&lt;b&gt;</td>
<td>Defines bold text</td>
</tr>
<tr>
<td>&lt;big&gt;</td>
<td>Defines big text</td>
</tr>
<tr>
<td>&lt;em&gt;</td>
<td>Defines emphasized text</td>
</tr>
<tr>
<td>&lt;i&gt;</td>
<td>Defines italic text</td>
</tr>
<tr>
<td>&lt;small&gt;</td>
<td>Defines small text</td>
</tr>
<tr>
<td>&lt;strong&gt;</td>
<td>Defines strong text</td>
</tr>
<tr>
<td>&lt;sub&gt;</td>
<td>Defines subscripted text</td>
</tr>
<tr>
<td>&lt;sup&gt;</td>
<td>Defines superscripted text</td>
</tr>
<tr>
<td>&lt;ins&gt;</td>
<td>Defines inserted text</td>
</tr>
<tr>
<td>&lt;del&gt;</td>
<td>Defines deleted text</td>
</tr>
<tr>
<td>&lt;s&gt;</td>
<td>Deprecated. Use &lt;del&gt; instead</td>
</tr>
<tr>
<td>&lt;strike&gt;</td>
<td>Deprecated. Use &lt;del&gt; instead</td>
</tr>
<tr>
<td>&lt;u&gt;</td>
<td>Deprecated. Use styles instead</td>
</tr>
</tbody>
</table>
<h2>&#8220;Computer Output&#8221; Tags</h2>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="20%" align="left">Tag</th>
<th width="80%" align="left">Description</th>
</tr>
<tr>
<td>&lt;code&gt;</td>
<td>Defines computer code text</td>
</tr>
<tr>
<td>&lt;kbd&gt;</td>
<td>Defines keyboard text</td>
</tr>
<tr>
<td>&lt;samp&gt;</td>
<td>Defines sample computer code</td>
</tr>
<tr>
<td>&lt;tt&gt;</td>
<td>Defines teletype text</td>
</tr>
<tr>
<td>&lt;var&gt;</td>
<td>Defines a variable</td>
</tr>
<tr>
<td>&lt;pre&gt;</td>
<td>Defines preformatted text</td>
</tr>
<tr>
<td>&lt;listing&gt;</td>
<td>Deprecated. Use &lt;pre&gt; instead</td>
</tr>
<tr>
<td>&lt;plaintext&gt;</td>
<td>Deprecated. Use &lt;pre&gt; instead</td>
</tr>
<tr>
<td>&lt;xmp&gt;</td>
<td>Deprecated. Use &lt;pre&gt; instead</td>
</tr>
</tbody>
</table>
<h2>Citations, Quotations, and Definition Tags</h2>
<table id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="20%" align="left">Tag</th>
<th width="80%" align="left">Description</th>
</tr>
<tr>
<td>&lt;abbr&gt;</td>
<td>Defines an abbreviation</td>
</tr>
<tr>
<td>&lt;acronym&gt;</td>
<td>Defines an acronym</td>
</tr>
<tr>
<td>&lt;address&gt;</td>
<td>Defines an address element</td>
</tr>
<tr>
<td>&lt;bdo&gt;</td>
<td>Defines the text direction</td>
</tr>
<tr>
<td>&lt;blockquote&gt;</td>
<td>Defines a long quotation</td>
</tr>
<tr>
<td>&lt;q&gt;</td>
<td>Defines a short quotation</td>
</tr>
<tr>
<td>&lt;cite&gt;</td>
<td>Defines a citation</td>
</tr>
<tr>
<td>&lt;dfn&gt;</td>
<td>Defines a definition term</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-text-formatting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Entities</title>
		<link>http://dhtmlonline.com/html-entities/</link>
		<comments>http://dhtmlonline.com/html-entities/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:00:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Basics]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=29</guid>
		<description><![CDATA[Some characters like the &#60; character, have a  				special meaning in HTML, and therefore cannot be used in the  				text.
To display a less than sign (&#60;) in HTML, we  				have to use a character entity.

Character Entities
Some characters have a special meaning in HTML, like the less  				than sign (&#60;) that defines [...]]]></description>
			<content:encoded><![CDATA[<p>Some characters like the &lt; character, have a  				special meaning in HTML, and therefore cannot be used in the  				text.</p>
<p>To display a less than sign (&lt;) in HTML, we  				have to use a character entity.</p>
<hr />
<h2>Character Entities</h2>
<p>Some characters have a special meaning in HTML, like the less  				than sign (&lt;) that defines the start of an HTML tag. If we want  				the browser to actually display these characters we must insert  				character entities in the HTML source.</p>
<p>A character entity has three parts: an ampersand (&amp;), an  				entity name or a # and an entity number, and finally a semicolon  				(;).</p>
<p>To display a less than sign in an HTML document we must  				write: <strong>&amp;lt;</strong> or <strong>&amp;#60;</strong></p>
<p>The advantage of using a name instead of a number is that a  				name is easier to remember. The disadvantage is that not all  				browsers support the newest entity names, while the support for  				entity numbers is very good in almost all browsers.</p>
<p><strong>Note</strong> that the entities are case sensitive.</p>
<p>This example lets you experiment with character entities:  				Character Entities<span> IE only</span></p>
<hr />
<h2>Non-breaking Space</h2>
<p>The most common character entity in HTML is the non-breaking  				space.</p>
<p>Normally HTML will truncate spaces in your text. If you write  				10 spaces in your text HTML will remove 9 of them. To add spaces  				to your text, use the &amp;nbsp; character entity.</p>
<hr />
<h2>The Most Common Character Entities:</h2>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left">Result</th>
<th align="left">Description</th>
<th align="left">Entity Name</th>
<th align="left">Entity Number</th>
</tr>
<tr>
<td></td>
<td>non-breaking space</td>
<td>&amp;nbsp;</td>
<td>&amp;#160;</td>
</tr>
<tr>
<td>&lt;</td>
<td>less than</td>
<td>&amp;lt;</td>
<td>&amp;#60;</td>
</tr>
<tr>
<td>&gt;</td>
<td>greater than</td>
<td>&amp;gt;</td>
<td>&amp;#62;</td>
</tr>
<tr>
<td>&amp;</td>
<td>ampersand</td>
<td>&amp;amp;</td>
<td>&amp;#38;</td>
</tr>
<tr>
<td>&#8220;</td>
<td>quotation mark</td>
<td>&amp;quot;</td>
<td>&amp;#34;</td>
</tr>
<tr>
<td>&#8216;</td>
<td>apostrophe</td>
<td>&amp;apos; (does not work in IE)</td>
<td>&amp;#39;</td>
</tr>
</tbody>
</table>
<h2>Some Other Commonly Used Character Entities:</h2>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left">Result</th>
<th align="left">Description</th>
<th align="left">Entity Name</th>
<th align="left">Entity Number</th>
</tr>
<tr>
<td>¢</td>
<td>cent</td>
<td>&amp;cent;</td>
<td>&amp;#162;</td>
</tr>
<tr>
<td>£</td>
<td>pound</td>
<td>&amp;pound;</td>
<td>&amp;#163;</td>
</tr>
<tr>
<td>¥</td>
<td>yen</td>
<td>&amp;yen;</td>
<td>&amp;#165;</td>
</tr>
<tr>
<td>§</td>
<td>section</td>
<td>&amp;sect;</td>
<td>&amp;#167;</td>
</tr>
<tr>
<td>©</td>
<td>copyright</td>
<td>&amp;copy;</td>
<td>&amp;#169;</td>
</tr>
<tr>
<td>®</td>
<td>registered trademark</td>
<td>&amp;reg;</td>
<td>&amp;#174;</td>
</tr>
<tr>
<td>×</td>
<td>multiplication</td>
<td>&amp;times;</td>
<td>&amp;#215;</td>
</tr>
<tr>
<td>÷</td>
<td>division</td>
<td>&amp;divide;</td>
<td>&amp;#247;</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-entities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Links</title>
		<link>http://dhtmlonline.com/html-links/</link>
		<comments>http://dhtmlonline.com/html-links/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:00:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Basics]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/html-links/</guid>
		<description><![CDATA[HTML uses a hyperlink to link to another  				document on the Web.

The Anchor Tag and the Href Attribute
HTML uses the &#60;a&#62; (anchor) tag to create a link to another  				document.
An anchor can point to any resource on the Web: an HTML page,  				an image, a sound file, a movie, etc.
The syntax of [...]]]></description>
			<content:encoded><![CDATA[<p>HTML uses a hyperlink to link to another  				document on the Web.</p>
<hr />
<h2>The Anchor Tag and the Href Attribute</h2>
<p><strong>HTML uses the &lt;a&gt; (anchor) tag to create a link to another  				document.</strong></p>
<p>An anchor can point to any resource on the Web: an HTML page,  				an image, a sound file, a movie, etc.</p>
<p>The syntax of creating an anchor:</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;a href="url"&gt;Text to be displayed&lt;/a&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>The &lt;a&gt; tag is used to create an anchor to link from, the  				href attribute is used to address the document to link to, and  				the words between the open and close of the anchor tag will be  				displayed as a hyperlink.</p>
<p>This anchor defines a link to codedcode.com:</p>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;a href="http://www.codedcode.com/"&gt;Visit codedcode.com!&lt;/a&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>The line above will look like this in a browser:</p>
<hr />
<h2>The Target Attribute</h2>
<p>With the target attribute, you can define <strong>where</strong> the  				linked document will be opened.</p>
<p>The line below will open the document in a new browser  				window:</p>
<table id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;a href="http://www.codedcode.com/"
target="_blank"&gt;Visit codedcode.com!&lt;/a&gt;</pre>
</td>
</tr>
</tbody>
</table>
<hr />
<h2>The Anchor Tag and the Name Attribute</h2>
<p>The name attribute is used to create a named anchor. When  				using named anchors we can create links that can jump directly  				into a specific section on a page, instead of letting the user  				scroll around to find what he/she is looking for.</p>
<p>Below is the syntax of a named anchor:</p>
<table id="table6" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;a name="label"&gt;Text to be displayed&lt;/a&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>The name attribute is used to create a named anchor. The name  				of the anchor can be any text you care to use.</p>
<p>The line below defines a named anchor:</p>
<table id="table7" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;a name="tips"&gt;Useful Tips Section&lt;/a&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>You should notice that a named anchor is not displayed in a  				special way.</p>
<p>To link directly to the &#8220;tips&#8221; section, add a # sign and the  				name of the anchor to the end of a URL, like this:</p>
<table id="table8" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;a href="http://www.codedcode.com/html_links.asp#tips"&gt;
Jump to the Useful Tips Section&lt;/a&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>A hyperlink to the Useful Tips Section from WITHIN the file &#8220;html_links.asp&#8221;  				will look like this:</p>
<table id="table9" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;a href="#tips"&gt;Jump to the Useful Tips Section&lt;/a&gt;</pre>
</td>
</tr>
</tbody>
</table>
<hr />
<h2>Basic Notes &#8211; Useful Tips</h2>
<p>Always add a trailing slash to subfolder references. If you  				link like this: href=&#8221;http://www.codedcode.com/html&#8221;, you  				will generate two HTTP requests to the server, because the  				server will add a slash to the address and create a new request  				like this: href=&#8221;http://www.codedcode.com/html/&#8221;</p>
<p>Named anchors are often used to create &#8220;table of contents&#8221; at  				the beginning of a large document. Each chapter within the  				document is given a named anchor, and links to each of these  				anchors are put at the top of the document.</p>
<p>If a browser cannot find a named anchor that  has been  				specified, it goes to the top of the document. No error occurs.</p>
<hr />
<h2>Link Tags</h2>
<table id="table10" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th width="30%" align="left">Tag</th>
<th align="left">Description</th>
</tr>
<tr>
<td>&lt;a&gt;</td>
<td>Defines an anchor</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Frames</title>
		<link>http://dhtmlonline.com/html-frames/</link>
		<comments>http://dhtmlonline.com/html-frames/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 08:59:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Basics]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/html-frames/</guid>
		<description><![CDATA[With frames, you can display more than one Web  				page in the same browser window.

Frames
With frames, you can display more than one HTML document in  				the same browser window. Each HTML document is called a frame,  				and each frame is independent of the others.
The disadvantages of using frames are:

The web developer must [...]]]></description>
			<content:encoded><![CDATA[<p>With frames, you can display more than one Web  				page in the same browser window.</p>
<hr />
<h2>Frames</h2>
<p>With frames, you can display more than one HTML document in  				the same browser window. Each HTML document is called a frame,  				and each frame is independent of the others.</p>
<p>The disadvantages of using frames are:</p>
<ul>
<li>The web developer must keep track of more HTML documents</li>
<li>It is difficult to print the entire page</li>
</ul>
<hr />
<h2>The Frameset Tag</h2>
<ul>
<li>The &lt;frameset&gt; tag defines how to divide the window into  					frames</li>
<li>Each frameset defines a set of rows <strong>or</strong> columns</li>
<li>The values of the rows/columns indicate the amount of  					screen area each row/column will occupy</li>
</ul>
<hr />
<h2>The Frame Tag</h2>
<ul>
<li>The &lt;frame&gt; tag defines what HTML document to put into  					each frame</li>
</ul>
<p>In the example below we have a frameset with two columns. The  				first column is set to 25% of the width of the browser window.  				The second column is set to 75% of the width of the browser  				window. The HTML document &#8220;frame_a.htm&#8221; is put into the first  				column, and the HTML document &#8220;frame_b.htm&#8221; is put into the  				second column:</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;frameset cols="25%,75%"&gt;
   &lt;frame src="frame_a.htm"&gt;
   &lt;frame src="frame_b.htm"&gt;
&lt;/frameset&gt;</pre>
</td>
</tr>
</tbody>
</table>
<hr />
<h2>Basic Notes &#8211; Useful Tips</h2>
<p>If a frame has visible borders, the user can resize it by  				dragging the border. To prevent a user from doing this, you can  				add noresize=&#8221;noresize&#8221; to the &lt;frame&gt; tag.</p>
<p>Add the &lt;noframes&gt; tag for browsers that do not support  				frames.</p>
<p><strong>Important:</strong> You cannot use the &lt;body&gt;&lt;/body&gt; tags  				together with the &lt;frameset&gt;&lt;/frameset&gt; tags! However, if you  				add a &lt;noframes&gt; tag containing some text for browsers that do  				not support frames, you will have to enclose the text in  				&lt;body&gt;&lt;/body&gt; tags! See how it is done in the first example  				below.</p>
<hr />
<h2>Frame Tags</h2>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left">Tag</th>
<th align="left">Description</th>
</tr>
<tr>
<td>&lt;frameset&gt;</td>
<td>Defines a set of frames</td>
</tr>
<tr>
<td>&lt;frame&gt;</td>
<td>Defines a sub window (a frame)</td>
</tr>
<tr>
<td>&lt;noframes&gt;</td>
<td>Defines a noframe section for browsers that do not  						handle frames</td>
</tr>
<tr>
<td>&lt;iframe&gt;</td>
<td>Defines an inline sub window (frame)</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-frames/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Tables</title>
		<link>http://dhtmlonline.com/html-tables/</link>
		<comments>http://dhtmlonline.com/html-tables/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 08:58:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Basics]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/html-tables/</guid>
		<description><![CDATA[With HTML you can create tables.

Tables
Tables are defined with the &#60;table&#62; tag. A table is divided  				into rows (with the &#60;tr&#62; tag), and each row is divided into data  				cells (with the &#60;td&#62; tag). The letters td stands for &#8220;table  				data,&#8221; which is the content of a data cell. A data cell [...]]]></description>
			<content:encoded><![CDATA[<p>With HTML you can create tables.</p>
<hr />
<h2>Tables</h2>
<p>Tables are defined with the &lt;table&gt; tag. A table is divided  				into rows (with the &lt;tr&gt; tag), and each row is divided into data  				cells (with the &lt;td&gt; tag). The letters td stands for &#8220;table  				data,&#8221; which is the content of a data cell. A data cell can  				contain text, images, lists, paragraphs, forms, horizontal  				rules, tables, etc.</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;table border="1"&gt;
&lt;tr&gt;
&lt;td&gt;row 1, cell 1&lt;/td&gt;
&lt;td&gt;row 1, cell 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;row 2, cell 1&lt;/td&gt;
&lt;td&gt;row 2, cell 2&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>How it looks in a browser:</p>
<table id="table4" border="1">
<tbody>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</tbody>
</table>
<hr />
<h2>Tables and the Border Attribute</h2>
<p>If you do not specify a border attribute the table will be  				displayed without any borders. Sometimes this can be useful, but  				most of the time, you want the borders to show.</p>
<p>To display a table with borders, you will have to use the  				border attribute:</p>
<table id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;table border="1"&gt;
&lt;tr&gt;
&lt;td&gt;Row 1, cell 1&lt;/td&gt;
&lt;td&gt;Row 1, cell 2&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</pre>
</td>
</tr>
</tbody>
</table>
<hr />
<h2>Headings in a Table</h2>
<p>Headings in a table are defined with the &lt;th&gt; tag.</p>
<table id="table6" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;table border="1"&gt;
&lt;tr&gt;
&lt;th&gt;Heading&lt;/th&gt;
&lt;th&gt;Another Heading&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;row 1, cell 1&lt;/td&gt;
&lt;td&gt;row 1, cell 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;row 2, cell 1&lt;/td&gt;
&lt;td&gt;row 2, cell 2&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>How it looks in a browser:</p>
<table id="table7" border="1">
<tbody>
<tr>
<th>Heading</th>
<th>Another Heading</th>
</tr>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</tbody>
</table>
<hr />
<h2>Empty Cells in a Table</h2>
<p>Table cells with no content are not displayed very well in  				most browsers.</p>
<table id="table8" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;table border="1"&gt;
&lt;tr&gt;
&lt;td&gt;row 1, cell 1&lt;/td&gt;
&lt;td&gt;row 1, cell 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;row 2, cell 1&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>How it looks in a browser:</p>
<table id="table9" border="1">
<tbody>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td></td>
</tr>
</tbody>
</table>
<p>Note that the borders around the empty table cell are missing  				(NB! Mozilla Firefox displays the border).</p>
<p>To avoid this, add a non-breaking space (&amp;nbsp;) to empty  				data cells, to make the borders visible:</p>
<table id="table10" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;table border="1"&gt;
&lt;tr&gt;
&lt;td&gt;row 1, cell 1&lt;/td&gt;
&lt;td&gt;row 1, cell 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;row 2, cell 1&lt;/td&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>How it looks in a browser:</p>
<table id="table11" border="1">
<tbody>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td></td>
</tr>
</tbody>
</table>
<hr />
<h2>Basic Notes &#8211; Useful Tips</h2>
<p>The &lt;thead&gt;,&lt;tbody&gt; and &lt;tfoot&gt; elements are seldom used,  				because of bad browser support. Expect this to change in future  				versions of XHTML. If you have Internet Explorer 5.0 or newer,</p>
<hr />
<h2>Table Tags</h2>
<table id="table12" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left">Tag</th>
<th align="left">Description</th>
</tr>
<tr>
<td>&lt;table&gt;</td>
<td>Defines a table</td>
</tr>
<tr>
<td>&lt;th&gt;</td>
<td>Defines a table header</td>
</tr>
<tr>
<td>&lt;tr&gt;</td>
<td>Defines a table row</td>
</tr>
<tr>
<td>&lt;td&gt;</td>
<td>Defines a table cell</td>
</tr>
<tr>
<td>&lt;caption&gt;</td>
<td>Defines a table caption</td>
</tr>
<tr>
<td>&lt;colgroup&gt;</td>
<td>Defines groups of table columns</td>
</tr>
<tr>
<td>&lt;col&gt;</td>
<td>Defines the attribute values for one or more columns  						in a table</td>
</tr>
<tr>
<td>&lt;thead&gt;</td>
<td>Defines a table head</td>
</tr>
<tr>
<td>&lt;tbody&gt;</td>
<td>Defines a table body</td>
</tr>
<tr>
<td>&lt;tfoot&gt;</td>
<td>Defines a table footer</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML Lists</title>
		<link>http://dhtmlonline.com/html-lists/</link>
		<comments>http://dhtmlonline.com/html-lists/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 08:58:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML Basics]]></category>

		<guid isPermaLink="false">http://dhtmlonline.com/?p=24</guid>
		<description><![CDATA[HTML supports ordered, unordered and definition  				lists.

Unordered Lists
An unordered list is a list of items. The list items are  				marked with bullets (typically small black circles).
An unordered list starts with the &#60;ul&#62; tag. Each list item  				starts with the &#60;li&#62; tag.




&#60;ul&#62;
&#60;li&#62;Coffee&#60;/li&#62;
&#60;li&#62;Milk&#60;/li&#62;
&#60;/ul&#62;




Here is how it looks in a browser:

Coffee
Milk

Inside a list item you [...]]]></description>
			<content:encoded><![CDATA[<p>HTML supports ordered, unordered and definition  				lists.</p>
<hr />
<h2>Unordered Lists</h2>
<p>An unordered list is a list of items. The list items are  				marked with bullets (typically small black circles).</p>
<p>An unordered list starts with the &lt;ul&gt; tag. Each list item  				starts with the &lt;li&gt; tag.</p>
<table id="table3" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;ul&gt;
&lt;li&gt;Coffee&lt;/li&gt;
&lt;li&gt;Milk&lt;/li&gt;
&lt;/ul&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>Here is how it looks in a browser:</p>
<ul>
<li>Coffee</li>
<li>Milk</li>
</ul>
<p>Inside a list item you can put paragraphs, line breaks,  				images, links, other lists, etc.</p>
<hr />
<h2>Ordered Lists</h2>
<p>An ordered list is also a list of items. The list items are  				marked with numbers.</p>
<p>An ordered list starts with the &lt;ol&gt; tag. Each list item  				starts with the &lt;li&gt; tag.</p>
<table id="table4" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;ol&gt;
&lt;li&gt;Coffee&lt;/li&gt;
&lt;li&gt;Milk&lt;/li&gt;
&lt;/ol&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>Here is how it looks in a browser:</p>
<ol>
<li>Coffee</li>
<li>Milk</li>
</ol>
<p>Inside a list item you can put paragraphs, line breaks,  				images, links, other lists, etc.</p>
<hr />
<h2>Definition Lists</h2>
<p>A definition list is <strong>not</strong> a list of items. This is a  				list of terms and explanation of the terms.</p>
<p>A definition list starts with the &lt;dl&gt; tag. Each  				definition-list term starts with the &lt;dt&gt; tag. Each  				definition-list definition starts with the &lt;dd&gt; tag.</p>
<table id="table5" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<td>
<pre>&lt;dl&gt;
&lt;dt&gt;Coffee&lt;/dt&gt;
&lt;dd&gt;Black hot drink&lt;/dd&gt;
&lt;dt&gt;Milk&lt;/dt&gt;
&lt;dd&gt;White cold drink&lt;/dd&gt;
&lt;/dl&gt;</pre>
</td>
</tr>
</tbody>
</table>
<p>Here is how it looks in a browser:</p>
<dl>
<dt>Coffee </dt>
<dd>Black hot drink </dd>
<dt>Milk </dt>
<dd>White cold drink </dd>
</dl>
<p>Inside a definition-list definition (the &lt;dd&gt; tag) you can  				put paragraphs, line breaks, images, links, other lists, etc.</p>
<hr />
<h2>List Tags</h2>
<table id="table6" border="1" cellspacing="0" width="100%">
<tbody>
<tr>
<th align="left">Tag</th>
<th align="left">Description</th>
</tr>
<tr>
<td>&lt;ol&gt;</td>
<td>Defines an ordered list</td>
</tr>
<tr>
<td>&lt;ul&gt;</td>
<td>Defines an unordered list</td>
</tr>
<tr>
<td>&lt;li&gt;</td>
<td>Defines a list item</td>
</tr>
<tr>
<td>&lt;dl&gt;</td>
<td>Defines a definition list</td>
</tr>
<tr>
<td>&lt;dt&gt;</td>
<td>Defines a definition term</td>
</tr>
<tr>
<td>&lt;dd&gt;</td>
<td>Defines a definition description</td>
</tr>
<tr>
<td>&lt;dir&gt;</td>
<td>Deprecated. Use &lt;ul&gt; instead</td>
</tr>
<tr>
<td>&lt;menu&gt;</td>
<td>Deprecated. Use &lt;ul&gt; instead</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://dhtmlonline.com/html-lists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
