Categories
Html5

Store objects in HTML5 localStorage

The localStorage property allows you to store objects in HTML5 that is more secure and can store large amounts of data locally. It’s essential sometimes having stored JavaScript object in HTML5 localStorage. But objects don’t seem to work? Let’s see. Basically, if you have a look for Apple, Mozilla and Microsoft documentation, you can find […]

Categories
Html

Href attribute for links: “javascript:void(0)” or “#”?

“javascript:void(0)” or “#”, these are two type by which we can call a JavaScript code. But, what do you prefer to do most? These are for a building a link that has the sole purpose of running JavaScript code. But, in terms of functionality, page loading speed, validation purposes, etc. It may come to our […]

Categories
MySQL

INSERT … ON DUPLICATE KEY UPDATE

If you mention ON DUPLICATE KEY UPDATE when a row is inserted that is causing a duplicate value in a UNIQUE index or PRIMARY KEY then MySQL performs an UPDATE of the old row. Suppose, in a table there are three columns i.e. a, b, c. If column ‘a’ is declared as UNIQUE and contains […]

Categories
Creative blog

How to get traffic without google

Here you will learn an alternative way to get traffic to your site i.e. is not search engine friendly without SEO or depends on Google. Traffic is a most important thing to a business page. Without any traffic there is no SEO and no user visit. Most of the traffic comes to a site is […]

Categories
Creative blog Social Media & Marketing

Benefits of using facebook comments

Facebook offers a commenting service on other website and that has few benefits to attract genuine commentators. Here we will discuss why you should be using Facebook commenting system on your site rather than default WordPress comment form and this is better than other systems like Disqus. Let me list out some reasons that states […]

Categories
Creative blog

Avoid getting your articles copied

Are you aware of copying your articles somewhere? Here is a guide for taking advantage of such situation and get benefits with that. So, the good way is to avoid getting scrapped somehow and create a system that use third party services and following tips to get most out of scrapped content from your articles. […]

Categories
Php

Match a backslash with preg_match() in PHP

Sometimes you need to match a backslash with preg_match, but this is not as straightforward as you might first think! The preg_match() function is nothing but a perl-compatible regular expression pattern match. The preg_match() function searches a string for pattern and returning true while pattern exists, otherwise false. A backslash(“\”) is used to escape a […]

Categories
Css

Horizontally center a div within a div using CSS style

Sometimes we need to horizontally center a div that is within another div using CSS that make the inner element center horizontally. In that case, you don’t have to set the width to 50%. So, any width which is less than the containing div will work. Let’s see how to horizontally center a div. For […]

Categories
Creative blog

Attract readers to your blog

Are you experiencing lack of readers for your blog? It’s not really the fault of your blog content. Here are few expensive tips to attract more readers to your blog. You only focused on writing a great content rather than promoting or sharing. There are many factors associated with your Blog that can make you […]

Categories
Creative blog

Decrease Blog’s Bounce Rate

Know the knowledge about bounce rate in Google analytics. Here is the tips for reducing the bounce rate and increasing traffic views. The bounce rate of a website means an analytic factor that is used to determine what actions people are taking after reading your one post. Either they move to another page or they […]