<?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>Tutorials &#8211; Extreme Web Designs</title>
	<atom:link href="https://theextremewebdesigns.com/blog/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>https://theextremewebdesigns.com/blog</link>
	<description>Web Design and Web Development</description>
	<lastBuildDate>Tue, 22 Jan 2013 13:46:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.5</generator>
<site xmlns="com-wordpress:feed-additions:1">156673191</site>	<item>
		<title>What are QR Codes? Why are QR Codes used? How are QR Codes used?</title>
		<link>https://theextremewebdesigns.com/blog/what-are-qr-codes-why-are-qr-codes-used-how-are-qr-codes-used/</link>
					<comments>https://theextremewebdesigns.com/blog/what-are-qr-codes-why-are-qr-codes-used-how-are-qr-codes-used/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 22 Jan 2013 13:46:41 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[other-tutorials]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=286</guid>

					<description><![CDATA[This article is aimed at demystifying the strange, but commonly heard &#8220;QR Codes&#8220;. After reading this article, you will be more knowledgeable than ever. Read on to find out more about QR codes and how you can use them. What are QR Codes? QR is an abbreviation of Quick Response. QR is a two-dimensional bar code which [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>This article is aimed at demystifying the strange, but commonly heard &#8220;<strong>QR Codes</strong>&#8220;. After reading this article, you will be more knowledgeable than ever. Read on to find out more about QR codes and how you can use them.<span id="more-286"></span></p>
<h2>What are QR Codes?</h2>
<p>QR is an abbreviation of <strong>Quick Response</strong>.<br />
QR is a two-dimensional bar code which presents information as a series of squares within squares and they are machine readable. They can contain alphanumeric text and are often used to identify and feature URLs that direct users to sites where they can learn about a product, a place or an object. They can be quickly read by mobile phones. This is also commonly known as “mobile tagging”.</p>
<p>Typically, barcodes are used to distinguish between products. Every product that you purchase has its own unique barcode. When you buy a can of coke, just turn it around and you will notice a series of vertical black and white lines. These lines are called barcodes. These barcodes can be found on any product that you buy, as they help in identifying and differentiating products. Similar to these barcodes, QR codes work in a similar fashion. Many modern cell phones can easily scan these QR codes thus enabling you to receive the info in your mobile phones.</p>
<h2>So what makes QR Codes different from a regular barcode?</h2>
<p>1. A barcode can encode the data horizontally. That is why you see vertical lines on the barcode of products like soft drink cans, tooth pastes, etc. as the scanners read the width and distance between these vertical lines. Unlike a regular barcode, QR code can encode the data, both horizontally and vertically in the form of a grid, built of tiny squares. This helps to add more data in a smaller region.</p>
<p>2. It is absolutely necessary that the barcodes to be aligned properly (mostly vertically) to be read properly by a scanner, whereas QR codes can be read and intercepted from any angle.</p>
<p>3. Barcodes are merely used to identify products and can be used only to provide static information about the product, prices, etc. They cannot trigger an action on their own. On the other hand, QR codes can trigger actions like downloading a file, launching a website, etc. thus adding more options and flexibility.</p>
<h2>Why are QR Codes used?</h2>
<p>QR Codes can be used to provide tracking information for routing data on a mailing label, contact information on a business card, products in industry, etc. They are also used to grab information from transient media (such as online ads, etc.), store and digitally present this info (can include text, URL, geo coordinates, etc.) and save/upload this information to your cell phone.</p>
<p>Once this information is available in your cell phone, it may provide you with more details about the product/entity that the QR code corresponds to, thus possibly allowing users to search for nearby locations, show website URL, provide contact information, etc. All of this really adds to our convenience and flexibility of providing and accessing information.</p>
<p>QR codes are commonly used in Websites, advertisements, magazine advertisements, on a billboard, a person’s T-shirt, etc.</p>
<h2>How are QR Codes used?</h2>
<p>QR codes can be scanned and intercepted by modern day mobile phones. If you have a modern day Smartphone, chances are high that it can scan and store this QR code. Contact your cell phone manufacturer or refer to your user manual to find out if this feature is available in your cell phone. If it is, then you can simply run supplied software/take a snapshot with the inbuilt camera.</p>
<p>The decoding software built into the mobile phones will take care of interpreting the code, once it is saved into your mobile. If you do not have a decoding software installed, then you may download one for free from <a title="Kaywa QR Codes Reader" href="http://reader.kaywa.com/" target="_blank">Kaywa</a> or <a title="QuickMarks" href="http://www.theextremewebdesigns.com" target="_blank">QuickMarks</a>. You may then share this info with others by means of Bluetooth, etc.</p>
<h5>That&#8217;s it for now!</h5>
<p>Do you know anything else about that you would like to share with us? Please feel free to do so by commenting below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/what-are-qr-codes-why-are-qr-codes-used-how-are-qr-codes-used/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">286</post-id>	</item>
		<item>
		<title>What is WordPress? Why WordPress is used? How to use WordPress?</title>
		<link>https://theextremewebdesigns.com/blog/what-is-wordpress-why-wordpress-is-used-how-to-use-wordpress/</link>
					<comments>https://theextremewebdesigns.com/blog/what-is-wordpress-why-wordpress-is-used-how-to-use-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 21 Jan 2013 01:46:50 +0000</pubDate>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[other-tutorials]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=707</guid>

					<description><![CDATA[Ever wondered What is WordPress? Why WordPress is used? How to use WordPress? In this article, I am going to introduce WordPress to you and answer these questions. Read on to find out more. What is WordPress? WordPress is an open-source, free, web-based software that anyone can use to build and maintain a blog. Of late, WordPress [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Ever wondered <strong>What is WordPress? Why WordPress is used? How to use WordPress?</strong> In this article, I am going to introduce WordPress to you and answer these questions. Read on to find out more.<span id="more-707"></span></p>
<h2>What is WordPress?</h2>
<p>WordPress is an open-source, free, web-based software that anyone can use to build and maintain a blog. Of late, WordPress is also used to build and maintain websites. And because WordPress is open source, it now serves more than just a website or a blog. It is also being used as a “Content Management System” (CMS), thereby enabling full-sized, social media-rich business websites to be built and maintained with relative ease.</p>
<h2>Why WordPress is used?</h2>
<p>Some of the most general reasons are listed below:</p>
<ul>
<li>WordPress was originally intended to be a blogging tool and it later evolved to be a lot more than just a blogging platform. The ability to blog lets you write individual articles on any topic of your choice and exchange views from your visitors in the form of comments. Visitors can also subscribe to your site content using RSS, without having to visit your blog for every article, thereby improving your reader base.</li>
<li>WordPress offers several Search Engine Optimization (SEO) techniques that the search engines love to respond to. Hence it offers a very good opportunity to grow your website&#8217;s reach thereby giving you an excellent opportunity to expand your visitor and customer base.</li>
<li>It&#8217;s very easy to change the look and feel of your WordPress blog/website, without having to write even a single line of code yourself. The WordPress designs are based on “Themes”. These themes are nothing but a collection of webpage layout, CSS and images that let you customize the look and feel of a WordPress site. These page layouts can be created using software such Adobe Fireworks, Adobe Photoshop, etc.</li>
<li>WordPress offers &#8220;User Management&#8221; feature. You can also have others manage your WordPress website for you by assigning them roles and thus, have them add articles, moderate comments and much more. The basic requirement to be able to carry out such tasks is to have an Internet connection and access to the WordPress website, hence it makes it very easy for the WordPress website owner to maintain it personally or have it done by others.</li>
<li>Let&#8217;s you expand the standard functionality of WordPress by allowing you to install &#8220;Plugins&#8221;. The functionality of the plugins can include addition of contact form, shopping cart, e-commerce facilities and a lot more.</li>
</ul>
<h2>How to use WordPress?</h2>
<p>I have written a full-fledged article that explains how to use WordPress with examples. Feel free to <a title="Tutorial: How to WordPress with examples" href="https://theextremewebdesigns.com/blog/how-to-wordpress/" target="_blank">check it out here</a>.</p>
<p>If you would like to own a WordPress website and would like us to help you with it, feel free to <a title="Contact us for WordPress projects" href="http://www.theextremewebdesigns.com/contact_us.php" target="_blank">contact us</a> and we will build a custom WordPress theme that will fit your requirement.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/what-is-wordpress-why-wordpress-is-used-how-to-use-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">707</post-id>	</item>
		<item>
		<title>jQuery AJAX: What, Why and How?</title>
		<link>https://theextremewebdesigns.com/blog/jquery-ajax-what-is-jquery-ajax-why-to-use-jquery-ajax-how-to-use-jquery-ajax/</link>
					<comments>https://theextremewebdesigns.com/blog/jquery-ajax-what-is-jquery-ajax-why-to-use-jquery-ajax-how-to-use-jquery-ajax/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sun, 11 Nov 2012 09:06:26 +0000</pubDate>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[other-tutorials]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=1520</guid>

					<description><![CDATA[Have you been always curious about what is jQuery AJAX, why to use jQuery AJAX and how to use AJAX in jQuery? In this article, I am going to introduce you to the concepts of jQuery AJAX. Read on to find out more. What is jQuery AJAX? Before we start with the definitions and other good [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Have you been always curious about <strong>what is jQuery AJAX, why to use jQuery AJAX and how to use AJAX in jQuery</strong>? In this article, I am going to introduce you to the concepts of jQuery AJAX. Read on to find out more.</p>
<p><span id="more-1520"></span></p>
<h2>What is jQuery AJAX?</h2>
<p>Before we start with the definitions and other good stuff, let&#8217;s take a quick look at what jQuery &amp; AJAX stands for.</p>
<p><strong>jQuery &#8211;</strong> It is a JavaScript framework that helps speed up web development by providing code for most commonly used actions, such as animation, display/hide elements on web page,  etc.</p>
<p><strong>AJAX &#8211;</strong> It stands for Asynchronous JavaScript and XML. &#8220;Asynchronous&#8221; means an action occurring on the page, after it’s loaded.</p>
<h2>Why to use AJAX in jQuery?</h2>
<h3>Why to primarily use AJAX?</h3>
<p>In general sense, when a page is loaded by a web browser, the content remains the same until the user leaves the page or up until he presses the submit button. When AJAX is used, the JavaScript requests new content from the server and makes changes to the current page and displays the new information dynamically. All of this happens within the already loaded page, without having to refresh, submit or redirecting it.</p>
<p>So in short, AJAX is used to load data in the background and display it on the webpage, without reloading the whole page.</p>
<p><strong>Popular examples of applications using AJAX:</strong><br />
Gmail, Twitter Tweets, Facebook Like button, Youtube videos, Google Maps, etc.</p>
<h3>So really, why should you use AJAX in jQuery?</h3>
<p>Using AJAX with jQuery can be a great combination for immensely speeding up the process of web development. Once AJAX is implement, most of the process will be transparent to the user as processing takes place in the background and users will be able to take advantage of the facilities offered, without having to spend more time on page reload, refresh or redirection. So altogether, it will provide rich user experience and save time to your users.</p>
<p>Secondly, writing regular <strong>AJAX</strong> code can be a bit tricky and could get out of control at times. This is because different browsers have different syntax for <strong>AJAX</strong> implementation.So this means that its highly likely that you will end up writing extra code to test for different browsers and eventually end up spending more time. So to avoid this and to make sure that the same code works uniformly across different browsers, jQuery takes care of this automatically and lets us write AJAX functionality with only one single line of code and this code will work evenly across different browsers.</p>
<h3>How to use AJAX in jQuery?</h3>
<p>jQuery provides several methods for AJAX functionality. Using the different AJAX methods, you can request text, HTML, XML, or JSON from a remote server using both HTTP Get and HTTP Post. You can also load external data directly into the selected HTML elements of your web page &amp; show animations in the process to keep the user interested. So before we start diving deep into AJAX, let&#8217;s look at the most important requirement. It is to add the jQuery library to your page. Without it, the AJAX functionality won&#8217;t work.</p>
<h3>Add jQuery to web page:</h3>
<pre class="lang:xhtml decode:true">&lt;script type="text/javascript" src="js/jquery_1.7.1_min.js"&gt;&lt;/script&gt;</pre>
<p>In the above code src points to the physical location of the jQuery core file. I am using a minified version of the jQuery core library and it&#8217;s located in the js folder. This js folder is in turn, located in the root directory of my website. Just update the source and add the above code just above the &lt;/head&gt; tag in your web page and make sure that you download and place the jQuery core file in the js folder. If you would like this to be take care of automatically i.e. if you would like to always include <a title="jQuery Google | jQuery Google Latest – Include latest jQuery from Google/jQuery CDN" href="https://theextremewebdesigns.com/blog/jquery-google-jquery-google-latest-include-latest-jquery-from-google/" target="_blank">latest version of jQuery automatically</a> in your web page, then <a title="jQuery Google | jQuery Google Latest – Include latest jQuery from Google/jQuery CDN" href="https://theextremewebdesigns.com/blog/jquery-google-jquery-google-latest-include-latest-jquery-from-google/" target="_blank">click here</a>.</p>
<p>So now let&#8217;s look at the basic syntax of using <strong>AJAX in jQuery</strong>:</p>
<pre class="lang:js decode:true">$.ajax();</pre>
<p>Are you surprised? Yes, that&#8217;s it for the basic syntax. There are others things that go into it, such as declaration of events, etc. We will be discussing them later in this article. You may have even seen something like this:</p>
<pre class="lang:js decode:true">$.ajax({ });</pre>
<p>Or like this</p>
<pre class="lang:js decode:true">$.ajax({

});</pre>
<p>The above code means that you can split the code as shown and this will have the same effect as the code shown previously. So what would go within the curly braces? Well, that&#8217;s the place where you enter the &#8220;settings&#8221;.  Here is a general representation:</p>
<pre class="lang:js decode:true">$.ajax({
settings,
events
});</pre>
<p>The settings and events are optional. Here&#8217;s a much better example:</p>
<pre class="lang:js decode:true">$.ajax({
cache: false,
type: "POST",
url: "target_url.php",
data: "country=USA&amp;state=Texas",
success: function(response)
{
alert( "Response received: " + response);
}
});</pre>
<p>There are some key points to understand in the above code. Here they are:</p>
<p>cache, type, url, data are individual settings.</p>
<p><strong>cache &#8211;</strong> If the application is static, then cache can be used to cache AJAX calls to speed up the app. But if the data being dealt with is dynamic &amp; can change, then it&#8217;s better to use cache value as false to prevent caching, thereby requesting the accurate results via the calls.</p>
<p><strong>type &#8211;</strong> It indicates the type of request that is being sent i.e. whether if it is $_POST or $_GET or $_REQUEST. The most common forms are $_POST or $_GET.</p>
<p><strong>url &#8211;</strong> It is the the server side processing target file that handles the incoming data, processes it &amp; sends output based on the processing done or as per the coding. It this target file does not exist, then the page will simply not show any response other than 404 &amp; that too in the debugging mode.</p>
<p><strong>data &#8211;</strong> This is the actual data that is being sent to the target url to process. Here Country name &amp; State name are passed for the sake of the example.</p>
<p><strong>success &#8211;</strong> This is an event. This event, as it&#8217;s name suggests, occurs only when the response from the target URL is successfully received without any errors. There are other events such as error, complete that occur upon receiving an error or when the ajax operation is complete.</p>
<p>So this would be your starting point for ajax development understanding  and in understanding how <strong>jQuery html ajax</strong> php etc. can be used together to make a static/dynamic AJAX application. If you want to <strong>learn AJAX</strong> in much more detail, then remember to bookmark our blog and keep visiting it often for updates. You may also opt to subscribe for our emails so that you don&#8217;t miss our next <strong>tutorial on AJAX in jQuery</strong>.</p>
<h4>Your Turn!</h4>
<p>Do you know like this article on <strong>ajax Query</strong>? Feel free to share your thoughts by commenting below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/jquery-ajax-what-is-jquery-ajax-why-to-use-jquery-ajax-how-to-use-jquery-ajax/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1520</post-id>	</item>
		<item>
		<title>WordPress Login: How to login into WordPress for Admin / Users</title>
		<link>https://theextremewebdesigns.com/blog/wordpress-login-how-to-login-into-wordpress-for-admin-users/</link>
					<comments>https://theextremewebdesigns.com/blog/wordpress-login-how-to-login-into-wordpress-for-admin-users/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 10 Nov 2012 17:50:16 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[tutorials-wordpress]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=1506</guid>

					<description><![CDATA[WordPress Login: Did you just install a new WordPress website and now you are wondering how to login into WordPress as an Admin / User for administration purposes? In this short tutorial, I am going to share an easy way to login into WordPress Admin panel as an Admin or as a general user. So read on to [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>WordPress Login:</strong> Did you just install a new WordPress website and now you are wondering how to login into WordPress as an Admin / User for administration purposes? In this short tutorial, I am going to share an <strong>easy way to login into WordPress Admin panel as an Admin or as a general user</strong>. So read on to find out more.<span id="more-1506"></span></p>
<h2>WordPress Login: How to login into WordPress for Admin / Users</h2>
<p>After you have installed your WordPress blog or after it has been setup by your web host/developer, you will need to login into your WordPress Admininstration area (also commonly known as Admin Panel). <strong>So you may login as the site Admin or as a user. The login URL is same for both Admin &amp; a general user.</strong> You can also create other profiles for other users &amp; have them login into the website using the same URL. So from within this Admin Panel, you can write Articles, Posts, Manage plugins, Themes, etc. To login to WordPress admin panel, simply type your website URL in your web browser, followed by wp-admin/. An example is as follows:</p>
<p style="text-align: center;"><strong>http://www.mydomainname.com/wp-admin/</strong></p>
<p style="text-align: center;"><strong><em>where mydomainname.com is your website domain name</em></strong></p>
<p>Once you arrive on the page, you would be greeted with a login page such as this:</p>
<div id="attachment_1507" style="width: 160px" class="wp-caption aligncenter"><a href="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/11/wordpress_login.png" class="broken_link"><img decoding="async" aria-describedby="caption-attachment-1507" class="size-thumbnail wp-image-1507" title="WordPress Login: How to login into WordPress website as Admin / User" alt="WordPress Login: How to login into WordPress website as Admin / User" src="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/11/wordpress_login-150x150.png" width="150" height="150" /></a><p id="caption-attachment-1507" class="wp-caption-text">WordPress Login: How to login into WordPress website as Admin / User</p></div>
<p>Once you arrive see the box as shown above, simply enter your username, password &amp; hit the Log in button. If you have successfully authenticated yourself, you will see your Dashboard.</p>
<ul>
<li>If you would like to know more about <a title="What is WordPress? Why WordPress is used? How to use WordPress?" href="https://theextremewebdesigns.com/blog/what-is-wordpress-why-wordpress-is-used-how-to-use-wordpress/">What is WordPress? Why WordPress is used? How to use WordPress?</a></li>
<li>If you would like to go through the WordPress tutorial to get you started with it, feel free to read my article on <a title="Tutorial: How to WordPress with examples" href="https://theextremewebdesigns.com/blog/how-to-wordpress/">How to WordPress</a> (screenshots included)</li>
</ul>
<p><strong>Simple, isn&#8217;t it?</strong></p>
<p>What do you think of this short <em><strong>WordPress login tutorial</strong></em>? Did you find it easy to follow? Feel free to leave your comments below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/wordpress-login-how-to-login-into-wordpress-for-admin-users/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1506</post-id>	</item>
		<item>
		<title>jQuery Rollover Effects Examples</title>
		<link>https://theextremewebdesigns.com/blog/jquery-rollover-rollover-effects-rollovers-with-jquery-examples/</link>
					<comments>https://theextremewebdesigns.com/blog/jquery-rollover-rollover-effects-rollovers-with-jquery-examples/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 01 Aug 2012 02:06:01 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[jquery-demos]]></category>
		<category><![CDATA[jquery-rollover]]></category>
		<category><![CDATA[jquery-rollover-effects]]></category>
		<category><![CDATA[tutorials-jquery]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=1103</guid>

					<description><![CDATA[Have you been wondering how to achieve rollovers using jQuery? If yes, here&#8217;s a collection of rollovers in jQuery. Rollover effects for different html elements are discussed with examples. Read on to find out more. Examples of Rollover Effects using jQuery Before we move on with the examples, here&#8217;s the basic syntax for rollovers using [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Have you been wondering how to achieve <em><strong>rollovers using jQuery</strong></em>? If yes, here&#8217;s a collection of rollovers in jQuery. <strong>Rollover effects for different html elements</strong> are discussed with examples. Read on to find out more.<span id="more-1103"></span></p>
<h2>Examples of Rollover Effects using jQuery</h2>
<div class="make_demo">

	<form action="https://theextremewebdesigns.com/blog/wp-content/themes/ewd_blog_2017/try_demo.php?post_id=1103" method="post" name="form1" target="_blank" id="form1">


	<input type="hidden" name="shortcode_content" id="shortcode_content" value="" />

        <div class="try_demo_btn_container">


            <button type="submit" name="sbt_make_demo" id="sbt_make_demo" class="btn-primary btn-try-demo">
                Try Demo
            </button>


        </div><!-- .try_demo_btn_container -->

    </form>
    </div>
    
<p>Before we move on with the examples, here&#8217;s the basic syntax for rollovers using jQuery. You can apply the same principle to achieve rollovers for any html elements.</p>
<h3>Basic Syntax for jQuery Rollover using Element&#8217;s ID</h3>
<pre class="lang:js decode:true">$("#element_id").on('hover', function(e) {
//do this
});</pre>
<h3>Basic Syntax for jQuery Rollover using Element&#8217;s class</h3>
<pre class="lang:js decode:true">$(".element_class").on('hover', function(e) {
//do this
});</pre>
<h2>Back to jQuery Rollovers Examples</h2>
<p>Let&#8217;s assume that we have some html elements in our web page. Let&#8217;s look at some rollover examples for these elements. Here&#8217;s the full HTML source code. jQuery code for the rollovers will be provided as we go along.</p>
<h3>Example 1: Rollover Effect using .slideToggle() method in jQuery</h3>
<p>Toggle a Div when you rollover a hyperlink or when it is hovered upon. The hyperlink has a class of &#8220;link&#8221;. This has a rollover effect of &#8220;slow&#8221;. You can also use &#8220;fast&#8221; to speed up the toggle.</p>
<pre class="lang:js decode:true">$(document).ready(function() {

$("a.link").on('hover', function(e) {
$('#my_div').slideToggle('slow');
});

});</pre>
<h3>Example 2: Rollover effect using .hide() in jQuery</h3>
<p>Assuming that you have a div with ID &#8220;my_div&#8221;, you want to hide this Div from display when you rollover a hyperlink with class &#8220;link&#8221;.</p>
<pre class="lang:js decode:true">$(document).ready(function() {

$("a.link").on('hover', function(e) {
$('#my_div').hide();
});

});</pre>
<h3>Example 3: Rollover effect using .show() in jQuery</h3>
<p>If you have followed the Example 2 above, you will notice that when you rollover hyperlink, it hides the div. Now if you want to show that div, you can use the following jQuery code:</p>
<pre class="lang:js decode:true">$(document).ready(function() {

$("a.link").on('hover', function(e) {
$('#my_div').show();
});

});</pre>
<h3>Example 4: Image Rollover effect using jQuery (You must check it out!)</h3>
<p>Here is a <a title="jQuery Image Rollover effect with example" href="https://theextremewebdesigns.com/blog/tutorial-jquery-image-rollover/" target="_blank">jQuery Image Rollover effect with example</a></p>
<h3>Example 5: Multiple Rollover effects combined into a single effect using jQuery</h3>
<p>Let&#8217;s say that we have an input box inside a div. This div has ID &#8220;my_div&#8221;. When the page loads, we want to hide this input &amp; show it when we rollover the div. Here&#8217;s the HTML source code:</p>
<pre class="lang:xhtml decode:true">&lt;div id="my_div" class="my_class" title="My Div title"&gt;This is my div.
&lt;input type="text" name="name" id="name"&gt;
&lt;/div&gt;</pre>
<h4>Rollover Div to show input element using jQuery</h4>
<pre class="lang:js decode:true">$(document).ready(function() {

$('#name').hide();

$("#my_div").on('hover', function(e) {
$('#name').show();
});

});</pre>
<h4>Rollover Div to show hide the input element shown in the above process using jQuery</h4>
<pre class="lang:js decode:true">$("#my_div").mouseleave(function(e) {
$('#name').hide();
});</pre>
<h4>So the combined code for Rollover Div to show and hide the input element using jQuery is:</h4>
<pre class="lang:js decode:true">$(document).ready(function() {

$('#name').hide();

$("#my_div").on('hover', function(e) {
$('#name').show();
});

$("#my_div").mouseleave(function(e) {
$('#name').hide();
});

});</pre>
<div class="make_demo">

	<form action="https://theextremewebdesigns.com/blog/wp-content/themes/ewd_blog_2017/try_demo.php?post_id=1103" method="post" name="form1" target="_blank" id="form1">


	<input type="hidden" name="shortcode_content" id="shortcode_content" value="" />

        <div class="try_demo_btn_container">


            <button type="submit" name="sbt_make_demo" id="sbt_make_demo" class="btn-primary btn-try-demo">
                Try Demo
            </button>


        </div><!-- .try_demo_btn_container -->

    </form>
    </div>
    
<p>Now you might ask a question. Why use mouseleave instead of mouseout! Yes, there is a MouseOut event as well that you can use. But in our case, its not useful. Why? Well, for the scenario mentioned, here&#8217;s the main <strong>difference between mouseleave() and mouseout() in jQuery</strong>:</p>
<p><strong>MouseOut():</strong></p>
<p>When a child element of an element receives focus and we are performing an action on this child element, MouseOut() does not support it. That means when the mouse focus shifts from the parent element to the child element, it acts if the parent element has lost focus, even though you have a child element inside this parent element and the you have a mouseover this child element.</p>
<p><strong>MouseLeave();</strong></p>
<p>When we have a child element inside a parent element and we shift the mouse focus from the parent element to the child element, then the focus state of the parent element is considered to be existing unlike <strong>MouseOut()</strong> that loses focus. In other words, if you have a parent element and you hover the mouse on this, the hover event is triggered and maintained. When you hover over a child element of this parent element, the hover event that was just triggered, is remembered and retained.</p>
<p>So if you do <strong>use mouseout in our example instead of mouseleave</strong> and try out the code, you will notice that when you hover over the div, the input box will show up. But as soon as you hover over the input box and try to click in it to enter something, the input box disappears. And if you do use <strong>mouseleave</strong>, you will see that when you hover over &#8220;my_div&#8221;, it will show the input box and when you hover over the input box, this input box will remain in place and you will be able to click in it &amp; enter something. This input box will remain in view as long as you hover over the parent element or the child element or both. Whereas when you use <strong>MouseOut()</strong>, the input box will remain in view if and only if the parent div is hovered over at all times.</p>
<p>Hope the above comparison helps you in understanding the <strong>difference between mouseleave vs mouseout in jQuery</strong>.</p>
<h5>That&#8217;s it for now!</h5>
<p>Do you know of any other ways to <em><strong>make rollover effects in jQuery</strong></em>? Feel free to suggest by commenting below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/jquery-rollover-rollover-effects-rollovers-with-jquery-examples/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1103</post-id>	</item>
		<item>
		<title>What is jQuery Mobile? Why jQuery Mobile? How to use jQuery Mobile?</title>
		<link>https://theextremewebdesigns.com/blog/jquery-mobile-what-is-jquery-mobile-why-jquery-mobile-how-to-use-jquery-mobile/</link>
					<comments>https://theextremewebdesigns.com/blog/jquery-mobile-what-is-jquery-mobile-why-jquery-mobile-how-to-use-jquery-mobile/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 02 Jun 2012 05:58:20 +0000</pubDate>
				<category><![CDATA[Others]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[jquery-mobile]]></category>
		<category><![CDATA[jquery-tutorials]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=523</guid>

					<description><![CDATA[If you have already heard about jQuery, then your next questions could be: What is jQuery Mobile? Why jQuery Mobile? How to use jQuery Mobile? In this article, I am going to answer these questions. If you do not know what jQuery is, then refer to our easy to understand tutorial on jQuery. What is jQuery [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>If you have already heard about jQuery, then your next questions could be: <strong>What is jQuery Mobile? Why jQuery Mobile? How to use jQuery Mobile</strong>? In this article, I am going to answer these questions. If you do not know what jQuery is, then refer to our easy to understand <a title="What is jQuery? Why jQuery? How to use jQuery?" href="https://theextremewebdesigns.com/blog/what-is-jquery-why-to-use-jquery-how-to-use-jquery/" target="_blank">tutorial on jQuery</a>.<span id="more-523"></span></p>
<h2>What is jQuery Mobile?</h2>
<p><strong>jQuery Mobile</strong> is a JavaScript framework developed by the jQuery team in order to ease up and enhance the development of mobile web applications. This is done with the aid of integration of jQuery, jQuery UI, HTML5 and CSS3 into the framework. This helps keep the framework and the code, clean and organized.</p>
<h2>Why jQuery Mobile?</h2>
<p>Here are some of the top reasons why jQuery Mobile is used:</p>
<ul>
<li>jQuery Mobile is built on top of jQuery core. Hence the learning curve is very minimal for people who are already familiar with jQuery syntax.</li>
<li>jQuery uses minimal scripting for  laying out pages in HTML5 and CSS3.</li>
<li>jQuery Mobile allows to create themes with relative ease.</li>
<li>The code is very scalable and robust thereby automatically scale to any screen.</li>
<li>Its Progressive enhancement approach brings core content and functionality to all mobile, tablet and desktop platforms and a rich, installed application-like experience on newer mobile platforms.</li>
<li>jQuery Mobile boasts of ajax-powered navigation thereby decreasing the amount of time one may need to browse the website.</li>
<li>jQuery Mobile&#8217;s API supports Touch events, Mouse events usually associated with jQuery, making it completely cross-browser and platform compatible.</li>
<li>jQuery Mobile provides animated page transitions for slick transitions and effects that are pleasing to the eye.</li>
<li>jQuery Mobile is lightweight, uses minimal image dependencies and hence it is very fast.</li>
<li>Built in controls are themable by the built in UI and the Touch Optimized interface is completely supported by the UI.</li>
<li>jQuery Themeroller can be used to build custom widget designs.</li>
<li>jQuery Mobile is compatible with all major mobile platforms as well as all major desktop browsers, including iPhone, iOS, Android, Blackberry, Palm, Symbian, Windows Mobile, Opera Mobile/Mini, Firefox Mobile and all modern desktop browsers, etc.</li>
</ul>
<h2>How to use jQuery Mobile?</h2>
<div>
<p>It&#8217;s easy to use jQuery Mobile. Simply <a title="Download jQuery Mobile" href="http://jquerymobile.com/download/" target="_blank">download jQuery Mobile</a> or use the <a title="CDN hosted jQuery Mobile files" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js" target="_blank">jQuery CDN hosted files</a></p>
<p>For detailed articles on how to use jQuery Mobile, you may refer the helpful resources at: <a title="Articles and Resources on jQuery Mobile" href="http://jquerymobile.com/resources/#Articles" target="_blank">jQuery Mobile website</a></p>
<p><strong>That&#8217;s it for now!</strong></p>
<p>Did you like this article on <strong>what jQuery Mobile is, why jQuery Mobile is used and how to use jQuery Mobile</strong>? Post your comments below.</p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/jquery-mobile-what-is-jquery-mobile-why-jquery-mobile-how-to-use-jquery-mobile/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">523</post-id>	</item>
		<item>
		<title>What is PHP? Why PHP is used? How to use PHP?</title>
		<link>https://theextremewebdesigns.com/blog/what-is-php-why-php-is-used-how-to-use-php/</link>
					<comments>https://theextremewebdesigns.com/blog/what-is-php-why-php-is-used-how-to-use-php/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 31 May 2012 19:40:28 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[php-tutorials]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=701</guid>

					<description><![CDATA[In this article, I am going to give an introduction to what PHP is, why to use PHP and how to use PHP. Read on to find out more. What is PHP? PHP stands for PHP: Hypertext Preprocessor. PHP is a free, open source server scripting language (similar to ASP, .NET, etc). Unlike HTML, PHP scripts [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In this article, I am going to give an introduction to <strong>what PHP is</strong>, <strong>why to use PHP and how to use PHP</strong>. Read on to find out more.<span id="more-701"></span></p>
<h2>What is PHP?</h2>
<p><strong>PHP stands for PHP: Hypertext Preprocessor.</strong></p>
<p>PHP is a free, open source server scripting language (similar to ASP, .NET, etc). Unlike HTML, PHP scripts are executed on the server and the final output is displayed on the browser in HTML format. In general, PHP files have the extension &#8220;.php&#8221;,  &#8220;.php3&#8221;, or &#8220;.phtml&#8221;.</p>
<h2>Why PHP is used?</h2>
<p>PHP especially used in web development. The additional feature of PHP is that it can be embedded into HTML. PHP is very to use and supports many databases  such as MySQL, Oracle, Sybase, PostgreSQL, etc., thus making it very robust and efficient. It is also compatible with many servers such as Apache, IIS, etc, thus making it the most widely used server side scripting language.</p>
<h2>How to use PHP?</h2>
<p>In order to use PHP, you can follow any of the following 2 ways:</p>
<ul>
<li>Install Apache (or IIS) on your own server and install PHP.</li>
<li>Buy a web hosting plan with PHP support.</li>
</ul>
<p>Download PHP for free:<br />
<a title="Download PHP" href="http://www.php.net/downloads.php" target="_blank">http://www.php.net/downloads.php</a></p>
<p>Download Apache for free:<br />
<a title="Download Apache" href="http://httpd.apache.org/download.cgi" target="_blank">http://httpd.apache.org/download.cgi</a></p>
<p>I personally use PHP with MySQL database, so you may download MySQL for free:<br />
<a title="Download MySQL" href="http://www.mysql.com/downloads/" target="_blank" class="broken_link">http://www.mysql.com/downloads/</a></p>
<p><strong>Some common applications of PHP are to:</strong></p>
<ul>
<li>Connect databases like MySQL to the Web to store &amp; retrieve data.</li>
<li>Conduct online surveys.</li>
<li>Create graphics dynamically as required.</li>
<li>Process online payments and develop E-Commerce websites.</li>
<li>Serve different content to users based on their IP address, browser, date and time, or numerous other chacteristics.</li>
<li>Read and process XML.</li>
<li>Send mail.</li>
<li>Communicate with other web sites.</li>
</ul>
<p><strong>That&#8217;s it for now!</strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/what-is-php-why-php-is-used-how-to-use-php/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">701</post-id>	</item>
		<item>
		<title>jQuery Image Rollover Effect Example</title>
		<link>https://theextremewebdesigns.com/blog/tutorial-jquery-image-rollover/</link>
					<comments>https://theextremewebdesigns.com/blog/tutorial-jquery-image-rollover/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 30 May 2012 12:09:13 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[jquery-demos]]></category>
		<category><![CDATA[jquery-tips]]></category>
		<category><![CDATA[tutorials-jquery]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=689</guid>

					<description><![CDATA[If you have wondered if it is possible to create a  rollover for an image using jQuery, then the answer to it is: &#8220;Yes&#8221;! In this article by using a simple example, I am going to show you how to use  jQuery to create Image Rollover effect. Example of Image Roll Over Effect Using jQuery [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>If you have wondered if it is possible to create a  rollover for an image using jQuery, then the answer to it is: &#8220;Yes&#8221;! In this article by using a simple example, I am going to show you how to <em><strong>use  jQuery to create Image Rollover effect</strong></em>.<span id="more-689"></span></p>
<h2>Example of Image Roll Over Effect Using jQuery</h2>
<p>Let&#8217;s look at the demo first:</p>
<div class="make_demo">

	<form action="https://theextremewebdesigns.com/blog/wp-content/themes/ewd_blog_2017/try_demo.php?post_id=689" method="post" name="form1" target="_blank" id="form1">


	<input type="hidden" name="shortcode_content" id="shortcode_content" value="" />

        <div class="try_demo_btn_container">


            <button type="submit" name="sbt_make_demo" id="sbt_make_demo" class="btn-primary btn-try-demo">
                Try Demo
            </button>


        </div><!-- .try_demo_btn_container -->

    </form>
    </div>
    
<p><strong>Before Rollover:</strong></p>
<p><a href="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/05/img_default.png" class="broken_link"><img decoding="async" class="aligncenter size-thumbnail wp-image-694" title="jQuery Image Rollover Effect - Before Rollover" alt="" src="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/05/img_default-150x150.png" width="150" height="150" /></a></p>
<p><strong>After Rollover:</strong></p>
<p><a href="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/05/img_roll.png" class="broken_link"><img decoding="async" class="aligncenter size-thumbnail wp-image-695" title="jQuery Image Rollover Effect - After Rollover" alt="" src="https://theextremewebdesigns.com/blog/wp-content/uploads/2012/05/img_roll-150x150.png" width="150" height="150" /></a></p>
<p>For the sake of example, let&#8217;s assume that you have a main &#8220;container&#8221; div that contains both the images i.e the image that needs to be shown by default and the roll over image as well.</p>
<h3>Example: Here is the complete source code</h3>
<pre class="lang:xhtml decode:true">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;jQuery Image Rollover&lt;/title&gt;
&lt;script type="text/javascript" src="js/jquery-1.8.2.min.js"&gt;&lt;/script&gt;
&lt;style type="text/css"&gt;
.container {
width: 300px;
}
&lt;/style&gt;
&lt;/head&gt;

&lt;body&gt;

&lt;div class="container"&gt;
&lt;img src="1.jpg" width="300" height="300" class="img_default"&gt;
&lt;img src="2.jpg" width="300" height="300" class="img_rollover"&gt;
&lt;/div&gt;

&lt;script type="text/javascript" language="javascript" &gt;
$(document).ready(function(){

$('.img_rollover', $(this)).hide();

$('.container').hover(
function() {
$('.img_default', $(this)).hide();
$('.img_rollover', $(this)).show();
},
function() {
$('.img_default', $(this)).show();
$('.img_rollover', $(this)).hide();
}
);

});
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<h5>Simple, isn&#8217;t it?</h5>
<p>Do you know of any other ways to <em><strong>make Image rollover effect using jQuery</strong></em>? Feel free to suggest by commenting below.</p>
<p>P.S:  If you would like to find out how to achieve Image Rollover effect using CSS, then read my article on <a title="CSS Image Rollover with Example" href="https://theextremewebdesigns.com/blog/css-image-rollover-with-example/" target="_blank">CSS Image Rollover with Example</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/tutorial-jquery-image-rollover/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">689</post-id>	</item>
		<item>
		<title>What is CSS3? Why CSS3 is used? How to use CSS3?</title>
		<link>https://theextremewebdesigns.com/blog/css3-what-is-css3-why-css3-is-used-how-to-use-css3/</link>
					<comments>https://theextremewebdesigns.com/blog/css3-what-is-css3-why-css3-is-used-how-to-use-css3/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 26 May 2012 08:57:00 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css-tutorials]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=591</guid>

					<description><![CDATA[If you already know what CSS is, then you must have heard about CSS3. Are you wondering what is CSS3 and why CSS3 is used and how to use CSS3? In this article, I am going to introduce you to basic concepts of CSS3. If you do not know what CSS is, then I suggest [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>If you already know what CSS is, then you must have heard about CSS3. Are you wondering <strong>what is CSS3 and why CSS3 is used and how to use CSS3</strong>? In this article, I am going to introduce you to basic concepts of CSS3.<span id="more-591"></span></p>
<p>If you do not know what CSS is, then I suggest you read my <a title="What is CSS? Why CSS is used? How to use CSS?" href="https://theextremewebdesigns.com/blog/what-is-css-why-css-is-used-how-to-use-css/" target="_blank">article on CSS</a>.</p>
<h2>What is CSS3?</h2>
<p><strong>CSS3 is an extended or enhanced version of CSS2 (the current version) and it is the latest standard used in defining the styles for the different elements of a web page and even more</strong>. This includes animating the elements of a web page, applying different effects such as gradients, shadows and many more. CSS3 is backward compatible. This means that your existing CSS2 styles will remain the same and can be used as is, without any changes.</p>
<p>Basically, CSS3 is split up into &#8220;modules&#8221; to enhance the web page. Some of the most important CSS3 modules are:</p>
<ul>
<li>Animations</li>
<li>Backgrounds and Borders</li>
<li>Selectors</li>
<li>Box Model</li>
<li>2D/3D Transformations</li>
<li>Text Effects</li>
<li>User Interface</li>
<li>Multiple Column Layout</li>
</ul>
<h2>Why CSS3 is used?</h2>
<p><strong>The features, convenience &amp; ease of usage provided by CSS3 are the main advantages</strong>. It lets you make the elements of a web page more dynamic, add life with a decorative touch. For example, before CSS3 to create rounded corners it was mandatory to make use of images and then write more code, both in CSS and HTML to align them as needed. But with introduction of CSS3, it is just a matter of 1-3 lines of code to provide rounded corners without ever using images! Hope this gives you an idea of the raw power of CSS3.</p>
<p>The scope of CSS3 is not limited to just rounded corners. Many other features such as animations, drop shadows, bevel effects, multiple background, gradients, opacity, embedding custom web fonts, etc. are introduced that remove the need to use another piece of software to achieve the same effect. These features can now be achieved by writing very simple and small code in CSS3!</p>
<p><strong>All these features combined,  make the web page and its content load faster and accurate</strong>. Because CSS loads simultaneously with page loading as it is embedded in the web page, there wont be any additional time consumption. For example, without CSS3, to give a rounded corners to a div, images are used. Individual images or sprites could be used for the rounded corners. This means that at the minimum, at least 1 images must be used and can go up to 4 images, depending upon the method chosen to implement these rounded corners. But with CSS3, just 1 line of CSS3 code is enough. To extend this behavior to support other browsers couple of additional lines will be needed. So all in all, CSS3 is a huge time saver and helps load web page faster.</p>
<h2>How to use CSS3?</h2>
<p>There is no change in how you write CSS. The syntax and rule are same. Only declarations will vary.</p>
<p>Here are new CSS3 tricks and their effects:</p>
<p><strong>Rounded Corners to a div:</strong></p>
<pre class="lang:css decode:true">div
{
border: 2px solid red;
border-radius: 10px;
-moz-border-radius: 10px;
}</pre>
<p><strong>Box Shadow:</strong></p>
<pre class="lang:css decode:true">div
{
box-shadow: 5px 5px 2px #333;
}</pre>
<p><strong>Stretch background image to fill content area:</strong></p>
<pre class="lang:css decode:true">div
{
background:url(img_flwr.gif);
-moz-background-size:100% 100%; /* Firefox 3.6 */
background-size:100% 100%;
background-repeat:no-repeat;
}</pre>
<p><strong>Multiple background images for a div:</strong></p>
<pre class="lang:css decode:true">body
{
background-image:url(img_1.jpg), url(img_2.png);
}</pre>
<p><strong>Shadow Effect to text:</strong></p>
<pre class="lang:css decode:true">h1
{
text-shadow: 5px 5px 5px #FF0000;
}</pre>
<p><strong>Word Wrap:</strong></p>
<pre class="lang:css decode:true">p
{
word-wrap: break-word;
}</pre>
<p><strong>Embedding Custom Font:</strong></p>
<pre class="lang:css decode:true">@font-face
{
font-family: MyCustomFont;
src: url('Some_Custom_font.ttf'),
url('Some_Custom_font.eot');
}

h1
{
font-family: MyCustomFont;
}</pre>
<p>The above are some of the common and most used effects. There are many other new features and tricks that can be done using CSS3. This will be the scope of another article, on another day.</p>
<h5>That&#8217;s it!</h5>
<p>Hope this article was able to explain to you <strong>what is CSS3</strong> and <strong>why CSS3 is used</strong> and <strong>how to use CSS3</strong>. Do you know of any other CSS3 effects that you would like to share? Please feel free to do so by commenting below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/css3-what-is-css3-why-css3-is-used-how-to-use-css3/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">591</post-id>	</item>
		<item>
		<title>What is CSS? Why CSS is used? How to use CSS?</title>
		<link>https://theextremewebdesigns.com/blog/what-is-css-why-css-is-used-how-to-use-css/</link>
					<comments>https://theextremewebdesigns.com/blog/what-is-css-why-css-is-used-how-to-use-css/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 25 May 2012 19:28:46 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css-tutorials]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=584</guid>

					<description><![CDATA[Ever heard about CSS andd wondered what is CSS, why CSS is used and how to use CSS. In this article, I will introduce you to the basics of CSS along with its usage.  What is CSS? CSS is the abbreviation for Cascading Style Sheets. It is a file that is included along with a [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Ever heard about CSS andd wondered <strong>what is CSS, why CSS is used and how to use CSS</strong>. In this article, I will introduce you to the basics of CSS along with its usage. <span id="more-584"></span></p>
<h2>What is CSS?</h2>
<p><strong>CSS is the abbreviation for Cascading Style Sheets.</strong></p>
<p><strong>It is a file that is included along with a web page to control it&#8217;s appearance.</strong> In olden days, the styles of an element were defined inline, i.e. whether a heading should appear as bold or if a certain piece of text should appear in red color, etc. The styles let you define how to display HTML elements.</p>
<h2>Why CSS is used?</h2>
<p><strong>The biggest advantage is that using Style Sheets can save a lot of time needed to maintain the styles of each and every element.</strong>  The styles give an excellent control over the appearance of different elements that make up the web page. So whether you want to change the text color or how a form button looks or as a matter of fact, the look of any element of a web page, they can be changed very easily from a centralized location and that is nothing but CSS.</p>
<h2>How to use CSS?</h2>
<p>Although the styles of an element can be specified within the web page directly inline or within the head section of a web page, it is best to include the styles in an external file and this file is the CSS. A CSS rule basically consists of two main parts. One is Selector and the other is a Declaration. There could be a single or multiple Declarations for each rule.</p>
<p><strong>Selector:</strong> Selector refers to the HTML element that needs to be styled. For example: h1, p, div, etc. There are two types of selectors. ID and Class.</p>
<p><strong>Declaration:</strong> A declaration consists of a Property and its corresponding value. They are enclosed in curly braces. Multiple declarations are separated with semi-colons.</p>
<p><strong>Property:</strong> The property is the style attribute you want to change.</p>
<p><strong>Value:</strong> The value can be a numeric value (example: 12 px) or a textual value (example: underline)</p>
<p>Example:</p>
<pre class="lang:css decode:true">div
{
align: center;
color: black;
}</pre>
<p>In the above example, &#8220;div&#8221; is selector. &#8220;align&#8221; and &#8220;color&#8221; are the properties of &#8220;div&#8221;. &#8220;center&#8221; and &#8220;black&#8221; are the corresponding values of the properties. The above method is the most general way of writing CSS for readability purposes. All the code can also be written on a single line (but generally avoided for readability purposes), like this:</p>
<pre class="lang:xhtml decode:true">div { align: center; color: black; }</pre>
<p><strong>ID Selector:</strong></p>
<p>For example:</p>
<pre class="lang:css decode:true">#my_div { align: center; }</pre>
<p><strong>Class Selector:</strong></p>
<p>For example:</p>
<pre class="lang:css decode:true">.my_div { align: center; }</pre>
<p><strong>There are basically 3 ways to insert CSS in a webpage.</strong></p>
<ol>
<li>Inline</li>
<li>Internal Style Sheet</li>
<li>External Style Sheet</li>
</ol>
<h2>Inline:</h2>
<p><strong>Example:  </strong></p>
<pre class="lang:css decode:true">.my_div { align: center; }
&lt;div style="color: #000;  padding-right: 10px"&gt;Some content.&lt;/p&gt;</pre>
<h2>Internal:</h2>
<p><strong>Example:  </strong></p>
<pre class="lang:xhtml decode:true">&lt;head&gt;
&lt;style type="text/css"&gt;
div  { color: black; }
h1 { margin-bottom: 10px; }
&lt;/style&gt;
&lt;/head&gt;</pre>
<h2>External Style Sheet:</h2>
<p><strong>Example:  </strong></p>
<pre class="lang:xhtml decode:true">&lt;head&gt;
&lt;link rel="stylesheet" type="text/css" href="my_styles.css" /&gt;
&lt;/head&gt;</pre>
<p>Hope this article helped you get in touch with <strong>what css is and why css is used</strong>. Different ways of <strong>how to use CSS</strong> are also discussed. So make sure you follow the recommended approach.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/what-is-css-why-css-is-used-how-to-use-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">584</post-id>	</item>
	</channel>
</rss>
