<?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>Basic lessons in HTML, CGI, SEO, domain registration, hosting - build an on line business! &#187; Basic HTML</title>
	<atom:link href="http://powertoearnmoney.com/tag/basic-html/feed/" rel="self" type="application/rss+xml" />
	<link>http://powertoearnmoney.com</link>
	<description>Learn to write HTML, CGI, SEO tips, domain setup- to build a website or blog to earn money from home</description>
	<lastBuildDate>Mon, 07 May 2012 19:50:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>10 Basic HTML Actions, Pt. 2</title>
		<link>http://powertoearnmoney.com/html/10-basic-html-actions-pt-2/</link>
		<comments>http://powertoearnmoney.com/html/10-basic-html-actions-pt-2/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 15:50:57 +0000</pubDate>
		<dc:creator>AdminP</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Basic HTML]]></category>
		<category><![CDATA[Marquee Scroll]]></category>
		<category><![CDATA[Prevent a line return]]></category>
		<category><![CDATA[Text Link Color Change]]></category>

		<guid isPermaLink="false">http://powertoearnmoney.com/?p=1690</guid>
		<description><![CDATA[<p></p>
<p>Continuing our discussion on basic HTML  with items &#8217;6 through 10&#8242; of our &#8217;10 Basic&#8217; HTML actions -  what they do and what to call them should you want to look them up either online or in a reference book.   [Part 1 ]</p>
6.  Want to have &#8216;scrolling&#8217; text on the page without using JAVA?
<p>You can use &#8216;Marquee&#8217; tags to [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-1694" href="http://powertoearnmoney.com/html/10-basic-html-actions-pt-2/attachment/manpullingouthair2-2/"><img class="alignright size-full wp-image-1694" title="ManPullingOutHair2" src="http://powertoearnmoney.com/wp-content/uploads/2010/07/ManPullingOutHair21.jpg" alt="" width="152" height="152" /></a></p>
<p>Continuing our discussion on basic HTML  with items &#8217;6 through 10&#8242; of our &#8217;10 Basic&#8217; HTML actions -  what they do and what to call them should you want to look them up either online or in a reference book.   [<a href="http://powertoearnmoney.com/html/10-basic-html-actions/"><strong>Part 1</strong> </a>]</p>
<h3>6.  Want to have &#8216;scrolling&#8217; text on the page without using JAVA?</h3>
<p>You can use &#8216;Marquee&#8217; tags to accomplish this. When using a marquee tag you can define the following attributes:</p>
<ul>
<li>Type (<strong>scroll </strong>- <em>continues across the page and disappears</em>; <strong>slide</strong> &#8211; <em>starts at one side of the screen and stops when it reaches the other side</em>; <strong>alternate</strong> &#8211; <em>text starts at one side and bounces back when it reaches the other side.</em> )</li>
<li>Direction &#8211; which side the text starts from</li>
<li>Loop &#8211; number of times the text will pass across</li>
<li>Scrollmount &#8211; amount of space left between each pass</li>
<li>Scrolldelay &#8211; how much time before text scrolls again</li>
<li>Height</li>
<li>Width</li>
<li>Horizontal space</li>
<li>Vertical Space</li>
<li>Align</li>
<li>Background color</li>
</ul>
<p style="padding-left: 30px; text-align: left;">
<span style="color: #0000ff;"><strong>&lt;marquee width=&#8221;100%&#8221; height=&#8221;15&#8243; scrolldelay=&#8221;175&#8243; behavior=&#8221;scroll&#8221; direction=&#8221;left&#8221; loop=&#8221;infinite&#8221;&gt;<span style="color: #333333;">Sample Scroll </span> &lt;/marquee&gt;<br />
</strong></span></p>
<p><span style="text-decoration: underline;">Note</span>: <em>I&#8217;ve used this method for small graphics but do not recommend it for large images as it would take too long to load.</em></p>
<h3>7.  Want to make an image change when a visitor points at it?</h3>
<p>This is called a &#8216;rollover&#8217;. To accomplish this you can use a <span style="color: #0000ff;"><strong>&lt;onmouseover=document.imagename.scr= &#8220;&gt; </strong></span>tag to show the alternate image and a <strong><span style="color: #0000ff;">&lt;onmouseout=&#8221;document.imagename.scr= &#8220;&gt;</span> </strong>to return them to the original image. To use this code, you would replace the location and name of the image with your own image location and name.</p>
<h3>8.  Want to keep a string of text or numbers together . . . all on the same line?</h3>
<p>This is easily done by placing a &#8216;no return&#8217; tag <span style="color: #0000ff;"><strong>&lt;nobr&gt;</strong></span> at the beginning of the text string and a <span style="color: #0000ff;"><strong>&lt;/nobr&gt;</strong></span> tag at the end.</p>
<p style="padding-left: 30px;">Example: <span style="color: #0000ff;"><strong>&lt;nobr&gt;</strong></span>202-123-4567, PO Box 123, NY, NY 11229<span style="color: #0000ff;"><strong>&lt;/nobr&gt;</strong></span></p>
<p>All of the information above between the &#8217;nobr&#8217; tags will stay on one line. This is effective for telephone number, long URL&#8217;s, item numbers or anything else you don&#8217;t want split.  </p>
<h3>9.  Want to change how your website displays?</h3>
<p>This can be accomplished through the &#8216;sytle&#8217; tag &#8211; <span style="color: #0000ff;"><strong>&lt;style&gt;</strong></span>. If you are using one single table to enclose the whole of the information displayed on the web page, this code will affect the location of that table.</p>
<p>If the first tag  is not a table, but say is an image, i.e., banner - then the image will display based on the <span style="color: #0000ff;"><strong>&lt;style&gt;</strong></span> definitions.</p>
<p>For example,  the code below sets the font face and size (<strong>10px</strong>) used within the body, table column (<em>td</em>) and table headings (<em>th</em>). It also sets the body margins for left, top, right and bottom as well as the background image.  In our example,  all margins are 0.</p>
<p>If you want some &#8216;<em>padding&#8217;</em> space to the left and/or to the top of the table/website contents, then you would change the <strong>0px </strong>to reflect the amount of space you want there.</p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>&lt;style type=&#8221;text/css&#8221;&gt;</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>body,td,th {</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>font-family: Verdana, Arial, Helvetica, sans-serif;</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>font-size: 10px;</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>}</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>body {</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>margin-left: 0px;</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>margin-top: 0px;</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>margin-right: 0px;</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>margin-bottom: 0px;</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>background-image: url(gradient.jpg);</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>}</strong></span></p>
<p style="padding-left: 60px;"><span style="color: #0000ff;"><strong>&lt;/style&gt;</strong></span></p>
<h3>10.  Want to display information to the visitor via a text link?</h3>
<p>This is accomplished through the use of a &#8216;<strong>title</strong>&#8216; tag. If you are using an image for a link it&#8217;s easy to add the &#8220;<strong>ALT=</strong> &#8221; tag to give information either about the image or the link to the visitor. The information in the &#8221;<strong>ALT=</strong> &#8220;  tag will be displayed when the cursor is over the image.  However, if you are using <strong>text</strong> links, you will need to use the &#8216;<strong>title</strong>&#8216; tag <em>within</em> the anchor link code to get your message across.</p>
<p>For example,</p>
<p><strong><span style="color: #0000ff;">&lt;a href=&#8221;http://www.yourdomain.com&#8221; title=&#8221;This link will open in a new window&#8221;&gt;</span>Link Text Here</strong> <span style="color: #0000ff;"><strong>&lt;/a&gt;</strong></span></p>
<p>. . . lets the visitor know that when they click on the link &#8220;<em><strong>This link will open in a new window</strong></em> &#8221;.   You can use the &#8216;<strong>title</strong>&#8216; tag for any message you want your visitor to see.</p>
<h3>Conclusion</h3>
<p>Most of the time, finding information on how to perform actions in HTML is easy. If you want information about tables you look under tables, information about links &#8211; look under links&#8230;. but sometimes finding how to do a specific action that doesn&#8217;t seem related to anything can be confusing. </p>
<p>If you&#8217;re dead serious about learning HTML, the <a href="http://www.amazon.com/gp/search?ie=UTF8&amp;keywords=Elizabeth%20Castro%20quickstart%20html&amp;tag=texantmal-20&amp;index=books&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325"><span style="color: #ff0000;"><strong>Quick Start Guides by Elizabeth Castro</strong></span></a><img style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.com/e/ir?t=texantmal-20&amp;l=ur2&amp;o=1" border="0" alt="" width="1" height="1" />  are a quick, easy learn and a much needed addition to your reference library.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fpowertoearnmoney.com%2Fhtml%2F10-basic-html-actions-pt-2%2F&amp;title=10%20Basic%20HTML%20Actions%2C%20Pt.%202" id="wpa2a_2"><img src="http://powertoearnmoney.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://powertoearnmoney.com/html/10-basic-html-actions-pt-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

