<?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>Learn Web Design Online</title>
	<atom:link href="/feed" rel="self" type="application/rss+xml" />
	<link>https://learnwebdesignonline.com</link>
	<description>Resources for Learning Web Design and Web Development</description>
	<lastBuildDate>Sun, 09 Feb 2014 05:42:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1</generator>
	<item>
		<title>Plugins to change WordPress database prefix</title>
		<link>https://learnwebdesignonline.com/plugins-change-wordpress-database-prefix</link>
		<comments>https://learnwebdesignonline.com/plugins-change-wordpress-database-prefix#comments</comments>
		<pubDate>Sun, 09 Feb 2014 05:42:03 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">https://learnwebdesignonline.com/?p=642</guid>
		<description><![CDATA[Does your database table names look like this?  This show that the default database prefix of wp_ is being used.  If you did not specify a different database prefix during the installation of WordPress, this is what you get&#8230; However, this is not so good because now hackers will know all your database table names. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Does your database table names look like this?  This show that the default database prefix of wp_ is being used.  If you did not specify a different database prefix during the installation of WordPress, this is what you get&#8230;</p>
<div id="attachment_644" style="width: 579px" class="wp-caption alignnone"><a href="/wp-content/uploads/2014/02/default-db-prefix.jpg"><img class="size-full wp-image-644" alt="Not good to have this default db prefix" src="/wp-content/uploads/2014/02/default-db-prefix.jpg" width="569" height="324" /></a><p class="wp-caption-text">Not good to have this default db prefix</p></div>
<p>However, this is not so good because now hackers will know all your database table names.  Although they still have several obstacles to overcome, having predicable tablesname just makes it somewhat easier to hack .</p>
<p>It is better to have your database table names looking like this with obscure table name prefix &#8230;</p>
<p><a href="/wp-content/uploads/2014/02/good-obscure-database-prefix.jpg"><img alt="good obscure database prefix" src="/wp-content/uploads/2014/02/good-obscure-database-prefix.jpg" width="601" height="364" /></a></p>
<p>But how do you change the database prefix after you had already installed wordpress.  There is an option to specify it during installation of WordPress, but no option to change it afterwards.</p>
<p>Good thing there are plugins that would help to change the database prefix.  Certainly easier and safer to use a plugin than to manually copy the tables over to another table name and then change the wp-config.php file.</p>
<p>Of course you want to make a full database backup of your database first.</p>
<h2>Changing the database prefix with &#8220;Change DB Prefix&#8221; Plugin</h2>
<p>In this tutorial, we will look at two plugins that can do the job.  One such plugin is &#8220;Change DB Prefix Plugin&#8221;</p>
<p>1. Install and activate this WordPress plugin.  For the purpose of this tutorial, we are working with WordPress 3.8.1 and Change DB Prefix plugin version 1.0.</p>
<p>2.  After installation and activation of the plugin, go to &#8220;Settings -&gt; Change DB Prefix&#8221;.</p>
<p>3.  It shows your current database prefix.  Enter your desired new database prefix.</p>
<div id="attachment_651" style="width: 682px" class="wp-caption alignnone"><a href="/wp-content/uploads/2014/02/change-db-prefix.jpg"><img class="size-full wp-image-651" alt="change db prefix" src="/wp-content/uploads/2014/02/change-db-prefix.jpg" width="672" height="559" /></a><p class="wp-caption-text">change db prefix</p></div>
<p>4.  In our example, we are changing from the default WordPress prefix of wp_ to wpexample_</p>
<p>5.  If all goes well it should give a confirmation message that all tables have been successfully updated and the wp-config file has been updated.</p>
<h2>Changing database prefix with Better WP Security Plugin</h2>
<p>Better WP Security does many things related to security.  One of which is to change the database prefix.</p>
<p>Here is how to use that option.</p>
<p>1. After installation of the plugin, go to Security menu in WordPress dashboard.</p>
<div id="attachment_646" style="width: 600px" class="wp-caption alignnone"><a href="/wp-content/uploads/2014/02/security-menu.jpg"><img class="size-full wp-image-646" alt="security menu" src="/wp-content/uploads/2014/02/security-menu.jpg" width="590" height="478" /></a><p class="wp-caption-text">security menu</p></div>
<p>Before you can do anything , the plugin will prompt you to backup your database.  I prefer to backup the database myself, rather than clicking that backup button shown above which would potentially email you a large backkup file.</p>
<p>Assuming that you already have a backup,  click the &#8220;No, thanks. I already have a backup&#8221; button.</p>
<p>2. Select the Prefix tab&#8230;</p>
<div id="attachment_647" style="width: 735px" class="wp-caption alignnone"><a href="/wp-content/uploads/2014/02/change-database-prefix-tab.jpg"><img class="size-full wp-image-647" alt="change database prefix tab" src="/wp-content/uploads/2014/02/change-database-prefix-tab.jpg" width="725" height="650" /></a><p class="wp-caption-text">change database prefix tab</p></div>
<p>3. Click the &#8220;Change Database Table Prefix&#8221; button.  You don&#8217;t get to select your database prefix; it will randomly generate one for you which it will display for you at the bottom of the page saying &#8220;Your current database tabel prefix is t3b6x723f_&#8221;</p>
<p>You can always click the button again to re-generate a different prefix.</p>
<p>This tutorial was based on WordPress 3.8.1 and Better WP Security plugin version 3.6.3</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://learnwebdesignonline.com/plugins-change-wordpress-database-prefix/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Book: Dependency Injection with AngularJS</title>
		<link>https://learnwebdesignonline.com/book-dependency-injection-angularjs</link>
		<comments>https://learnwebdesignonline.com/book-dependency-injection-angularjs#comments</comments>
		<pubDate>Tue, 04 Feb 2014 05:29:31 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[book]]></category>

		<guid isPermaLink="false">https://learnwebdesignonline.com/?p=634</guid>
		<description><![CDATA[With the title being &#8220;Dependency Injection with AngularJS&#8220;, this is not an intro book on AngularJS.  The book is technical and is geared for the intermediate web developer. While you do need to have good understanding of HTML, CSS, Javascript, and coding experience, you do not need necessarily need to have AngularJS knowledge. Because the [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><iframe src="http://rcm-na.amazon-adsystem.com/e/cm?lt1=_blank&#038;bc1=FFFFFF&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=technoloandvisua&#038;o=1&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=ss_til&#038;asins=B00HEGSL0Y" style="width:120px;height:240px;margin-right:10px;float:left;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></p>
<p>With the title being &#8220;<a href="http://www.packtpub.com/dependency-injection-angularjs/book"><em>Dependency Injection with AngularJS</em></a>&#8220;, this is not an intro book on AngularJS.  The book is technical and is geared for the intermediate web developer.</p>
<p>While you do need to have good understanding of HTML, CSS, Javascript, and coding experience, you do not need necessarily need to have AngularJS knowledge.</p>
<p>Because the first chapter will provide you with a concise overview of AngularJS by going through an example program.  You learn to add a controller, add routes, and add filters.  In addition, you learn about angular bindings, about services, and then learn to encapsulate a chart into a Angular directive.  All this in the first chapter.  The book is concise and moves fast.  Perhaps that is why the first chapter is called &#8220;Learning to Fly&#8221;.</p>
<p>Now that you know how to fly, the second chapter gets into development principles such as &#8230;</p>
<ul>
<li>DRY (Don&#8217;t repeat yourself)</li>
<li>SOLID</li>
<li>Dependency Inversion principle</li>
<li>Law of Demeter</li>
</ul>
<p>You&#8217;ll learn the principle of dependency injection as well.</p>
<p>Wikipedia defines dependency injection as &#8230;</p>
<blockquote><p>&#8220;Dependency injection is a software design pattern that allows the removal of hard-coded dependencies and makes it possible to change them, whether at run-time or compile-time.&#8221;</p></blockquote>
<p>In chapter 3, the book looks at how AngularJS is bootstrapped.</p>
<p>In chapter 4, the book goes into testing with Jasmine and Karma.  There is also an intro to end-to-end testing with Protractor, which is an Angular-specific test framework.</p>
<p>The final chapter 5 discusses strategies for building and organizing large applications.</p>
<p><strong>Note:</strong> This book review is opinion at the time of writing.  The eBook for this review was provided free of charge by the publisher.</p>
]]></content:encoded>
			<wfw:commentRss>https://learnwebdesignonline.com/book-dependency-injection-angularjs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding a Widget Area to WordPress Theme</title>
		<link>https://learnwebdesignonline.com/adding-a-widget-area-to-wordpress-theme</link>
		<comments>https://learnwebdesignonline.com/adding-a-widget-area-to-wordpress-theme#comments</comments>
		<pubDate>Sat, 31 Aug 2013 06:25:06 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">https://learnwebdesignonline.com/?p=618</guid>
		<description><![CDATA[In this tutorial, we will add a new widget area to the default WordPress TwentyThirteen theme.   Before we make any changes to this theme, we had cloned TwentyThirteen into a new theme called TwentyCustom. See how in this tutorial.  And then activate the TwentyCustom theme. Now we will add our widget area to the [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In this tutorial, we will add a new widget area to the default WordPress TwentyThirteen theme.   Before we make any changes to this theme, we had cloned TwentyThirteen into a new theme called TwentyCustom. <a href="/how-to-clone-a-wordpress-theme">See how in this tutorial</a>.  And then activate the TwentyCustom theme.</p>
<p>Now we will add our widget area to the TwentyCustom theme.</p>
<p>1.  In Dashboard -&gt;Appearance -&gt; Widgets, see that the theme currently has two widget areas: The Main Widget area and the Secondary Widget area&#8230;.</p>
<div id="attachment_619" style="width: 735px" class="wp-caption alignnone"><a href="/wp-content/uploads/2013/08/current-widget-areas.jpg"><img class="size-full wp-image-619" alt="current widget areas" src="/wp-content/uploads/2013/08/current-widget-areas.jpg" width="725" height="503" /></a><p class="wp-caption-text">current widget areas</p></div>
<p>that corresponds to these locations in our theme &#8230;</p>
<div id="attachment_620" style="width: 735px" class="wp-caption alignnone"><a href="/wp-content/uploads/2013/08/location-widget-areas.jpg"><img class="size-full wp-image-620" alt="location of widget areas" src="/wp-content/uploads/2013/08/location-widget-areas.jpg" width="725" height="460" /></a><p class="wp-caption-text">location of widget areas</p></div>
<p>2.  Let&#8217;s add a new widget area at location shown in blue above &#8212; the right side of the header.</p>
<p>3.  We put some code (marked in red below) in header.php of our theme folder TwentyCustom to make room for our new widget area &#8230;</p>
<div id="attachment_622" style="width: 735px" class="wp-caption alignnone"><a href="/wp-content/uploads/2013/08/widget-area-code-template.jpg"><img class="size-full wp-image-622" alt="widget area code in template" src="/wp-content/uploads/2013/08/widget-area-code-template.jpg" width="725" height="402" /></a><p class="wp-caption-text">widget area code in template</p></div>
<p>We bounded our existing header in a div floated left at 60% width.  We inlined the CSS styles for the purpose of this tutorial.  But you should refactor those styles out to your style.css file.</p>
<p>Then we created a second div floated left at width 40%.  This div shall be our header widget area.  To test how it shows up, we applied a blue border and put in dummy text &#8220;This is our new widget area&#8221;.</p>
<p>Finally, we wrapped these two divs in an container div with class &#8220;clear&#8221; because we see that class clear in style.css uses <a href="http://nicolasgallagher.com/micro-clearfix-hack/">the micro clearfix technique</a> to clear floats.</p>
<p>4. Applying these changes, we see our widget area is nicely placed &#8230;</p>
<div id="attachment_623" style="width: 735px" class="wp-caption alignnone"><a href="/wp-content/uploads/2013/08/widget-area-placed.jpg"><img class="size-full wp-image-623" alt="widget area placed" src="/wp-content/uploads/2013/08/widget-area-placed.jpg" width="725" height="290" /></a><p class="wp-caption-text">widget area placed</p></div>
<p>5. Next we have to register our widget so that admins can configure it in the dashboard.  We use the hook APIs which goes into the functions.php file of our theme folder.  At the bottom of our functions.php, we write this &#8230;</p>
<div id="attachment_624" style="width: 735px" class="wp-caption alignnone"><a href="/wp-content/uploads/2013/08/code-to-register-widget.jpg"><img class="size-full wp-image-624" alt="code to register widget" src="/wp-content/uploads/2013/08/code-to-register-widget.jpg" width="725" height="329" /></a><p class="wp-caption-text">code to register widget</p></div>
<p>How did we know to write this?   Because that was how the theme TwentyThirteen registered its Main and Secondary widget area.  Just search &#8220;register_sidebar&#8221; in your functions.php and you see similar code.</p>
<p>But what it means is &#8230;</p>
<p>The &#8220;add_action&#8221; line is the taking advantage of WordPress&#8217;s widgets_init hook.   &#8220;widgets_init&#8221; is a WordPress hook.  When that event happens (which will happen when wordpress start initializing widgets), WordPress is going to call our function which we arbitrarily named &#8220;header1_widgets_init&#8221;.  But by convention, we usually have the suffix of the function match the hook.  That&#8217;s why the function name ends with &#8220;widgets_init&#8221;.</p>
<p>Then we define our function header1_widgets_init.  It basically just calls the WordPress function register_sidebar.  &#8220;sidebar&#8221; is what it calls &#8220;widgets area&#8221;.   register_sidebar takes array of key-value pairs, where you fill in the values.  For name, we gave it the value &#8220;Header Widget Area One&#8221;.  And we gave &#8220;header-1&#8243; as the id.</p>
<p>6. The function register_sidebar enables our widget area to show up in the dashboard.  Go to dashboard now and you can see it &#8230;</p>
<div id="attachment_626" style="width: 735px" class="wp-caption alignnone"><a href="/wp-content/uploads/2013/08/widget-area-dashbard1.jpg"><img class="size-full wp-image-626" alt="widget area in dashbard" src="/wp-content/uploads/2013/08/widget-area-dashbard1.jpg" width="725" height="267" /></a><p class="wp-caption-text">widget area in dashbard</p></div>
<p>Note that the description that we passed into register_sidebar shows up as well.</p>
<p>7. While we are here, drag a search widget into there and give it the title &#8220;Find Something&#8221;.</p>
<div id="attachment_628" style="width: 716px" class="wp-caption alignnone"><a href="/wp-content/uploads/2013/08/add-widget-to-widget-area.jpg"><img class="size-full wp-image-628" alt="add widget to widget area" src="/wp-content/uploads/2013/08/add-widget-to-widget-area.jpg" width="706" height="370" /></a><p class="wp-caption-text">add widget to widget area</p></div>
<p>8. But it won&#8217;t show up on our site yet until we alter our theme header.php file code to be like &#8230;</p>
<div id="attachment_627" style="width: 735px" class="wp-caption alignnone"><a href="/wp-content/uploads/2013/08/dynamic_sidebar.jpg"><img class="size-full wp-image-627" alt="dynamic_sidebar" src="/wp-content/uploads/2013/08/dynamic_sidebar.jpg" width="725" height="465" /></a><p class="wp-caption-text">dynamic_sidebar</p></div>
<p>We wrapped an if-statement around the second floated div (which we have removed the debugging blue border).   If the header sidebar is active (as determined by is_active_sidebar()), only then we display the second div.   Contained within the second div is our header widget area.</p>
<p>We replaced the dummy text dummy text &#8220;This is our new widget area&#8221;  with the call to the WordPress function dynamic_sidebar().  Thgis function will output all the necessary code for your widget area.  You just have to pass it the widget area id, which we had specified as &#8220;header-1&#8243; when we registered our sidebar.</p>
<p>8.  Now when you refresh the site, we see the search widget shown&#8230;</p>
<div id="attachment_629" style="width: 735px" class="wp-caption alignnone"><a href="/wp-content/uploads/2013/08/widget-output-code.jpg"><img class="size-full wp-image-629" alt="widget output code" src="/wp-content/uploads/2013/08/widget-output-code.jpg" width="725" height="513" /></a><p class="wp-caption-text">widget output code</p></div>
<p>Inspecting the code, we see that our widget is wrapped in a pair of &#8220;aside&#8221; tags.  This is because of the values that we gave it for before_widget and after_widget when we register_sidebar.</p>
<p>Note that h3 tags that wraps our widget title is from the before_title and after_title values passed into register_sidebar.</p>
<p>The class attributes in these tags are what we gave it.  Except there is a &#8220;%1$s&#8221; and a &#8220;%2$s&#8221; in the values for before_widget and after_widget.  These are sprintf placeholder arguments so that WordPress can pass the widget id and widget type into the tags.</p>
]]></content:encoded>
			<wfw:commentRss>https://learnwebdesignonline.com/adding-a-widget-area-to-wordpress-theme/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Clone a WordPress Theme</title>
		<link>https://learnwebdesignonline.com/how-to-clone-a-wordpress-theme</link>
		<comments>https://learnwebdesignonline.com/how-to-clone-a-wordpress-theme#comments</comments>
		<pubDate>Sat, 31 Aug 2013 04:20:55 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">https://learnwebdesignonline.com/?p=608</guid>
		<description><![CDATA[There are times when you need to clone a wordpress theme.  Suppose you want to customize the template of WordPress&#8217;s default Twenty Thirteen theme.   You should not edit the template files of the Twenty Thirteen theme directly, just like you should not edit WordPress core files.  Because at the next WordPress update, it may [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>There are times when you need to clone a wordpress theme.  Suppose you want to customize the template of WordPress&#8217;s default Twenty Thirteen theme.   You should not edit the template files of the Twenty Thirteen theme directly, just like you should not edit WordPress core files.  Because at the next WordPress update, it may overwrite your template customizations.</p>
<p>What you want to do is to clone the Twenty Thirteen theme and give it a new name.  Then you can make customization edits to this new theme.</p>
<p>1.  In your wp-content/themes/ folder, copy the twentythirteen folder to a new folder called twentycustom.  We will call our new custom theme &#8220;TwentyCustom&#8221;.</p>
<div id="attachment_615" style="width: 735px" class="wp-caption alignnone"><a href="/wp-content/uploads/2013/08/clone-wordpress-theme-folder1.jpg"><img class="size-full wp-image-615" alt="clone wordpress theme folder" src="/wp-content/uploads/2013/08/clone-wordpress-theme-folder1.jpg" width="725" height="727" /></a><p class="wp-caption-text">clone wordpress theme folder</p></div>
<p>2.  Within your new twentycustom folder, find the style.css file and edit the theme name to be &#8220;TwentyCustom&#8221; .  This line enables WordPress to find your theme.   You might want to alter the description and other properties in the file as well.</p>
<p>3. Now when you go to Appearance -&gt; Themes in your dashboard, you will see your new TwentyCustom theme.  If you want to change the theme thumbnail image, it is the file screenshot.png in the twentycustom folder.  Click &#8220;Activate&#8221; to activate your new cloned theme.</p>
<div id="attachment_616" style="width: 423px" class="wp-caption alignnone"><a href="/wp-content/uploads/2013/08/activate-cloned-theme.jpg"><img class="size-full wp-image-616" alt="activate the cloned theme" src="/wp-content/uploads/2013/08/activate-cloned-theme.jpg" width="413" height="473" /></a><p class="wp-caption-text">activate the cloned theme</p></div>
<p>4.  Now you can go make whatever edits you want in the theme files within the twentycustom folder without worry that WordPress updates would overwrite it.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://learnwebdesignonline.com/how-to-clone-a-wordpress-theme/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webtool to measure your website speed and performance</title>
		<link>https://learnwebdesignonline.com/webtool-to-measure-your-website-speed-and-performance</link>
		<comments>https://learnwebdesignonline.com/webtool-to-measure-your-website-speed-and-performance#comments</comments>
		<pubDate>Sat, 31 Aug 2013 04:03:31 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">https://learnwebdesignonline.com/?p=612</guid>
		<description><![CDATA[GTMetrix.com will let you type in a URL and it will give you a grade on speed and performance.   No signup required to use.]]></description>
				<content:encoded><![CDATA[<p>GTMetrix.com will let you type in a URL and it will give you a grade on speed and performance.   No signup required to use.</p>
]]></content:encoded>
			<wfw:commentRss>https://learnwebdesignonline.com/webtool-to-measure-your-website-speed-and-performance/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is your site worth?</title>
		<link>https://learnwebdesignonline.com/what-is-your-site-worth</link>
		<comments>https://learnwebdesignonline.com/what-is-your-site-worth#comments</comments>
		<pubDate>Sat, 01 Dec 2012 05:26:34 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">https://learnwebdesignonline.com/?p=602</guid>
		<description><![CDATA[Many people who own a website are interested in knowing what their site is worth.   If you Google &#8220;what is your site worth&#8221; or something similar, you will come across a whole bunch of web sites that claim to be able to calculate you site worth by entering your site&#8217;s web address. Well, these [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Many people who own a website are interested in knowing what their site is worth.   If you Google &#8220;what is your site worth&#8221; or something similar, you will come across a whole bunch of web sites that claim to be able to calculate you site worth by entering your site&#8217;s web address.</p>
<p>Well, these &#8220;site-worth calculators&#8221; are not very accurate.  To see just how accurate or off they are, put in the site &#8220;google.com&#8221; and see how much they say it is worth.   Last check, I typed in google.com on www.urlappraisal.net and it gave me $3,252.  Are you kidding?   Google.com worth a few thousand $$$&#8217;s.   Give me a break.   Anyone knows google.com just the domain name is worth much more than that.</p>
<p>I tried it on www.yourwebsitevalue.com and it gave me a more realistic answer of $1.6 billion. </p>
<p>Two calculators gave two extreme answer.</p>
<p>For those in the business of buying and selling sites, they typically will calculate a site worth as a multiple of its monthly revenue.  What that multiple is would be subject to debate.  I&#8217;ll let you google on that.</p>
<p>If you are really interested in selling a site.  Another way to determine worth is to actually put it up for sale and see what kinds of bids you are getting.  One place is flippa.com or one of the other nice places listed on article <em><a href="http://www.sitepoint.com/10-places-to-sell-your-web-site/">10 places to sell your website</a></em>.</p>
]]></content:encoded>
			<wfw:commentRss>https://learnwebdesignonline.com/what-is-your-site-worth/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial on Creating Your First HTML 5 Page</title>
		<link>https://learnwebdesignonline.com/tutorial-on-creating-your-first-html-5-page</link>
		<comments>https://learnwebdesignonline.com/tutorial-on-creating-your-first-html-5-page#comments</comments>
		<pubDate>Sun, 14 Oct 2012 05:53:30 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">https://learnwebdesignonline.com/?p=568</guid>
		<description><![CDATA[In this tutorial we will create a very simple HTML 5 page. We will keep it as simple as possible so that you can get something up and running quickly. HTML 5 is a significant change from HTML 4.  It comes with brand new tags and a new doctype plus more.   However older browsers [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In this tutorial we will create a very simple HTML 5 page. We will keep it as simple as possible so that you can get something up and running quickly.</p>
<p>HTML 5 is a significant change from HTML 4.  It comes with brand new tags and a new doctype plus more.   However older browsers that was in existence prior to HTML 5 will not know of these news tags.  Of course, we will want our page to be viewable on these older browser as well. Therefore there are various tricks and techniques that we have to employ in order to get our HTML 5 page to render on older browsers.</p>
<p>The easiest way to start is to start with an HTML 5 template that has all these techniques and best practices coded for you already.   HTML 5 Boilerplate is the popular template to use.  We will use this template as the skeleton for our HTML page.</p>
<p>1.  First download the latest HTML5 Boilerplate from <a href="http://html5boilerplate.com/">http://html5boilerplate.com/</a></p>
<p>In this tutorial we are using version 4.0.0.</p>
<p>2.  After you have downloaded and extracted the zip file into a new folder on your hard disk, you will see a bunch of files like the following&#8230;</p>
<p><a href="/wp-content/uploads/2012/10/html5-templatefiles.jpg"><img class="alignnone size-full wp-image-571" title="html5-templatefiles" src="/wp-content/uploads/2012/10/html5-templatefiles.jpg" alt="" width="282" height="544" /></a></p>
<p>3.  The main file that we are interested in is index.html.   Open this file in your favorite text editor. (I&#8217;m using Dreamweaver).</p>
<p>4.  Note the new doctype is now the following&#8230;</p>
<p>&lt;!DOCTYPE html&gt;</p>
<p>This is the new doctype for HTML5.  If you see this, it means that the author intends for this to be an HTML 5 document.</p>
<p><a href="/wp-content/uploads/2012/10/html5-doctype.jpg"><img class="alignnone size-full wp-image-577" title="html5-doctype" src="/wp-content/uploads/2012/10/html5-doctype.jpg" alt="HTML5 doctype" width="564" height="331" /></a></p>
<p>5.  Without changing any code, just test it by running the index.html file in your browser.   We are using Chrome for this viewing. As of this writing in October 2012, Chrome version 22 is the browser that supports the most features of the latest HTML5 specifications, according to <a href="http://html5test.com/results/desktop.html">HTM5Test.com</a>. That is why many web designers like to using Google Chrome during development.</p>
<p>You will see the following in the browser &#8230;</p>
<p><a href="/wp-content/uploads/2012/10/first-html5-chrome.jpg"><img class="alignnone size-full wp-image-578" title="first-html5-chrome" src="/wp-content/uploads/2012/10/first-html5-chrome.jpg" alt="First HTML5 page viewed in Chrome" width="418" height="241" /></a></p>
<p>which indicates that everything currently works.</p>
<p>You can say that this is your first &#8220;Hello World&#8221; HTML5 page.  Of course, we now want to start writing some code so that we can understand how all the pieces are put together.</p>
<p>6.  Let&#8217;s add a title to our page by typing in &#8220;Our First HTML5 Page&#8221; into the index.html file in between the &lt;title&gt; tags as shown&#8230;</p>
<p><a href="/wp-content/uploads/2012/10/add-title.jpg"><img class="alignnone size-full wp-image-579" title="add-title" src="/wp-content/uploads/2012/10/add-title.jpg" alt="Add Page Title" width="512" height="192" /></a></p>
<p>This is known as the &#8220;Page Title&#8221;.  After saving the file and refreshing the browser, you should see that our page title shows up in the browser tab.</p>
<p><a href="/wp-content/uploads/2012/10/page-title-chrome.jpg"><img class="alignnone size-full wp-image-580" title="page-title-chrome" src="/wp-content/uploads/2012/10/page-title-chrome.jpg" alt="Page Title Shown in Tab" width="396" height="193" /></a></p>
<p>7.  HTML5 Boilerplate intends for you to delete things from it that you do not need.  One of the things that it puts in near the bottom of the HTML file is a code snippet intended for Google Analytics.  Since we will not be using that in this example, we will delete it.  If you don&#8217;t know what Google Analytics is, then you don&#8217;t need it.</p>
<p>Delete the code as that is marked as shown&#8230;</p>
<p><a href="/wp-content/uploads/2012/10/delete-google-analytics.jpg"><img class="alignnone size-full wp-image-581" title="delete-google-analytics" src="/wp-content/uploads/2012/10/delete-google-analytics.jpg" alt="Delete Google Analytics Code" width="768" height="442" /></a></p>
<p>If you save file and view in browser, you will see that the deletion had no effect.</p>
<p>8.  Let&#8217;s make the background color be a pale gray.   Styling information is done in CSS.  And if you are using HTML5, you would be using CSS3 (as opposed to CSS2).   The CSS code is found in the main.css file within the css folder.  You can see that our index.html file links to this css file via the link tag shown below &#8230;</p>
<p><a href="/wp-content/uploads/2012/10/html-link-css.jpg"><img class="alignnone size-full wp-image-582" title="html-link-css" src="/wp-content/uploads/2012/10/html-link-css.jpg" alt="HTML links to CSS file" width="508" height="227" /></a></p>
<p>8.  Now open up the main.css file in your editor and look for the section that says &#8220;Author&#8217;s custom styles&#8221; &#8212; that&#8217;s for us.</p>
<p><a href="/wp-content/uploads/2012/10/add-first-css.jpg"><img class="alignnone size-full wp-image-583" title="add-first-css" src="/wp-content/uploads/2012/10/add-first-css.jpg" alt="Add first CSS rule" width="342" height="483" /></a></p>
<p>9.  We write our first CSS rule into that section.   The code shown above highlighted by the red rectangle is the code that we just added.  This tells the browser to set the background color of our page to be light gray (which is the hexidecimal color #CCCCCC).  Save changes in the CSS file and refresh browser.   Our page now has gray background.</p>
<p><a href="/wp-content/uploads/2012/10/gray-background.jpg"><img class="alignnone size-full wp-image-585" title="gray-background" src="/wp-content/uploads/2012/10/gray-background.jpg" alt="Gray background" width="418" height="247" /></a></p>
<p>10.  Now you may have noticed that the index.html page also links to another css file called normalize.css.</p>
<p><a href="/wp-content/uploads/2012/10/normalize-css.jpg"><img class="alignnone size-full wp-image-584" title="normalize-css" src="/wp-content/uploads/2012/10/normalize-css.jpg" alt="Normalize css" width="508" height="227" /></a></p>
<p>11. You don&#8217;t have to worry about that css file.  Not all browsers may use the same default styling for a HTML page.  Hence, one technique is to use CSS to make the styling consistent among browsers .   This is known &#8220;normalizing the styles&#8221; and the code for doing that is known as &#8220;css reset code&#8221;.  That is what is contained within normalize.css.</p>
<p>12.  Also within normalize.css, you will see this code &#8230;</p>
<p><a href="/wp-content/uploads/2012/10/block-display-new-tags.jpg"><img class="alignnone size-full wp-image-586" title="block-display-new-tags" src="/wp-content/uploads/2012/10/block-display-new-tags.jpg" alt="Set block display for new tags" width="250" height="384" /></a></p>
<p><a href="/wp-content/uploads/2012/10/block-display-new-tags.jpg"></a>This is to allow older non-HTML5 browser to work well with the new HTML5 tags (some of which are article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary).</p>
<p>The CSS contain styling to make these new tags display as &#8220;block style&#8221; tags.   Shown above is the &#8220;display&#8221; property with the &#8220;block&#8221; value for these new tags.  Don&#8217;t worry about what that means for now since this is your first  HTML5 page.  We have to take things one step at a time.  Just know that the above CSS code is needed to make older browser work with the new HTML5 tags.</p>
<p>13.  Next, let&#8217;s give some definition to our content area containing the text by adding some borders and a different content background color to set it apart from the background color.  In the index.html file, we will add an &#8220;article&#8221; tag (one of the new HTML5 tags) around the text content as shown&#8230;</p>
<p><a href="/wp-content/uploads/2012/10/article-tags.jpg"><img class="alignnone size-full wp-image-587" title="article-tags" src="/wp-content/uploads/2012/10/article-tags.jpg" alt="Article tags" width="423" height="200" /></a></p>
<p>Note that the starting tag (the first tag) is &lt;article&gt;</p>
<p>And the closing tag is &lt;/article&gt; with the extra slash at the end.  That is how most tags work.  They come in pairs with a starting tag and a closing tag.  Save changes and refresh browser.</p>
<p>14.  You will see no effect until we add styling rule for the article tag.  Let&#8217;s add the article CSS rule to the main.css file&#8230;</p>
<p><a href="/wp-content/uploads/2012/10/css-page-definition.jpg"><img class="alignnone size-full wp-image-588" title="css-page-definition" src="/wp-content/uploads/2012/10/css-page-definition.jpg" alt="CSS Page definition" width="292" height="274" /></a></p>
<p>We set the width of our page to be 500 pixels with the line &#8230;</p>
<pre>width: 500px;</pre>
<p>The margin property has two values &#8230;</p>
<pre>margin: 20px auto</pre>
<p>The first value 20px represents the top and bottom margins of our page.  The second value represents the left and right margins of our page.  Since we set that to &#8220;auto&#8221;, it has the effect of making the page be centered horizontally across the browser.</p>
<p>Saving the file and running in browser, we get  &#8230;</p>
<p><a href="/wp-content/uploads/2012/10/first-html5-page-centered.jpg"><img class="alignnone size-full wp-image-589" title="first-html5-page-centered" src="/wp-content/uploads/2012/10/first-html5-page-centered.jpg" alt="First HTML5 page centered" width="727" height="235" /></a></p>
<p>15.  In CSS3, we can have rounded corners and drop shadows like &#8230;</p>
<p><a href="/wp-content/uploads/2012/10/corners-drop-shadow1.jpg"><img class="alignnone size-full wp-image-592" title="corners-drop-shadow" src="/wp-content/uploads/2012/10/corners-drop-shadow1.jpg" alt="Corners and Drop Shadows" width="619" height="127" /></a></p>
<p>by adding the following two lines to our article CSS rule as shown below &#8230;</p>
<p><a href="/wp-content/uploads/2012/10/article-css-rule.jpg"><img class="alignnone size-full wp-image-593" title="article-css-rule" src="/wp-content/uploads/2012/10/article-css-rule.jpg" alt="CSS rule for corners and drop shadows" width="302" height="144" /></a></p>
<p>For the <strong>border-radius</strong> property, we set the roundness to 8 pixels (the greater the value, the more rounded).</p>
<p>The first two values of the <strong>box-shadow</strong> property represents the horizontal and vertical offset respectively.  The third value is the amount of blur.  And the fourth value is the color of the shadow.</p>
<p>16. One last thing before we are done, the text content is too close to the left edge of the page.  Add a bit of padding around the article element by &#8230;.</p>
<p><a href="/wp-content/uploads/2012/10/padding-article.jpg"><img class="alignnone size-full wp-image-594" title="padding-article" src="/wp-content/uploads/2012/10/padding-article.jpg" alt="Pad article" width="267" height="150" /></a></p>
<p>and we should get &#8230;</p>
<p><a href="/wp-content/uploads/2012/10/after-padding.jpg"><img class="alignnone size-full wp-image-595" title="after-padding" src="/wp-content/uploads/2012/10/after-padding.jpg" alt="After padding" width="608" height="149" /></a></p>
<p>Since  we had only specified one value for the padding property, it will use the 30 pixels as padding for the top, right, bottom, and left edges.</p>
<p>In this case, since all the properties of the article CSS rule is unique, it does not matter which order you place the properties in.  We just like putting the padding property where it was.</p>
<p>And that is your first HTML 5 page.</p>
]]></content:encoded>
			<wfw:commentRss>https://learnwebdesignonline.com/tutorial-on-creating-your-first-html-5-page/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List Drop Down Menu Examples</title>
		<link>https://learnwebdesignonline.com/drop-down-menu-examples</link>
		<comments>https://learnwebdesignonline.com/drop-down-menu-examples#comments</comments>
		<pubDate>Thu, 06 Sep 2012 04:50:25 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">https://learnwebdesignonline.com/?p=560</guid>
		<description><![CDATA[It is not a problem building a basic horizontal menu, but building a horizontal menu with drop down item upon hover is a bit more challenging &#8212; especially if it is a complex multi-level menu system. Plus there are so many different ways of building them, from pure CSS menus to those that uses some [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>It is not a problem building a basic horizontal menu, but building a horizontal menu with drop down item upon hover is a bit more challenging &#8212; especially if it is a complex multi-level menu system.</p>
<p>Plus there are so many different ways of building them, from pure CSS menus to those that uses some jQuery.  Making them cross-browser compatible is another chore.</p>
<p>There are so many drop down menu examples out there, that you might want to look through a few to find one the most closely matches what you are looking for and then see how it works.</p>
<p>Here is a list of some drop down menu example (listed in no particular order).</p>
<ul>
<li><a href="http://www.alistapart.com/articles/dropdowns">SuckerFish</a> &#8211; AListApart.com</li>
<li><a href="http://www.htmldog.com/articles/suckerfish/dropdowns/">Son of SuckerFish</a> &#8211; HTMLDog</li>
<li><a href="http://users.tpg.com.au/j_birch/plugins/superfish/">SuperFish</a> -</li>
<li><a href="http://net.tutsplus.com/tutorials/html-css-techniques/how-to-create-a-drop-down-nav-menu-with-html5-css3-and-jquery/">How to Create a drop-down nav menu with HTML5, CSS3, and JQuery</a> &#8211; tutsplus.com</li>
<li><a href="http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm">Smooth Navigation Menu</a> &#8211; dynamicdrive.com</li>
<li><a href="http://www.hv-designs.co.uk/2009/02/17/sliding-jquery-menu/">Sliding JQuery Menu</a> &#8211; hv-designs.co.uk</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://learnwebdesignonline.com/drop-down-menu-examples/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>When to use &#8220;em&#8221; and &#8220;i&#8221; tags for italics in HTML5</title>
		<link>https://learnwebdesignonline.com/when-use-em-i-tags-italics-html5</link>
		<comments>https://learnwebdesignonline.com/when-use-em-i-tags-italics-html5#comments</comments>
		<pubDate>Mon, 03 Sep 2012 14:34:23 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">https://learnwebdesignonline.com/?p=558</guid>
		<description><![CDATA[In HTML5, both the &#60;i&#62; and the &#60;em&#62; tags are perfectly fine to use.  Both will italicize text with the same appearance. So when do you use the &#60;i&#62; versus the &#60;em&#62; tags? Use &#60;em&#62; when you want to place emphasize on particular words within a sentence that would change the meaning of the sentence. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In HTML5, both the &lt;i&gt; and the &lt;em&gt; tags are perfectly fine to use.  Both will italicize text with the same appearance.</p>
<p>So when do you use the &lt;i&gt; versus the &lt;em&gt; tags?</p>
<p>Use &lt;em&gt; when you want to place emphasize on particular words within a sentence that would change the meaning of the sentence.  For example, these three sentences mean something slightly different &#8230;</p>
<p>Dogs are smart and <em>likable</em>.<br />
Dogs are <em>smart</em> and likable.<br />
<em>Dogs</em> are smart and likable.</p>
<p>And they are using &lt;em&gt; for the italics.</p>
<p>Use the &lt;i&gt; tag for general italicize text when you want to offset italicized text from the rest of the non-italicized text.  Or when text is in a different tone.</p>
<p>HTML5 W3C says to use &lt;i&gt; for text &#8230;</p>
<blockquote><p>&#8220;in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text&#8221;</p></blockquote>
<p>To convey importance, use &lt;strong&gt; instead of &lt;em&gt;.</p>
<p>See also the <a href="/bold-with-b-versus-strong-tags-in-html5">use of &lt;b&gt; and &lt;strong&gt;</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://learnwebdesignonline.com/when-use-em-i-tags-italics-html5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bold with b versus strong tags in HTML5</title>
		<link>https://learnwebdesignonline.com/bold-with-b-versus-strong-tags-in-html5</link>
		<comments>https://learnwebdesignonline.com/bold-with-b-versus-strong-tags-in-html5#comments</comments>
		<pubDate>Mon, 03 Sep 2012 14:21:47 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">https://learnwebdesignonline.com/?p=554</guid>
		<description><![CDATA[Some of you may have been doing web design long enough to hear the instruction of not to use the &#60;b&#62; tag and to only use the &#60;strong&#62; tag for bolding text. Well, in HTML5, the &#60;b&#62; tag is a perfectly legitimate tag to use.  And so is the &#60;strong&#62; tag.  So when to use [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Some of you may have been doing web design long enough to hear the instruction of not to use the &lt;b&gt; tag and to only use the &lt;strong&gt; tag for bolding text.</p>
<p>Well, in HTML5, the &lt;b&gt; tag is a perfectly legitimate tag to use.  And so is the &lt;strong&gt; tag.  So when to use &lt;b&gt; tag and when to use &lt;strong&gt;?</p>
<p>Both will bold text with appearance being the same.  However, the semantic meaning of the two are different.</p>
<p>Use &lt;b&gt; when you want bolded text for cosmetic reasons and when you do not intent to give the text any stronger weight in voice.   <a href="http://www.w3.org/TR/html5/the-b-element.html#the-b-element">HTML5 W3C</a> says to use &lt;b&gt; &#8230;</p>
<blockquote><p>&#8220;for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood&#8221;</p></blockquote>
<p>Use &lt;strong&gt; to give text a stronger voice along with a bolded appearance.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://learnwebdesignonline.com/bold-with-b-versus-strong-tags-in-html5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
