Archive for January, 2017

Basic Introduction to JavaScript

Tuesday, January 31st, 2017

History of JavaScript

JavaScript was developed by Netscape under the name “Live Script”. These scripts were used to enhance the web pages by providing some HTML level interaction for the user. Later, live script was used as a communication medium between HTML documents and Java applets. In December 1995, Netscape and Sun joined hands and renamed the language as JavaScript.

Using JavaScript in and HTML page

JavaScript’s are written as part of HTML documents. The Browser software interprets the JavaScript commands just as it does with HTML tags. Browsers must be equipped with JavaScript interpreters to take advantage of the scripts in web pages but don’t get confused cause now days almost every browser is equipped with JavaScript interpreters or any Java compatible browser will also be able to interpret JavaScript scripts. JavaScript can be used in following situations:

  • Designing web page to respond to user interaction with form elements.
  • Importing and exporting data from databases and providing friendly interface to data.
  • Processing the data on the client side before submitting it to the server.

Adding JavaScript to an HTML page or in header

JavaScript can be inserted into HTML pages between and tags or and tags. JavaScript begins with a tag followed by

Note the use of HTMl comment tags, .If the page containing the script is used in a browser that is not compatible with scripting languages. The script statements are not executed.

Using SRC attribute within

The SRC attribute allows us to load JavaScript from a separate file on the server. Eternal script files cannot contain HTML markup and must be saved as standard ASCII texts with .js extension. We can point to the script file using a relative URL such as

We can also use absolute URL path such as:

7 Amazing WordPress Plugins You Can’t Afford To Miss

Monday, January 2nd, 2017

1. Yoast’s SEO

It’s one of those great plugins that every WordPress user knows. That’s why, it’s the most popular SEO plugins, in fact one of the best WordPress plugins. The plugin lets you edit and control Meta descriptions of each post; it also lets one to customize page titles and Meta descriptions. Other prominent and useful features include index-noindex, follow-nofollow and 301 redirection.

2. Better WP Security

The number of hackers on the web has risen. Number of websites and blogs getting hacked is increasing day-by-day. And, as a proof you can Google ‘how to hack a WordPress website’ to know the huge amount of guides available online. So it’s better to keep your website secure of hackers, and Better WP Security can help you achieve that. With the help of this plugin, you can check your website for any security flaw by one-click. As a piece of advice, it is well suggested to change your login details time-to-time.

3. Growmap Anti Spambot

Likewise, hacking is increasing day-by-day, spamming as well is increasing day-by-day. Usually you would find spam in the form of comments. But, when you have got Growmap Anti Spambot, spams are a distant history!

4. W3 Total Cache

No one likes cache, not even Google. After all, who wants to wait hours and hours for loading a damn webpage? Visitors tend to go to other websites if a website isn’t loading fast. So, overall having cache is a high indication of threat. W3 Total Cache plugin is here for help! The plugin utilizes browser’s cache and other optimization ways to fight slow-loading or making your website faster.

5. SEO Friendly Images

For bloggers, images play a vital role. Not only it describes the post but also it makes your website fancier. Basically, the plugin adds Title and Alt attributes to your images for a better hand at SEO. The best part is that, besides making your images SEO-friendly, it also improves whole page’s SEO! This plugin is highly suggested to photographs & artists who want’s their art forms rank high in search engines.

6. Automatic Updater

The plugin can be said as the queen of all plugins. As we all know, developers are continuously trying to tweak their plugins making it more awesome, it periodically receives updates. And no one has got enough time to check out each plugin and its updates. This is when Automatic Updater kicks in. As the name suggests, this plugin will automatically update all your plugins; hence saving your precious time.

7. Contact Form 7

Tell me what’s a blog without a contact form? Well, it’s like a body without heart! A blog and a contact form are one of those inseparable links, without which blog looks like stale.

And, it’s also important to be in touch with your website’s fans and visitors, wherein a contact form is the only link. Contact Form 7 is a simple-yet-awesome plugin, it’s easy to use for both the visitors and the admins. The best part: It’s almost compatible with all the WordPress themes out there!