<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-964279350924300279</id><updated>2024-10-24T23:35:13.353-07:00</updated><title type='text'>Web Design Concept</title><subtitle type='html'>Easy - Effective - Essential Web Design Concept.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://e3designconcept.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://e3designconcept.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04987308540289720734</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-964279350924300279.post-3086283038315338592</id><published>2016-12-06T21:11:00.001-08:00</published><updated>2016-12-06T21:16:25.315-08:00</updated><title type='text'>A single website for All types of Internet User: Progressive Enhancement</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=964279350924300279&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;strong style=&quot;color: #ffe599; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; text-align: center;&quot;&gt;&lt;i&gt;Progressive enhancement is about building robust products and being paranoid about availability. It is about asking “if” a lot. That starts even before you think about your interface.&lt;/i&gt;&lt;/strong&gt;&lt;/h3&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;/h2&gt;
&lt;div&gt;
&lt;strong style=&quot;color: #ffe599; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace; text-align: center;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #ea9999; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;1. What is progressive enhancement?&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;
Progressive enhancement means building the interface of a website or application in layers. If the user’s browser only supports HTML they get content and forms. If the user’s browser also supports styles and fonts the application looks better. If it can run JavaScript the user gains extra interactions. Only the core HTML though is required in order to meet users’ basic needs.&lt;br /&gt;&lt;br /&gt;
Obviously there are many places where JavaScript could be seen to be a requirement. It’s hard to imagine intensive web applications like games and online office suites working without JavaScript. Even in these cases though there are possibilities to use progressive enhancement to benefit the user.
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #ea9999; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;2. The Past: Progressive Enhancement is Born&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;
Progressive enhancement has been around since at least 2003. Back then, the web was still transitioning to using CSS instead of table-based layouts. JavaScript was an untamed beast, with exciting power but unpredictable behavior. Progressive enhancement provided an approach that allowed web professionals to deliver content everywhere and still take advantage of newer features where possible.&lt;br /&gt;&lt;br /&gt;
It was during this time that the idea of web “applications” started to become popularized (although nothing actually changed, they’re still just websites). The demand for dynamic pages connected to databases couldn’t be met with JavaScript alone, so server-side application programming became paramount. In a framework like Ruby on Rails, HTML is constructed on the server and then delivered to the client. When you visit a friend’s profile on a social network, for example, the server uses a “profile” template and fills in the blanks (like the person’s name, photo, and so forth). Even with the advent of AJAX towards the middle of the decade, server-side programming still dutifully took requests and delivered the necessary data.&lt;/span&gt;

&lt;br /&gt;
&lt;h4&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=964279350924300279&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: #ea9999; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;3. Markup progressive enhancement&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;
Web technologies and standards have this concept at their very core. Take for example the img element in HTML:
&lt;/span&gt;

&lt;br /&gt;
&lt;blockquote&gt;
&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;table style=&quot;color: black; font-family: &amp;quot;Open Sans&amp;quot;, &amp;quot;segoe ui&amp;quot;, helvetica, arial, sans-serif; font-size: 16.6096px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;xml&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;&amp;lt;img&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #000066;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;threelayers.png&quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt; &lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #000066;&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&quot;Three layers of separation &lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;
          - HTML(structure), 
          CSS(presentation) 
          and JavaScript(behaviour)&quot;&lt;/span&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/blockquote&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=964279350924300279&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=964279350924300279&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=964279350924300279&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;
By adding an alt attribute with a sensible description you now know what this image is supposed to tell you. If it can be loaded and displayed, then you get a beautiful experience. If not, browsers display this text. People who can’t see the image at all also get this text explanation. Search engines got something to index. Everybody wins.
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;
By adding an alt attribute with a sensible description you now know what this image is supposed to tell you. If it can be loaded and displayed, then you get a beautiful experience. If not, browsers display this text. People who can’t see the image at all also get this text explanation. Search engines got something to index. Everybody wins.
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=964279350924300279&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;&lt;span style=&quot;background-color: black; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-family: monospace; font-size: 16.6096px; white-space: pre;&quot;&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;&amp;lt;h1&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: monospace; font-size: 16.6096px; white-space: pre;&quot;&gt;My experience in camp&lt;/span&gt;&lt;span style=&quot;font-family: monospace; font-size: 16.6096px; white-space: pre;&quot;&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;&amp;lt;/h1&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;
This is a heading. It is read out as that to assistive technology, and screen readers for example allow users to jump from heading to heading without having to listen to the text in between. By applying CSS, we can turn this into an image, we can rotate it, we can colour it. If the CSS can not be loaded, we still get a heading and the browser renders the text larger and bold as it has a default style sheet associated with it.
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #ea9999; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;4. XHTML had to die, HTML5 took its place&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style=&quot;color: #ea9999; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;

When XHTML was the cool thing, the big outcry was that it breaks the web. XHTML meant we delivered HTML as XML. This meant that any HTML syntax error – an unclosed tag, an unencoded ampersand, a non-closed quote meant the end user got an error message instead of the thing they came for. Even worse, they got some cryptic error message instead.&lt;br /&gt;&lt;br /&gt;

HTML5 parsers are forgiving. Errors happen silently and the browser tries to fix them for you. This was considered necessary to stop the web from breaking. It was considered bad form to punish our users for our mistakes.&lt;br /&gt;&lt;br /&gt;

If you don’t progressively enhance your solutions, you do the same thing. Any small error will result in an interface that is stuck. It is up to you to include error handling, timeout handling, user interaction like right-click -&amp;gt; open in new tab and many other things.&lt;br /&gt;&lt;br /&gt;

This is what progressive enhancement protects us and our users from. Instead of creating a solution and hoping things work out, we create solutions that have a safety-belt. Things can not break horribly, because we planned for them.&lt;br /&gt;&lt;br /&gt;

Why don’t we do that? Because it is more work in the first place. However, this is just intelligent design. You measure twice, and cut once. You plan for a door to be wide enough for a wheelchair and a person. You have a set of stairs to reach the next floor when the lift is broken. Or – even better – you have an escalator, that, when broken, just becomes a set of stairs.&lt;br /&gt;&lt;br /&gt;

Of course I want us to build beautiful, interactive and exciting experiences. However, a lot of the criticism of progressive enhancement doesn’t take into consideration that nothing stops you from doing that. You just have to think more about the journey to reach the final product. And that means more work for the developer. But it is very important work, and every time I did this, I ended up with a smaller, more robust and more beautiful end product.&lt;br /&gt;&lt;br /&gt;

By applying progressive enhancement to our product plan we deliver a lot of different products along the way. Each working for a different environment, and yet each being the same code base. Each working for a certain environment without us having to specifically test for it. All by turning our assumptions into an if statement. In the long run, you save that way, as you do not have to maintain various products for different environments.&lt;br /&gt;&lt;br /&gt;

We continuously sacrifice robustness of our products for developer convenience. We’re not the ones using our products. It doesn’t make sense to save time and effort for us when the final product fails to deliver because of a single error.&lt;br /&gt;&lt;br /&gt;

&lt;/span&gt;


&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://e3designconcept.blogspot.com/feeds/3086283038315338592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://e3designconcept.blogspot.com/2016/12/a-single-website-for-all-types-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/3086283038315338592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/3086283038315338592'/><link rel='alternate' type='text/html' href='http://e3designconcept.blogspot.com/2016/12/a-single-website-for-all-types-of.html' title='A single website for All types of Internet User: Progressive Enhancement'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04987308540289720734</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-964279350924300279.post-8687277146477132563</id><published>2016-12-06T03:32:00.000-08:00</published><updated>2016-12-06T03:32:12.342-08:00</updated><title type='text'>New Concept of attractive web design : Parallax </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.45em;font-weight: 600;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;The beginning of parallax&lt;/div&gt;

&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
Parallax is a displacement or difference in the apparent position of an object viewed along two different lines of sight, and is measured by the angle or semi-angle of inclination between those two lines. Nearby objects have a larger parallax than more distant objects when observed from different positions, so parallax can be used to determine distances.
Even if that sounds a bit formal, it is the definition of parallax and it was used for the first time in 2D video games where the background images would move slower than the foreground images.
&lt;/div&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.45em;font-weight: 600;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;What Is Parallax Scrolling?&lt;/div&gt;

&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
Parallax scrolling is a visual effect that mimics depth by making the foreground and background elements on a Web page scroll at different speeds. This effect was popularized by video games in which the foreground elements moved at a much faster pace than background scenes, making them seem to pop off the screen. This effect made imagery feel less flat and more three dimensional.&lt;br/&gt;
In Web design, parallax scrolling has a similar effect: as a user scrolls down a page, the images in the background move more slowly than the content in the foreground. This gives the page depth.
&lt;/div&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.45em;font-weight: 600;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;When Is Parallax Scrolling Effective?&lt;/div&gt;

&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
Parallax scrolling is useful for quickly capturing visitors’ attention. If you want to wow your audience, no other design trick quite compares with parallax. Plus, parallax scrolling is very effective in guided storytelling. For example, you can use the parallax effect to help sell your product or service by guiding users through a scrolling story or guide.
&lt;/div&gt;

&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
I am not like conventional teacher. I always believe in workshop. Book knowledge is only 20% and the other 80% is in-hand knowledge. &lt;br/&gt;
So don&#39;t waste much time to read article and just drive into the practical classes. Please check the below link for hands-on tutorial. It&#39;s simple and perfect for beginner. &lt;br/&gt;
&lt;/div&gt;
&lt;a style=&quot;text-align: left;font-size:1.1em;font-weight: 600;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;text-decoration:underline;&quot; href=&quot;https://ihatetomatoes.net/simple-parallax-scrolling-tutorial/&quot;&gt;Simple Parallax Scrolling Tutorial&lt;/a&gt;
&lt;br/&gt;&lt;br/&gt;

&lt;div style=&quot;color:#41B7D8&quot;&gt;&lt;i&gt;Hope it will help you people to start learning a new concept..Follow this blog to get updated about design stuff.&lt;/i&gt;&lt;/div&gt;
&lt;br/&gt;&lt;br/&gt;

</content><link rel='replies' type='application/atom+xml' href='http://e3designconcept.blogspot.com/feeds/8687277146477132563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://e3designconcept.blogspot.com/2016/12/new-concept-of-attractive-web-design.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/8687277146477132563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/8687277146477132563'/><link rel='alternate' type='text/html' href='http://e3designconcept.blogspot.com/2016/12/new-concept-of-attractive-web-design.html' title='New Concept of attractive web design : Parallax '/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04987308540289720734</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-964279350924300279.post-6152835969033654719</id><published>2013-07-03T23:19:00.000-07:00</published><updated>2013-07-03T23:19:12.837-07:00</updated><title type='text'>CSS4 features: new concept of web design</title><content type='html'>&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Still we are learning and implementing CSS3.In the mean time a new CSS version CSS4 come into the picture.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now this is in a conceptual stage. And in the near future it can make web developer&#39;s life easy.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Today I will tell about some beautiful feature of CSS4.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi06kSdOhDqTbevSqKZCePLFQgGmpqaBKfKItMxBM3tDopRi92DAE59QSOsX7wc6VxMELKtjar3q5V8K3jcCwH8exk5Lq2yUbNRq8qnsioUYWXm0Hq2kz_ghN9aQ_Nd-brNjGOKWcPqwqM/s220/CSS4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi06kSdOhDqTbevSqKZCePLFQgGmpqaBKfKItMxBM3tDopRi92DAE59QSOsX7wc6VxMELKtjar3q5V8K3jcCwH8exk5Lq2yUbNRq8qnsioUYWXm0Hq2kz_ghN9aQ_Nd-brNjGOKWcPqwqM/s220/CSS4.jpg&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;color: #ea9999; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;1. THE “PARENT” SELECTOR&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now for selecting parent of an element we need to use javascript or query or other languages. But now we can do that using CSS.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;$ul li: hover&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;background-color: #fff;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Using the above, when hovering a list element, the whole unordered list will be somehow highlighted by adding a white background to it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This property is very much helpful in case of fieldset element. Because in User input from we can change the color of the input row according to the mouse position.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #ea9999; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;2. Matches-Any pseudo-class&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The : matches () CSS4 selector is the standardized version of Mozilla’s : -moz-any () pseudo class. This matches can group many elements to gather and implement the OOPs concept in CSS.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The syntax is like below.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;: matches (section, nav, article, aside) h2&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;font-size: 14px;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Using this CSS the all h2 elements under section, nav, article and aside tag become font-size 14px.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This tag makes CSS file small and compact.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #ea9999; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;3.Location Pseudo-Classes - :any-link and :local-link&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;These pseudo-classes will be used for location-based elements. The :any-link pseudo-class is used for general links, while :local-link is used to identify links targeted within the same host (as opposed to external href&#39;s).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;So if we like to style the link element according to their redirect position then this tag is the only choice for us.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;#nav a:local-link {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;color:blue;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;#nav a:local-link {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;color:red;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Using this style element all the link which redirect to different domain become red color and the link&#39;s which stay in the same domain become blue.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #ea9999; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;4.Linguistic Pseudo-Class - :dir&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;:dir Pseudo-Class idenfy left-to-right and right-to-left text display and you can give your custom style according to that.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;the CSS like below&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;div: dir (ltr) {font-size: 12px;}&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;div: dir (rtl) {font-size: 14px;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Using this CSS all languages which are left-to-right(like English,Spanish,German) becomes font size 12px and the languages which are right-to-left(like Arabic) become font size 14px.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #ea9999; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;5.Other Usefull pseudo-classes of CSS4&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;:valid / :invalid&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;:default&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;:enabled / :disabled&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;:checked&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;:indeterminate&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;:in-range / :out-of-range&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;:required / :optional&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;:read-only / :write-only&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Those above classes are self-explanatory.Still I write a small description about those.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;:valid / :invalid&lt;/span&gt;&lt;/b&gt; - it will check an input it valid or not.And style the element according to that.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;:enabled / :disabled -&lt;/span&gt;&lt;/b&gt; Style element according to their state.If they enable then its design according to the :enable style or it will design as :disabled.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;:checked -&lt;/b&gt;&lt;/span&gt; it will style the element when a checkbox or radio button is checked.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;:indeterminate -&lt;/span&gt;&lt;/b&gt; it&#39;s a special state of the element.Like there is a progress bar.And I did not did not get the grogress information about that element.Then that state is called as indeterminate.And it will design using :indeterminate in CSS4.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;:in-range / :out-of-range -&lt;/span&gt;&lt;/b&gt; if I restrict user to input data between a range then we can style the element as :in-range and :out-of-range to show different style betwwen valid and invalid input.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;:required / :optional -&lt;/span&gt;&lt;/b&gt; this style differentiat between mandatory and optional data.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;:read-only / :write-only -&lt;/b&gt;&lt;/span&gt; this can give different style to read-only field and read-write field.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #ea9999; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;6.New Properties for Borders&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Some new properties for borders are introduced in CSS4. The most obvious one is a border-corner-shape, which allows values curve | bevel | scoop | notch. In addition, there are updates on border-images.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #ea9999; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;7.New cursor values&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;CSS4 define three new cursor values.They are -&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;a) auto-hide - being added to WebKit as -webkit-auto-hide.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;b) grab - supported by Mozilla as -moz-grab&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;c) grabbing - supported by Mozilla as -moz-grabbing&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #ea9999; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;u&gt;8.Touch-action&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The touch-action CSS property determines whether touch input may trigger default behavior supplied by the user agent. This includes, but is not limited to, behaviors such as panning or zooming.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;When a user touches an element, that element&#39;s touch-action property determines the default touch behaviors permitted for that contact, like panning or zooming. The touch behavior is then performed on the nearest ancestor element that is capable of that behavior, unless an intermediate ancestor element specifies that the behavior is not permitted.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Syntax :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6; font-family: Verdana, sans-serif;&quot;&gt;-ms-touch-action: auto | none | [ [ [ pan-x || pan-y || pinch-zoom ? ] | manipulation ] || double-tap-zoom ? ]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;for more details view&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/windows/apps/hh767313.aspx&quot;&gt;&lt;span style=&quot;color: #9fc5e8;&quot;&gt;http://msdn.microsoft.com/en-us/library/windows/apps/hh767313.aspx&lt;/span&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://e3designconcept.blogspot.com/feeds/6152835969033654719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://e3designconcept.blogspot.com/2013/07/css4-features-new-concept-of-web-design.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/6152835969033654719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/6152835969033654719'/><link rel='alternate' type='text/html' href='http://e3designconcept.blogspot.com/2013/07/css4-features-new-concept-of-web-design.html' title='CSS4 features: new concept of web design'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04987308540289720734</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi06kSdOhDqTbevSqKZCePLFQgGmpqaBKfKItMxBM3tDopRi92DAE59QSOsX7wc6VxMELKtjar3q5V8K3jcCwH8exk5Lq2yUbNRq8qnsioUYWXm0Hq2kz_ghN9aQ_Nd-brNjGOKWcPqwqM/s72-c/CSS4.jpg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Kolkata, West Bengal, India</georss:featurename><georss:point>22.572646 88.363894999999957</georss:point><georss:box>22.572646 88.363894999999957 22.572646 88.363894999999957</georss:box></entry><entry><id>tag:blogger.com,1999:blog-964279350924300279.post-9092251163514793483</id><published>2013-05-01T02:58:00.002-07:00</published><updated>2013-05-01T02:58:57.527-07:00</updated><title type='text'>How to Support CSS3 in IE and other IE  Related Tips.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2&gt;
&lt;/h2&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Cambria, serif;&quot;&gt;The main problem of use CSS3 in
website is IE6 to IE8 does not support CSS3 property.But now I will give some
tips so that CSS3 will work fine in IE browsers.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;TIP 1 : (Support CSS3 in IE)&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;Go to this website and download
the package. (www.css3pie.com)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;Here is a small example to
quickly apply css3 border-radius properties,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;Add the PIE.htc in the css
folder,Apply the following styles to your class.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: right; margin-left: 1em; text-align: right;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitsYITo47O1MSgSqyxC5PEEfHbaL7meU-fmW2INO1kGcELZj4bmzKTYq54_aAvF77mOGzJ5PZujmOcjLhDWPjbs1dyXqAx-yIOq4XUVEe4H-NL5oBKW9KJX1KdYjlKP95NMieN4BnoRdU/s1600/IE_Browser.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitsYITo47O1MSgSqyxC5PEEfHbaL7meU-fmW2INO1kGcELZj4bmzKTYq54_aAvF77mOGzJ5PZujmOcjLhDWPjbs1dyXqAx-yIOq4XUVEe4H-NL5oBKW9KJX1KdYjlKP95NMieN4BnoRdU/s320/IE_Browser.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;CSS3 and IE&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;.rounded-corners {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;nbsp;&amp;nbsp;
-moz-border-radius: 20px;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;nbsp;&amp;nbsp;
-webkit-border-radius: 20px;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;nbsp;&amp;nbsp;
border-radius: 20px;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;nbsp;&amp;nbsp;
behavior: url(css/PIE.htc); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;span style=&quot;color: #9fc5e8;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;After the inclusion of this
behaviour property CSS3 tags will work on IE6, IE7, IE8.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;For more details you can visit
www.css3pie.com for detailed examplesand documentation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;TIP 2: (Support Rounded Corner in
IE )&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;We can include a java script file
for rounded corner support in IE.The javascript file name is curvycorners.js .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;This javascript file will work
for those browsers which are not supporting &#39;border-radius&#39; and will
automatically make the divs rounded corner.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;Example of the CSS is&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;#Rounded_Corner {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -moz-border-radius: 10px;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -webkit-border-radius: 10px;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; border-radius: 10px;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;span style=&quot;color: #9fc5e8;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;But to make it working in IE, you
have to include &#39;curvycorners.js&#39; file in your html page.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;lt;script
type=&quot;text/javascript&quot; src=&quot;curvycorners.js&quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;TIP 3: (Support Blink text in IE)&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;IE don&#39;t support &amp;lt;blink&amp;gt;
tag,Javascript function blink() or text-decoration:blink.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;So it&#39;s very difficult to add
blink text in IE browser.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;But I am shareing some tips for
add blink text in IE browser.For that you have to add a javascript inside of
head tag and then write the text inside of &amp;lt;blink&amp;gt; markup.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;Code :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;Add the following javascript
inside head tag.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;function Blink() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;nbsp;var blink =
document.all.tags(&quot;blink&quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;nbsp;for (var count=0; count&amp;lt;blink.length;
count++)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;nbsp;blink[count].style.visibility =
blink[count].style.visibility == &quot;&quot; ? &quot;hidden&quot; :
&quot;&quot; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;span style=&quot;color: #9fc5e8;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;function BlinkStart() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;nbsp;if (document.all)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #9fc5e8; font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&amp;nbsp;setInterval(&quot;Blink()&quot;,500)//The
speed of the blink is 500&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;span style=&quot;color: #9fc5e8;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;And in HTML we have write text
inside a blink markup.Like - &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;span style=&quot;color: #9fc5e8;&quot;&gt;&amp;lt;blink&amp;gt;This text will
blink.&amp;lt;/blink&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;If we want we want to change the
blink markup to anything else.For that in javascript we have write that tag
name.Like&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;span style=&quot;color: #9fc5e8;&quot;&gt;var blink =
document.all.tags(&quot;yourTagName&quot;);&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;Then in HTML&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;span style=&quot;color: #9fc5e8;&quot;&gt;&amp;lt;yourTagName&amp;gt;This text will
blink.&amp;lt;/yourTagName&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Cambria&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin;&quot;&gt;&lt;i style=&quot;background-color: #1c1c1c; color: #41b7d8; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;Thanks for reading this blog.Hope you enjoy it.Follow this blog to get updated about design stuff.&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://e3designconcept.blogspot.com/feeds/9092251163514793483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://e3designconcept.blogspot.com/2013/05/how-to-support-css3-in-ie-and-other-ie.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/9092251163514793483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/9092251163514793483'/><link rel='alternate' type='text/html' href='http://e3designconcept.blogspot.com/2013/05/how-to-support-css3-in-ie-and-other-ie.html' title='How to Support CSS3 in IE and other IE  Related Tips.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04987308540289720734</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitsYITo47O1MSgSqyxC5PEEfHbaL7meU-fmW2INO1kGcELZj4bmzKTYq54_aAvF77mOGzJ5PZujmOcjLhDWPjbs1dyXqAx-yIOq4XUVEe4H-NL5oBKW9KJX1KdYjlKP95NMieN4BnoRdU/s72-c/IE_Browser.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-964279350924300279.post-2206065810208982821</id><published>2013-02-15T12:34:00.001-08:00</published><updated>2013-02-15T12:36:40.056-08:00</updated><title type='text'>HTML5 Local Storage – Complete Guide Tutorial</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #ea9999; font-size: 21px; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;u&gt;TYPES OF WEB STORAGE&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Web Storage is a new HTML5 API offering important benefits over traditional cookies. Although the specification is still in W3C draft status, already all major browsers support it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;This means you can start using the API’s sessionStorage and localStorage objects and enjoy their benefits.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #ea9999; font-size: 21px; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;u &gt;Introduction&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVnX7POPXZN8dZvJWPXFncPadTiWn5A6SjIMMqsPoFVjTFTQYuLBAqX_huNoSzNefQKoxgE64RPAv2CamEu_pxgrXBHgTmM1FR-jQKCdM5I7DIKr8x_DEdjOR2AS8MSK3g64Nc4RHbY1M/s1600/localstorage.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVnX7POPXZN8dZvJWPXFncPadTiWn5A6SjIMMqsPoFVjTFTQYuLBAqX_huNoSzNefQKoxgE64RPAv2CamEu_pxgrXBHgTmM1FR-jQKCdM5I7DIKr8x_DEdjOR2AS8MSK3g64Nc4RHbY1M/s1600/localstorage.jpg&quot; height=&quot;155&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;localStorage is a client-side key-value database, meaning it is stored in the users browser. This means the users data is saved on their machine inside their browser. This also means that their data is only available to them when on that machine and in that browser. Remember that localStorage is per browser not per computer.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #ea9999; font-size: 21px; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;u&gt;The Limitations of Cookies&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;First, there were cookies. They have been a huge driving factor for the Web since the early days. In both a good and a bad way.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;For example, cookies allow us to login automatically to sites we use frequently, such as Gmail and Facebook.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;On the other hand, with cookies, our search and browsing history can be tracked andour privacy is a concern.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Another problem with cookies is that they have data-capacity limitations. The data storage limit of cookies in many web browsers is about 4 KB per cookie, based on a deprecated 1997 specification recommending a minimum of 4096 bytes per cookie.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Although most browsers allow 30 to 50 cookies, so if you exceed the 4 KB limit of one cookie you could create another one, this is still a real limitation.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;This is why developers usually only store user and/or session identifiers in cookies, and then use server-side databases to store and get the rest of the user data.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Additionally, an often-overlooked side effect of cookies is that they are always sent with every HTTP request (usually even for images) resulting in more data being sent over the wire.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #ea9999; font-size: 21px; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;u&gt;Web Storage and its Advantages&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Web Storage picks up where cookies left off. The strength of Web Storage is in at least two things.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;First, ease of use for web developers: It has a simple API to get and set key/value pairs (we will get more into this below).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Secondly, the amount of space it provides: the specs default the disk space quota decision to the user agent (i.e. the web browser developers) and most of them offer no less than 5 or 10 MB to be stored per domain. This means we can store more than just basic user/session info on the client-side: user preference settings, localization data, temporary offline storage for batching server writes and much more.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;The data being stored can be accessed using JavaScript, which gives you the ability to leverage client-side scripting to do many things that have traditionally involved server-side programming and relational databases.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #ea9999; font-size: 21px; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;u&gt;How to Check the browser support for local storage&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;if (Modernizr.localstorage) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; // window.localStorage is available!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;} else {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; // no native support for HTML5 storage :(&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #ea9999; font-size: 21px; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;u&gt;Browser version to Support localstorage&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;As you might expect with any HTML 5 specification older browsers versions and browser with Javascript turned off do not allow this method. The good news is that all modern browsers support it and will continue to do so. The following browsers support HTML 5 Web Storage:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Internet Explorer 8+&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;FireFox 3.5+&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Chrome 4+&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Safari 4+&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Opera 10.5+&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;iOS 2+&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Webkit 2+&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivtyOmyhDiBIJtu7XPTorIkQ4i8QtZBfGgL1Q0oXvntPHMAje4RAy0itj-Zmo0tGHgs-2u3lvHNsO-KocQKsJpzWjWWKkopqzgG9ylMR0dwD_1O9tj6p5LktYMBera27gzQGIrcltI_Ms/s1600/localstorage_browsersupport.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivtyOmyhDiBIJtu7XPTorIkQ4i8QtZBfGgL1Q0oXvntPHMAje4RAy0itj-Zmo0tGHgs-2u3lvHNsO-KocQKsJpzWjWWKkopqzgG9ylMR0dwD_1O9tj6p5LktYMBera27gzQGIrcltI_Ms/s1600/localstorage_browsersupport.jpg&quot; height=&quot;120&quot; width=&quot;550&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #ea9999; font-size: 21px; line-height: 22px;&quot;&gt;&lt;b&gt;&lt;u&gt;localStorage and JSON&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;localStorage is a simple key/value pair database that allows you to store around 5MB of data per domain. Because it doesn&#39;t natively support the storage of JSON objects we will need to serialise our data to store it and deserialise it when we want to use it. Here&#39;s how we get and set our data in localStorage.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;// Store&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;localStorage.setItem(&#39;key&#39;, JSON.stringify( value ));&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;// Fetch&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;value= JSON.parse( localStorage.getItem(&#39;key&#39;));&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;h4&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #ea9999; font-size: 21px; line-height: 22px;&quot;&gt;&lt;u&gt;Primary Methods of localStorage&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;localStorage.clear()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;localStorage.getItem( key )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;localStorage.removeItem( key )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;localStorage.setItem( key, value )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #ea9999; font-size: 21px; line-height: 22px;&quot;&gt;&lt;u&gt;Coding using HTML5localStorage&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Now lets get into some code. Where localStorage differs from cookies or sessionStorage is that the data stored in localStorage is still there even after the browser is closed and is shared across multiple windows. You don’t have to worry about a user deleting the cookies and all their data. A quick note; because of my love for jQuery, I will be using jQuery when using localStorage. However, jQuery is not required to do any of this, I just like how clean it makes everything look. First lets see a simple example of using localStorage.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;localStorage.setItem(&quot;name&quot;, &quot;Amit!&quot;); //saves to the database, key/value&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;document.write(localStorage.getItem(&quot;name&quot;)); //Amit!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;localStorage.removeItem(&quot;name&quot;); //deletes the matching item from the database&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Can’t get much easier then that. Line 1 saves a new entry in the local database with the key of ‘name’ and the value of ‘Amit!’. That pair is now stored in your browsers database. Line 2 gets the item from the database with the key of ‘name’. In this case would then return ‘Amit!’. In line 3 we remove the item from the database. Due to browser specific quotas you would want to check for exceptions so you would change line 1 above to the following.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;try {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;localStorage.setItem(&quot;name&quot;, &quot;Amit!&quot;); //saves to the database, &quot;key&quot;, &quot;value&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;} catch (e) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (e == QUOTA_EXCEEDED_ERR) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alert(&#39;Quota exceeded!&#39;); //data wasn&#39;t successfully saved due to quota exceed so throw an error&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;You might also want to check to see if the users browser even supports localStorage and if it doesn’t we can warn them. Now the code above would look like this:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;if (!Modernizr.localstorage )// or you can check like this typeof(localStorage) == &#39;undefined&#39; )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; alert(&#39;Your browser does not support HTML5 localStorage. Try upgrading.&#39;);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;} else {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; try {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; localStorage.setItem(&quot;name&quot;, &quot;Amit!&quot;); //saves to the database, &quot;key&quot;, &quot;value&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; } catch (e) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (e == QUOTA_EXCEEDED_ERR) {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;alert(&#39;Quota exceeded!&#39;); //data wasn&#39;t successfully saved due to quota exceed so throw an error&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; document.write(localStorage.getItem(&quot;name&quot;)); //Amit!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp; &amp;nbsp; localStorage.removeItem(&quot;name&quot;); //deletes the matching item from the database&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #3d85c6; font-size: 21px; line-height: 22px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #ea9999; font-size: 21px; line-height: 22px;&quot;&gt;&lt;u&gt;How to check local storage key-value using firebug tools&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;1.Press F12 or open your browser firebug.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;2.Go to the DOM tab&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;3.scroll down to and expand localStorage&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;4.Expand the localStoragetab.Now you can see all the key-value saved in the localStorage.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;5.right click item you wish to delete or edit and do whatever you want.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;If your using Safari or Chrome then you have a much better option. You are able to view these databases directly in the developer tools. Opening the Developer Tools you will notice the last item is Databases, clicking this will show you all databases, localStorage and sessionStorage info.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;color: #ea9999; font-size: 21px; line-height: 22px;&quot;&gt;&lt;u&gt;Practical uses of localstorage&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;Now we know about the local storage. But the main question is where we’ll use this. The answer of this question is not universal and it depends upon the requirements and type of projects.I can give you some example where localstorage can be useful.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;1. In multipage registration form you can store partial data in the localstorage. When user click on the submit button then you will take the value from localstorage and save it in database.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;It will decrease the number of server call and unwanted entry in the database to make your application faster.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&amp;nbsp;2. In shopping cart you can use local storage. You can store the shopping cart items in the localstorage first. When the user checkout the shopping cart then you will save the important data in the database. This will also decrease the number of server call and unwanted entry in the database to make your application faster.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman, serif;&quot;&gt;&lt;span style=&quot;font-size: 21px; line-height: 22px;&quot;&gt;3. In the previous article I’ve already discussed about the offline application in HTML5 and localstorage will play a key role in that aspect. When web application is offline we can store all the data in localstorage and when application becomes online we can store those data from localstorage to database.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
&lt;span style=&quot;color: #93c47d; font-family: Arial, Helvetica, sans-serif; font-size: large; font-weight: normal;&quot;&gt;&lt;i&gt;Thanks for reading this blog.Hope you enjoy it.Follow this blog to get updated about design stuff.&lt;/i&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://e3designconcept.blogspot.com/feeds/2206065810208982821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://e3designconcept.blogspot.com/2013/02/html5-local-storage-complete-guide.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/2206065810208982821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/2206065810208982821'/><link rel='alternate' type='text/html' href='http://e3designconcept.blogspot.com/2013/02/html5-local-storage-complete-guide.html' title='HTML5 Local Storage – Complete Guide Tutorial'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04987308540289720734</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVnX7POPXZN8dZvJWPXFncPadTiWn5A6SjIMMqsPoFVjTFTQYuLBAqX_huNoSzNefQKoxgE64RPAv2CamEu_pxgrXBHgTmM1FR-jQKCdM5I7DIKr8x_DEdjOR2AS8MSK3g64Nc4RHbY1M/s72-c/localstorage.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-964279350924300279.post-131200327832882708</id><published>2013-01-24T03:59:00.000-08:00</published><updated>2013-01-29T08:33:55.939-08:00</updated><title type='text'>HTML5 Offline Web Applications: How to make website run offline</title><content type='html'>&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #cccccc; font-size: x-large;&quot;&gt;HTML5 Offline Website :&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdGrWJYpHkueDaPBm_SxK-rGFCfqaBV0z3idzpU2B8J4seuS7aZO7jhR81QnWGFMpM14iIkW8oj1-ClTlOFcWYVXsdo3GHFn824GhC5mfr8fyasakB1pcnRug_pL_OXbOUeO2ME59GOYo/s1600/HTML5.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdGrWJYpHkueDaPBm_SxK-rGFCfqaBV0z3idzpU2B8J4seuS7aZO7jhR81QnWGFMpM14iIkW8oj1-ClTlOFcWYVXsdo3GHFn824GhC5mfr8fyasakB1pcnRug_pL_OXbOUeO2ME59GOYo/s1600/HTML5.png&quot; height=&quot;320&quot; width=&quot;274&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Today I am going to discuss about a magic of HTML5.Can you ever imagine that your website is running offline i.e without internet connection. You are thinking that I am joking with you. But now it&#39;s possible to make a website run offline using HTML5 application cache. If you can give 15 min to read this blog,then I assure you that you can create offline application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;The application cache is controlled by a plain text file called a manifest, which contains a list of resources to be stored for using when there is no network connection. The list can also define the conditions for caching, such as which pages should never be cached and even what to show the user when he follows a link to an &amp;nbsp;uncached &amp;nbsp;page.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;If the user goes offline but has visited the
site while online, the cached resources will be loaded so the user can still
view the site in a limited form. By carefully considering the contents of your
manifest file, you can offer a suitable web experience to a disconnected user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;I don&#39;t like much more theory so let us come to the point and follow the step to create your first offline application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;&lt;u&gt;Step - 1(Define the manifest file)&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Define the manifest file in your page HTML
so the browser understand this website have a offline application cache file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;!DOCTYPE HTML&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;HTML
manifest=&quot;/cache.manifest&quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;body&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;/body&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;lt;/HTML&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;Step – 2 (Set&amp;nbsp; content type)&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Your cache manifest file can be located
anywhere on your web server, but it must be served with the content type
text/cache-manifest.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Then the question may arise how to define the content type.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;For Apache-based web server, you can
probably just put an AddType directive in the .htaccess file at the root of
your web directory:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;AddType text/cache-manifest .manifest&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;span lang=&quot;EN-US&quot;&gt;For IIS7 server you can define content type
using web.config file.&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&amp;lt;?xml version=&quot;1.0&quot;
encoding=&quot;UTF-8&quot;?&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&amp;lt;configuration&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;system.webServer&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;staticContent&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;remove fileExtension=&quot;.manifest&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;mimeMap
fileExtension=&quot;.manifest&quot; mimeType=&quot;text/cache-manifest&quot;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/staticContent&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&amp;lt;/system.webServer&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;b&gt;&amp;lt;/configuration&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;From these two steps now your browser can know that you have an offline application cache and browser can access that file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;But nothing is stored yet.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;Step - 3 (Creating a Manifest File)&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;The first line of every cache manifest file is:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;CACHE MANIFEST&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Let’s start with an example of a full
manifest file.I will discuss each of the part below.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: right;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;CACHE MANIFEST&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;# This is a comment&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;CACHE:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/css/style.css&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/js/jquery.js&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/img/logo.png&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;http://abc.com/stylesheet.css&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;FALLBACK:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/ /offline.html&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;NETWORK:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;*&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;So it have mainly 4 sections.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #cccccc;&quot;&gt;1.Comment section -&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
The comment section is
for write the version number of the manifest file. It&#39;s not only for your
reference but also it has a great impact. I will discuss that later.&lt;br /&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #cccccc;&quot;&gt;2.CACHE Section -&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;The CACHE section is
considered the default — i.e., if no section heading has been defined, the
browser will assume this is the CACHE section. Beneath this heading, you can
list URIs to resources you want the browser to download and cache for offline
use, including URIs hosted externally.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Like&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;CACHE MANIFEST&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/css/style.css&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/js/jquery.js&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/img/logo.png&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;http://abc.com/stylesheet.css&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Every single resource that you want to cache
explicitly should be listed here, right down to the last image. The browser is
not aware of a resource unless you provide the full path to it. This means you
can’t use wildcards. If you list /images/* as a resource, the browser will
request that URI as if you typed it into your address bar.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;But don’t run off and store URIs for every
single page on your site into your manifest. When a user visits a page that
points to the manifest file, that page will also be cached. This means that if
you want to allow users access to pages they’ve already viewed, just make those
pages point to the manifest file and the browser will cache them appropriately.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #cccccc;&quot;&gt;3.FALLBACK Section -&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;There is one more type
of section in a cache manifest file: a fallback section. In a fallback section,
you can define substitutions for online resources that, for whatever reason,
can’t be cached or weren’t cached successfully. The HTML5 specification offers
this clever example of using a fallback section:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;CACHE MANIFEST&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;FALLBACK:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;/ /offline.html&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;NETWORK:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;*&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Now look at the fallback section. The
fallback section in this cache manifest only has a single line. The first part
of the line (before the space) is not a URL. It’s really a URL pattern. The
single character (/) will match any page on your site, not just the home page.
When you try to visit a page while you’re offline, your browser will look for
it in the appcache. If your browser finds the page in the app-cache (because
you visited it while online, and the page was implicitly added to the app-cache
at that time), then your browser will display the cached copy of the page. If
your browser doesn’t find the page in the app-cache, instead of displaying an
error message, it will display the page /offline.html, as specified in the
second half of that line in the fallback section.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #cccccc;&quot;&gt;&lt;b&gt;4.NETWORK Section -&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;Finally, we have the
NETWORK section, used to tell the browser explicitly which resources are only
available while online. By default, this uses the asterisk * symbol, meaning
all resources that are not cached will require a connection. Alternatively we
can whitelist specific url prefixes, like all the avatars if we wish.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;CACHE MANIFEST&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;NETWORK:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;*&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;You can explicitly define resources not to
cache by providing a list of URIs — essentially a whitelist of online-only
assets.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;CACHE MANIFEST&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;NETWORK:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;registration.php&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;payment.php&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;So now registration.php and payment.php page shown to the user only when they are online and those pages are never store in appcache.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
Now your offline application is ready but I&#39;ll discuss some question and their respective answers to make this topic more clear.&lt;/div&gt;
&lt;div style=&quot;color: #da9a03;&quot;&gt;
&lt;h4&gt;

&lt;span lang=&quot;EN-US&quot;&gt;1.What will happened if I add/remove/modify
one or more file names in the cache or other section of Manifest file ?&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Answer: If we change any thing in the
Manifest file then the browser again remove all the files from cache and again
download all the files in appcache.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;When we request for a page at first browser
check the Manifest file. If there is no change then it does nothing but if
there is any change then the browser again download all the files from server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #da9a03;&quot;&gt;
&lt;h4&gt;

&lt;span lang=&quot;EN-US&quot;&gt;2.What will happened if I didn&#39;t change the
Manifest file but change the files which are mention in the Manifest file?&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Answer: This is a very interesting question.
If we didn&#39;t change the Manifest file then browser doesn’t understand any
change and it will not fetch the file from server to render.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;
But as I change the file content so it&#39;s not reflecting my change in browser. To solve this problem concept of &quot;Comment Section&quot; has to be introduced.&lt;br /&gt;
In that section we mention a version number of Manifest file. So if we wanna change any pages which are listed in the Manifest file then we have to just change the version number.&lt;br /&gt;
So now when browser check the Manifest file it observes the change and load the content of the manifest file again from server. So our problem is solved. Change will reflect to the browser.. :)&lt;br /&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #da9a03;&quot;&gt;
&lt;h4&gt;

&lt;span lang=&quot;EN-US&quot;&gt;3.What will happen if I write one of the file path wrongly in Manifest file or one of the resource fails to download properly?&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Answer:&amp;nbsp;
if even a single resource listed in your cache manifest file fails to
download properly, the entire process of caching your offline web application
will fail. Your browser will fire the error event, but there is no indication
of what the actual problem was. This can make debugging offline web
applications even more frustrating than usual.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #da9a03;&quot;&gt;
&lt;h4&gt;

&lt;span lang=&quot;EN-US&quot;&gt;4.Now the main question: which browsers are supporting HTML5 offline application feature?&lt;/span&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Answer: The AppCache feature is supported by
almost all modern browsers, such as Firefox, Chrome and Safari. Unfortunately,
Internet Explorer 9 does not support this feature.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #41b7d8;&quot;&gt;
&lt;i&gt;Thanks for reading this blog.Hope you enjoy it.Follow this blog to get updated about design stuff.&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;Standard&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://e3designconcept.blogspot.com/feeds/131200327832882708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://e3designconcept.blogspot.com/2013/01/html5-offline-web-applications-how-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/131200327832882708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/131200327832882708'/><link rel='alternate' type='text/html' href='http://e3designconcept.blogspot.com/2013/01/html5-offline-web-applications-how-to.html' title='HTML5 Offline Web Applications: How to make website run offline'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04987308540289720734</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdGrWJYpHkueDaPBm_SxK-rGFCfqaBV0z3idzpU2B8J4seuS7aZO7jhR81QnWGFMpM14iIkW8oj1-ClTlOFcWYVXsdo3GHFn824GhC5mfr8fyasakB1pcnRug_pL_OXbOUeO2ME59GOYo/s72-c/HTML5.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-964279350924300279.post-4661635037486212448</id><published>2013-01-16T08:49:00.000-08:00</published><updated>2013-01-16T08:55:19.630-08:00</updated><title type='text'>How to make website faster</title><content type='html'>&lt;div style=&quot;font-size: 1.10em;&quot;&gt;
&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
The most important thing of a website is it&#39;s load time. Because if a user click on a URL and it take too long time to render then the user get bored and close the site,it&#39;s happen with everyone. But we focus most of our time for functional and UI developments. 
So our all  efforts  waste if user got bore by the loading time and didn&#39;t open out website.
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
Now I will discuss about some basic tips for making your  website fast and it&#39;s very easy, just need some care when developing a website.
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
1.Minimise HTTP Requests :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
About 70-80% of the end user response time is spent on HTTP Requests. So it&#39;s very much important to minimise http requests.
&lt;br /&gt;
Each unique object in a web page requires a round trip to the server, that is, an HTTP request and a reply. So we need to remove all the unnecessary objects from the page for less http requests and make our site faster. Some other very easy way to minimise http request describe below :-
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1em; font-weight: 500; margin-left: 60px; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
a)&lt;u&gt;Combine CSS style&lt;/u&gt; – 
&lt;span style=&quot;font-weight: 400;&quot;&gt;if we have more than one css file included in the page then we need more than one http request to load the style element.So we can combine all the css style to a single external file then only one http request is needed to load the style element of the page.&lt;/span&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1em; font-weight: 500; margin-left: 60px; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
b)&lt;u&gt;Use Image map instead of separate image&lt;/u&gt; – 
&lt;span style=&quot;font-weight: 400;&quot;&gt;A web page contain lots of small and medium size images.So if we have total 20 images in our web-page then 20 http requests generate to load the images.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight: 400;&quot;&gt;But if we combine all the 20 images into a single image and use the image-position attribute to show the particular part of the image then only one http request need to load the all images.&lt;/span&gt;&lt;br /&gt;

&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1em; font-weight: 500; margin-left: 60px; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
c)&lt;u&gt;Convert graphical text to styled text&lt;/u&gt; -
&lt;span style=&quot;font-weight: 400;&quot;&gt;generally we used graphical text for header or menu item styles. But we use css text instead of graphical text it will be a good process to reduce http request.&lt;/span&gt;&lt;br /&gt;
And it&#39;s no need to say that remove all unnecessary and duplicate calls from your website.. :)&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
You can check HTTP request by using firebug.The picture is given below 
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDJ65j6RkGT8Q0-A_RBtrWIOJ76aCLqVVeG2SfOvS4I7Blu1guPg7vAe7GfMXJ6PXgTc7OcHf7yDnX_kWQtF41cz7KIKzVft8bYp24we2f-1GfbysLWq4xNNrCLuyuiDErvnMt8PbIw-4/s1600/Http_request.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDJ65j6RkGT8Q0-A_RBtrWIOJ76aCLqVVeG2SfOvS4I7Blu1guPg7vAe7GfMXJ6PXgTc7OcHf7yDnX_kWQtF41cz7KIKzVft8bYp24we2f-1GfbysLWq4xNNrCLuyuiDErvnMt8PbIw-4/s400/Http_request.png&quot; height=&quot;288&quot; width=&quot;500&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
2.Use Inline Image :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
Often we keep all images in a folder and call specific image from the page every time when need. But we can use Inline Images for small and medium size images. It save time and make our site faster.
This is called &#39;Data URL&#39;.
&lt;br /&gt;
&lt;br /&gt;
Data URLs use the following syntax:
&lt;br /&gt;
data:[mimetype][;base64],[data]
&lt;br /&gt;
&lt;br /&gt;
Let we have a image and we want to embed that to HTML document. Then at first we need to convert that image to inline image. There are many online free tools for converting image to Inline image then use that inline image  to the  src tag of the image.
&lt;br /&gt;
The image tag look like
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;img width=&quot;7&quot;  height=&quot;7&quot; title=&quot;delete_image&quot; alt=&quot;delete image&quot; src=&quot;data:image/gif;base64,R0lGODlhBwAHAHAAACH5BAEAAPwALAAAAAAHAAcAhwAAAAAAMwAAZgAAmQAAzAAA/wArAAArMwArZgArmQArzAAr/wBVAABVMwBVZgBVmQBVzABV/wCAAACAMwCAZgCAmQCAzACA/wCqAACqMwCqZgCqmQCqzACq/wDVAADVMwDVZgDVmQDVzADV/wD/AAD/MwD/ZgD/mQD==&quot; /&amp;gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Online Free tool is:&lt;br /&gt;
&lt;a href=&quot;http://websemantics.co.uk/online_tools/image_to_data_uri_convertor/&quot; style=&quot;cursor: pointer;&quot;&gt;http://websemantics.co.uk/online_tools/image_to_data_uri_convertor/&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
you can get more details from:&lt;br /&gt;
&lt;a href=&quot;http://dataurl.net/&quot; style=&quot;cursor: pointer;&quot;&gt;http://dataurl.net&lt;/a&gt;

&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
3.Use Content Delivery Network(CDN) :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
In previous days one website run from one server and all it&#39;s content located from that same server. But now the expectation of the end user increase and we need more fast site. So now we need to distribute the files and load across multiple systems.
&lt;br /&gt;
For cost reason it&#39;s not possible to use own CDN for start-up companies and private website. But the big companies like yahoo, google, facebook use their own CDN.
&lt;br /&gt;
For the private and start-up companies, there are a number of free CDNs offered by Google, Microsoft, Yahoo and other large web organisations. For example, few people host their own videos when YouTube and Vimeo offer amazing free services. Similarly, if you require jQuery, you can load it on any page using:
&lt;br /&gt;
&lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js.js&quot;&gt;&lt;/script&gt;

you can get more details of CDN from
&lt;br /&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Content_delivery_network&quot; style=&quot;cursor: pointer;&quot;&gt;http://en.wikipedia.org/wiki/Content_delivery_network&lt;/a&gt;

&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm_UwUYptwmYfQwZcs5Q3fBEyfAYNL-mv6KpKNO_vtC157PbTBUMH1VtfAR2yxPrKDmrlK5EdPut2x4Bc_9MsntmCFqqlP6d3EbEv3hPiYLS7KVIayALB4hGbZTHjgJ4QYKKilIKDJO0c/s1600/content-delivery-network.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm_UwUYptwmYfQwZcs5Q3fBEyfAYNL-mv6KpKNO_vtC157PbTBUMH1VtfAR2yxPrKDmrlK5EdPut2x4Bc_9MsntmCFqqlP6d3EbEv3hPiYLS7KVIayALB4hGbZTHjgJ4QYKKilIKDJO0c/s400/content-delivery-network.jpg&quot; height=&quot;287&quot; width=&quot;500&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
4.Gzip Components :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
The components of your web page came to the browser  from the server through the http requests.
So bigger the file size it took longer time to download in browser. So if we Gzip all the server components then the size of the components reduce and it took less time to download and render in the browser.

&lt;br /&gt;
&lt;br /&gt;
Now the question may come how we Gzip the components
&lt;br /&gt;&lt;br /&gt;
For  IIS server we need to follow the following steps described in the  TechNet document

&lt;br /&gt;
&lt;a href=&quot;http://technet.microsoft.com/en-us/library/cc771003%28WS.10%29.aspx&quot; style=&quot;cursor: pointer;&quot;&gt;http://technet.microsoft.com/en-us/library/cc771003%28WS.10%29.aspx&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
and for Apache server we need to add the following code to the .htaccess file
&lt;br /&gt;
&lt;br /&gt;
# compress text, HTML, JavaScript, CSS, and XML&lt;br /&gt;
AddOutputFilterByType DEFLATE text/plain&lt;br /&gt;
AddOutputFilterByType DEFLATE text/html&lt;br /&gt;
AddOutputFilterByType DEFLATE text/xml&lt;br /&gt;
AddOutputFilterByType DEFLATE text/css&lt;br /&gt;
AddOutputFilterByType DEFLATE application/xml&lt;br /&gt;
AddOutputFilterByType DEFLATE application/xhtml+xml&lt;br /&gt;
AddOutputFilterByType DEFLATE application/rss+xml&lt;br /&gt;
AddOutputFilterByType DEFLATE application/javascript&lt;br /&gt;
AddOutputFilterByType DEFLATE application/x-javascript&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# remove browser bugs&lt;br /&gt;
BrowserMatch ^Mozilla/4 gzip-only-text/html&lt;br /&gt;
BrowserMatch ^Mozilla/4\.0[678] no-gzip&lt;br /&gt;
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html&lt;br /&gt;
Header append Vary User-Agent&lt;br /&gt;
&lt;br /&gt;
After you&#39;ve saved your .htaccess file, test your site again in GTmetrix.com to make sure it has been properly compressed and also analyze  the performance of your website.  

&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
5.Put Stylesheets at the Top and jquery at bottom :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
Always need to put style sheets at the top of the page before scripts and other html object elements.
Because in that case which part of the page render ,that render with proper alignment and style. That is very important specially for the slow internet user or the page with lot&#39;s of heavy components.
&lt;br /&gt;
For jquery we need to add the bottom of the page. Because at first the user need to see the components of the page. So it&#39;s completely all right if the jquery effect come little bit late to the web-page.
&lt;br /&gt;
But some exceptional case may happened when we add html elements using jquery or add some handler to page. I will discuss about these conditions later.
&lt;br /&gt;
The structure of page should be 
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=”Content-Type” content=”text/html” charset=UTF-8”&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;title of the page&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;link href=”css/style.css” rel=”stylesheet” media=”all” &amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
…............&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=”text/javascript” src=”js/jquery.js”&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;

&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
6.Add Cache-Control Headers :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
Cache-Control plays a vital role in terms of the speed of the website.
&lt;br /&gt;
If we save the static data in  the Cache then it will take very less time to render when your return to that web-page.
&lt;br /&gt;
&lt;br /&gt;
Read the details of Cache-Control from
&lt;br /&gt;
&lt;a href=&quot;http://www.mnot.net/cache_docs/&quot; style=&quot;cursor: pointer;&quot;&gt;http://www.mnot.net/cache_docs/&lt;/a&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
7.Use External CSS and Jquery Files :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
For faster response we need to use external javascript and css files. Because in that case only once the files are loaded and cached in the browser.
&lt;br /&gt;
for other pages to be render we don&#39;t need to generate any http request to server for style or script elements.
&lt;br /&gt;
Also it decrease the size of the html file so it look less time to download from server and render quickly in browser.
&lt;br /&gt;
But it also have some exception.Like if my home page is very simple and not same with the other pages of my site. And the other pages contains lots of jquery,css effects.
&lt;br /&gt;
Then if we use external css and jquery at the time of load the home page. Then it took very long time to render first time and we need to remember that more than 60% user click our site with no cache in browser.
&lt;br /&gt;
So in that case if we use inline or page level css in home page and use post-load components to load the external files for other pages will be a good practise.
&lt;br /&gt;
we can use a settimeout function in this case in the bottom document.ready function to load the external css and jquery for other pages. So our home page will render first and when the browser is idle then it call the server to load  the external css and jquery.
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
8.Put defer attribute in script :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
In HTML, the script element allows developer to include dynamic script in their documents. The defer attribute is Boolean attribute that indicates how the script should be executed. If the defer attribute is present, then the script is executed when the page has finished parsing.
&lt;br /&gt;
&lt;br /&gt;
Example :
&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
//do stuff (runs first)&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script defer=&quot;defer&quot;&amp;gt;&lt;br /&gt;
//do stuff, but defer it  (runs last)&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
//do more stuff (runs second)&lt;br /&gt;
&amp;lt;/script&amp;gt;
&lt;br /&gt;
&lt;br /&gt;
So now we can define script any where in the page but with defer attribute we can ensure that the script will execute at the last.Is that not interesting?

&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
9.Remove Duplicate Scripts :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
It sound very funny that remove duplicate script. You may thing that way I add duplicate script in my page.
&lt;br /&gt;
A review of the ten top U.S. web sites shows that two of them contain a duplicate script. I think the main reason behind it that if we add the script in page label then it may possible that we add the same script in the two separate page.
&lt;br /&gt;
But when if your visit both of the page then he find one duplicate script because script is cache in the browser.
&lt;br /&gt;
Another reason I can say if I add script in master page. But in any child page it didn&#39;t work properly then for quick fix may we add a script file to that page.
&lt;br /&gt;
The solution of this problem includes all the script file in master page and no separate script file included in page label.
&lt;br /&gt;
&lt;br /&gt;
An alternative in PHP would be to create a function called insert Script.
&lt;br /&gt;
&amp;lt;?php insertScript(&quot;menu.js&quot;) ?&amp;gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
10.No 404(Element or Page not found) in the page :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
If http request goes to the server for requesting some component and the element not present in that particular position then 404 error happened. It is totally unnecessary and will slow down the user experience without any benefit.
&lt;br /&gt;
So we need to ensure that there no 404&#39;s in the page. We can check that using firebug in the browser.

&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
11.Use GET Request in Ajax call :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
We use ajax request from the page to get content load faster to the page. As ajax is asynchronous  then it loads faster.
&lt;br /&gt;
But POST is implemented in the browsers as a two-step process: sending the headers first, then sending data. So it&#39;s best to use GET, which only takes one TCP packet to send.
&lt;br /&gt;
Again there are lot&#39;s of controversy like from GET have a fixed URL length and it less safe than post.&lt;br /&gt;
So we need to use the post in those exceptional condition where data size large or data is very sensitive .But for other cases we can use GET instead of POST request.

&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
12.Splitting components and increase parallel downloads :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEievyQTy9Q5FfupP7hZBCYYkd-Isw8P3xncXv4VYQATpXys1Na9j8wh4vx2y6PmV9XzQCbxOcarSEJi-TgFLw5IjBtb7D_js6K3UMOEhD1TKq7CheFKuYc6mSkxrBdj-jYlzgwOYQqdBZ0/s1600/four_parallel.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEievyQTy9Q5FfupP7hZBCYYkd-Isw8P3xncXv4VYQATpXys1Na9j8wh4vx2y6PmV9XzQCbxOcarSEJi-TgFLw5IjBtb7D_js6K3UMOEhD1TKq7CheFKuYc6mSkxrBdj-jYlzgwOYQqdBZ0/s400/four_parallel.gif&quot; height=&quot;180&quot; width=&quot;290&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Splitting components allows you to maximise parallel downloads. Because in general from each domain we can download 2 resource parallels. So if we use 2 domain then we can download 4 resources parallels. So,it&#39;s increase the download speed of the resources and reduce the time of render website.
&lt;br /&gt;
But we need to remember that adding domain increase the DNS time. So the most efficient to add     2-4 domains. If we add more than 4 domains then it will increase DNS time and makes the process of rendering slow.
&lt;br /&gt;
&lt;br /&gt;
For more details you can see the flowing link
&lt;br /&gt;
&lt;a href=&quot;http://yuiblog.com/blog/2007/04/11/performance-research-part-4/&quot; style=&quot;cursor: pointer;&quot;&gt;http://yuiblog.com/blog/2007/04/11/performance-research-part-4/&lt;/a&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
13.Minimise the Number of  iframes :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
Iframes allow an HTML document to be inserted in the parent document. It&#39;s important to understand how iframes work so they can be used effectively.
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;iframe&amp;gt; pros:
&lt;br /&gt;
Helps with slow third-party content like badges and ads
&lt;br /&gt;
Security sandbox
&lt;br /&gt;
Download scripts in parallel

&lt;br /&gt;
&lt;br /&gt;
&amp;lt;iframe&amp;gt; cons:
&lt;br /&gt;
Costly even if blank
&lt;br /&gt;
Blocks page onload
&lt;br /&gt;
Non-semantic
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
14.Not Scale Images in HTML :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
Often we find that we scale images in HTML because the image size may be bigger.
&lt;br /&gt;
&lt;br /&gt;
Like
&lt;br /&gt;
&amp;lt;img src=&quot;image.jpg&quot; alt=&quot;example Image&quot; height=&quot;20&quot; width=&quot;20&quot; /&amp;gt;
&lt;br /&gt;
&lt;br /&gt;
So in this case we scale the image size 20x20 from the HTML image element. It&#39;s increase the render time of the web page.
&lt;br /&gt;
The best practice is scale the actual image size to 20x20 and then use that image in web-page.

&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
15.Make favicon.ico Small and Cacheable :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
We request for favicon.ico image each and every time even if we don&#39;t find the actual page in the domain.. :)
&lt;br /&gt;
Need to make the favicon.ico image small and importantly cache the image in the server. So that the image need not to be requested every time.
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
16.Split article into multiple pages :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
If we have a very long article with lot&#39;s of images and jquery files. Then better to split that article in many pages with the next page link.
&lt;br /&gt;
So it will reduce the render time for each page.
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
17.Avoid empty image tag :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
This is a common problem of website. Many time we have html  image tag with empty  src tag.
This may occur for many reasons like:
&lt;br /&gt;
&lt;br /&gt;
In Html&lt;br /&gt;
&amp;lt;img src=&quot;&quot; /&amp;gt;
&lt;br /&gt;
&lt;br /&gt;
In Javascript&lt;br /&gt;
var img = new Image();&lt;br /&gt;
img.src = &quot;&quot;;&lt;br /&gt;
If we planing to assign image source attribute from the server but it didn&#39;t assign correctly.&lt;br /&gt;
&amp;lt;img src=&quot;$imageUrl&quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
So,It make unnecessary traffic to the server and slows down website dramatically.&lt;br /&gt;
&lt;br /&gt;
For more information check:&lt;br /&gt;
&lt;a href=&quot;http://www.nczonline.net/blog/2009/11/30/empty-image-src-can-destroy-your-site/&quot; style=&quot;cursor: pointer;&quot;&gt;http://www.nczonline.net/blog/2009/11/30/empty-image-src-can-destroy-your-site/&lt;/a&gt;


&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
18.Reduce cookie size :&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
HTTP Cookies are very important for website. We use cookies for authentication and personalisation. Information of cookies exchange in the header of http request. So it&#39;s very necessary to reduce the size of cookies.
&lt;br /&gt;
For that we can follow following rules -
&lt;br /&gt;
a)Eliminate unnecessary cookies.&lt;br /&gt;
b)Keep cookie sizes as low as possible to minimise the impact on the user response time.&lt;br /&gt;
c)Set an Expires date appropriately. An earlier Expires date or none removes the cookie sooner,                           
                 improving  the user response time.&lt;br /&gt;
d)Setting cookies at the appropriate domain level so other sub-domains are not affected.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
There are some more points which we need  to remember when creating or hosting websites. Those are -
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
19.Cache the  ajax.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
20.Reduce number of DOM elements if possible.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
21.Use Cookie free domain for the components to be hosted.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
22.For adding style sheet use &lt;link&gt;&lt;/link&gt; over @import.&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: white; font-famity: Helvetica,Arial,sans-serif; font-size: 1.20em; font-weight: 500; margin: 0 0 0.2125em; text-align: left; vertical-align: baseline;&quot; trbidi=&quot;on&quot;&gt;
23.Optimise Images for getting a faster response.&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 1.225em;&quot;&gt;
After follow those steps you can measure the performance of your websites using various free online tools.
&lt;/div&gt;
Like&lt;br /&gt;
&lt;a href=&quot;http://www.webpagetest.org/&quot; style=&quot;cursor: pointer;&quot;&gt;http://www.webpagetest.org/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://gtmetrix.com/&quot; style=&quot;cursor: pointer;&quot;&gt;http://gtmetrix.com/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://whichloadsfaster.com/&quot; style=&quot;cursor: pointer;&quot;&gt;http://whichloadsfaster.com/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #41b7d8;&quot;&gt;
&lt;i&gt;Thanks for reading this blog.Hope you enjoy it.Follow this blog to get updated about design stuff.&lt;/i&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://e3designconcept.blogspot.com/feeds/4661635037486212448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://e3designconcept.blogspot.com/2013/01/how-to-make-website-faster.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/4661635037486212448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/4661635037486212448'/><link rel='alternate' type='text/html' href='http://e3designconcept.blogspot.com/2013/01/how-to-make-website-faster.html' title='How to make website faster'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04987308540289720734</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDJ65j6RkGT8Q0-A_RBtrWIOJ76aCLqVVeG2SfOvS4I7Blu1guPg7vAe7GfMXJ6PXgTc7OcHf7yDnX_kWQtF41cz7KIKzVft8bYp24we2f-1GfbysLWq4xNNrCLuyuiDErvnMt8PbIw-4/s72-c/Http_request.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-964279350924300279.post-2034947490983451819</id><published>2012-09-26T02:39:00.000-07:00</published><updated>2013-01-12T12:15:40.675-08:00</updated><title type='text'>Introduction to Media Queries (Step1 of RWD)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.45em;font-weight: 600;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;What is media queries?&lt;/div&gt;

&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
 &lt;p&gt;CSS2 allows you to specify stylesheet for specific media type such as screen or print.&lt;/p&gt;
 &lt;p&gt;Now CSS3 makes it even more efficient by adding media queries. You can add expressions to media type to check for certain conditions and apply different stylesheets.&lt;/p&gt;
 &lt;p&gt;For example, it&#39;s been common practice for years to use a separate style sheet for printing web pages by specifying media=&quot;print&quot; . Media queries take this idea to the next level by allowing designers to target styles based on a number of device properties, such as screen width, orientation, and so on.&lt;/p&gt;
&lt;/div&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.20em;font-weight: 500;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;Need of media queries ?&lt;/div&gt;

&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
 The rapid spread of mobile devices has turned the world of web design upside down. Users no longer view web content only on traditional desktop systems, but are increasingly using smartphones, tablets, and other devices with a wide range of dimensions. The challenge for web designers is to ensure that their websites look good not only on a big screen, but also on a tiny phone and everything in between.
&lt;/div&gt;



&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.45em;font-weight: 600;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;Example of media queries uses :&lt;/div&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.20em;font-weight: 500;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;1.Max Width&lt;/div&gt;

&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
 &lt;p&gt;a)use in css file&lt;/p&gt;
&lt;pre&gt;@media screen and (max-width: 500px) {
  .className {
     background: #FFFFFF;
   }
 }&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
 &lt;p&gt;b)use saparate css file for the devices whose width within 500px.&lt;/p&gt;
 &lt;p&gt;&amp;lt;link rel=&quot;stylesheet&quot; media=&quot;screen and (max-width: 500px)&quot; href=&quot;small.css&quot; /&amp;gt;&lt;/p&gt;
&lt;/div&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.20em;font-weight: 500;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;2.Min Width&lt;/div&gt;

&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
 a)use in css file
       
&lt;pre&gt;@media screen and (min-width: 500px) {
  .className {
     background: #FFFFFF;
   }
 }&lt;/pre&gt;
        
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
 &lt;p&gt;b)use saparate css file for the devices whose width within 500px.&lt;/p&gt;
 &lt;p&gt;&amp;lt;link rel=&quot;stylesheet&quot; media=&quot;screen and (min-width: 500px)&quot; href=&quot;small.css&quot; /&amp;gt;&lt;/p&gt;
&lt;/div&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.20em;font-weight: 500;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;3.Multiple Media Queries&lt;/div&gt;

&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
&lt;p&gt;You can combine multiple media queries. The following code will apply if the viewing area is between 500px and 800px.&lt;/p&gt;
&lt;pre&gt;@media screen and (min-width: 500px) and (max-width: 800px) {
       .className {
          background: #FFFFFF;
          }
     }&lt;/pre&gt;
&lt;/div&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.20em;font-weight: 500;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;4.Device Width&lt;/div&gt;

&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
&lt;p&gt;This is the most important and usefull things.Because the different device has different width.So we can use different css files for different device using the Device Width property.&lt;/p&gt;
&lt;pre&gt;@media screen and (max-device-width: 600px) {
         .className {
             background: #FFFFFF;
          }
    }&lt;/pre&gt;
&lt;/div&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.45em;font-weight: 600;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;Now for I give some example of particular divice.Like -&lt;/div&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.20em;font-weight: 500;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;For iPhone 4&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
 &amp;lt;link rel=&quot;stylesheet&quot; media=&quot;only screen and (-webkit-min-device-pixel-ratio: 2)&quot; type=&quot;text/css&quot; href=&quot;iphone4.css&quot; /&amp;gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.20em;font-weight: 500;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;For iPhone 5&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
 &lt;p&gt;@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) {&lt;/p&gt;
  &lt;p&gt;/* iPhone 5 or iPod Touch 5th generation */&lt;/p&gt;
 &lt;p&gt;}&lt;/p&gt;
&lt;/div&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.20em;font-weight: 500;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;For iPad&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
 &lt;p&gt;&amp;lt;link rel=&quot;stylesheet&quot; media=&quot;all and (orientation:portrait)&quot; href=&quot;portrait.css&quot; /&amp;gt;&lt;/p&gt;
 &lt;p&gt;&amp;lt;link rel=&quot;stylesheet&quot; media=&quot;all and (orientation:landscape)&quot; href=&quot;landscape.css&quot; /&amp;gt;&lt;/p&gt;
&lt;/div&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrC97MMKA0tG2yI4xhQbcRKINsD4oY_p1M819DalSCXzDUoXdYhx_TPCo7iHNBDlDdvvZn_SOB8m9V1SJxZh5XWyX1iti8bCpPb8OG2wgc922i0EQN3fJerwCRLknZfWLaWuloKVILoHw/s1600/respon.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;473&quot; width=&quot;520&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrC97MMKA0tG2yI4xhQbcRKINsD4oY_p1M819DalSCXzDUoXdYhx_TPCo7iHNBDlDdvvZn_SOB8m9V1SJxZh5XWyX1iti8bCpPb8OG2wgc922i0EQN3fJerwCRLknZfWLaWuloKVILoHw/s400/respon.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;



&lt;br /&gt;


&lt;div style=&quot;color:#41B7D8&quot;&gt;&lt;i&gt;In next blog I will discuss about more tools and techniques of responsive web design.Follow this blog to get updated about design stuff.&lt;/i&gt;&lt;/div&gt;

&lt;br/&gt;



</content><link rel='replies' type='application/atom+xml' href='http://e3designconcept.blogspot.com/feeds/2034947490983451819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://e3designconcept.blogspot.com/2012/09/introduction-to-media-queries-step1-of.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/2034947490983451819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/2034947490983451819'/><link rel='alternate' type='text/html' href='http://e3designconcept.blogspot.com/2012/09/introduction-to-media-queries-step1-of.html' title='Introduction to Media Queries (Step1 of RWD)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04987308540289720734</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrC97MMKA0tG2yI4xhQbcRKINsD4oY_p1M819DalSCXzDUoXdYhx_TPCo7iHNBDlDdvvZn_SOB8m9V1SJxZh5XWyX1iti8bCpPb8OG2wgc922i0EQN3fJerwCRLknZfWLaWuloKVILoHw/s72-c/respon.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-964279350924300279.post-3434209096770519296</id><published>2012-09-21T02:26:00.000-07:00</published><updated>2012-09-21T02:45:21.724-07:00</updated><title type='text'>Responsive Web Design (RWD) :</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.45em;font-weight: 600;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;What is responsive design?&lt;/div&gt;


&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
Responsive Web Design (RWD) is an approach to web design in which a site is crafted to provide an optimal viewing experience—easy reading and navigation with a minimum of resizing, panning, and scrolling—across a wide range of devices (from desktop computer monitors to mobile phones).
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
In practical sciario, The changing landscape of web browsers meant that users expectations also changed; people expected to be able to browse the web on their phones just as easily as they browse the web on a desktop computer. So, in response to this (if you’ll excuse the pun) the web design community started creating mobile versions of their websites. In hindsight, this wasn’t really the way forward, but at the time it seemed like a reasonable idea. Every website would have their normal ‘desktop’ version of their site, and as a bonus, a ‘mobile’ version.
&lt;/div&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.20em;font-weight: 500;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;Example of responsive design :&lt;/div&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHBN-P8WtGrxPjc7vXacoA1mK2xHc8jgFTQvJqG4TBlPvgFQIuSGFCln2XCJ3gSMV8rt9tQ5zEoGDhI_hlo2g6G9JOBjZrJ2oYix2BWQlNXhWtACYSZ7SwG1UkzdIG_4QN_csIbM01_NI/s1600/Webdesign.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; width=&quot;500&quot; style=&quot;border-radius:10px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHBN-P8WtGrxPjc7vXacoA1mK2xHc8jgFTQvJqG4TBlPvgFQIuSGFCln2XCJ3gSMV8rt9tQ5zEoGDhI_hlo2g6G9JOBjZrJ2oYix2BWQlNXhWtACYSZ7SwG1UkzdIG_4QN_csIbM01_NI/s400/Webdesign.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;



&lt;br /&gt;



&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;color: #FFFFFF;font-size:1.45em;font-weight: 600;margin: 0 0 0.2125em;vertical-align: baseline;font-famity:Helvetica,Arial,sans-serif;&quot; trbidi=&quot;on&quot; /&gt;Need of responsive design?&lt;/div&gt;

&lt;div style=&quot;margin-bottom: 1.625em;&quot;&gt;
Almost every new client these days wants a mobile version of their website. It’s practically essential after all: one design for the BlackBerry, another for the iPhone, the iPad, netbook, Kindle — and all screen resolutions must be compatible, too. In the next five years, we’ll likely need to design for a number of additional inventions. 
&lt;/div&gt;
&lt;br /&gt;

&lt;div style=&quot;color:#41B7D8&quot;&gt;&lt;i&gt;In next blog I will discuss about the various tools and techniques of responsive web design.Follow this blog to get updated about design stuff.&lt;/i&gt;&lt;/div&gt;

&lt;br/&gt;





</content><link rel='replies' type='application/atom+xml' href='http://e3designconcept.blogspot.com/feeds/3434209096770519296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://e3designconcept.blogspot.com/2012/09/responsive-web-design-rwd.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/3434209096770519296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/964279350924300279/posts/default/3434209096770519296'/><link rel='alternate' type='text/html' href='http://e3designconcept.blogspot.com/2012/09/responsive-web-design-rwd.html' title='Responsive Web Design (RWD) :'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04987308540289720734</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHBN-P8WtGrxPjc7vXacoA1mK2xHc8jgFTQvJqG4TBlPvgFQIuSGFCln2XCJ3gSMV8rt9tQ5zEoGDhI_hlo2g6G9JOBjZrJ2oYix2BWQlNXhWtACYSZ7SwG1UkzdIG_4QN_csIbM01_NI/s72-c/Webdesign.png" height="72" width="72"/><thr:total>1</thr:total></entry></feed>