Spread the word
Friday, September 9, 2011
How To Password Protect a Website Page With .htaccess on Apache WebServers
Sunday, July 17, 2011
How to Create a Link To Smoothly Scroll To The Top of a Page by jQuery
The most natural and effective way to do it is to place a "quick link" or "inpage link" which should be linked to the ID of the topmost element on the page.
Example of go to top link on a webpage:
Tuesday, March 22, 2011
How to Create Easy Collapsible and Expandable Lists in JavaScript
First, just include a JavaScript file in your <header> section of the page -
<script src="http://www.acmeous.com/tutorials/demo/acmeousCollapsibleLists/acmeousCollapsibleLists.js" type="text/javascript"></script>Then just below it, within the <header> section of your page, add the following code -
Friday, March 18, 2011
Differences Between Strict and Transitional DOCTYPEs
Attributes which are deprecated in Strict DOCTYPEs:
- align (allowed on elements related to tables only, like - col, colgroup, tbody, td, tfoot, th, thead, and tr)
- target
- language
- background
- link
- hspace
- noshade
- nowrap
- bgcolor
- text
- vspace
- vlink
- alink
- height (allowed on img and object)
- border (allowed on table)
- width (allowed on img, object, table, col, and colgroup)
- name (allowed in HTML 4.01 Strict, not allowed on form and img in XHTML 1.0 Strict)
Thursday, November 26, 2009
Top 5 Security Checks for your Website

Today just building up a website doesn’t help until you know how you can manage it. So before your website is getting into limelight, just be sure that you know how to fight hackers and spammers.
Here are the top 5 security guidelines for you to make your environment more secure and not letting it in the evil hands.
Tuesday, February 3, 2009
How to enable cURL support for PHP in Apache on Windows

So you want to enable cURL in your Apache Server? It is really easy and simple. But first you should check whether you have cURL already enabled on your server. Here is a very simple way to check:
Create a phpsetup.php file and put this code within it:
<? phpinfo(); ?>
Now view that phpsetup.php page from your browser and you will get all the details of your PHP setup on your server. Search for the “cURl support”. If you can’t find it then cURL support is not enabled on your system. But if you can find it and it shows “enabled” then you already have cURL enabled on your system.
Thursday, October 30, 2008
How to add link and script codes in the Head tag from the body section through JavaScript
<script>
or <link>
tags for some selected pages of a website. In many websites we use Content Management Systems or some templates where we can’t add different headers to different pages. But in many pages we need some extra functionality through scripts and other codes which are used differently in different pages within that site. Sometimes we need to insert the scripts within the page body tag which is not at all Web Standards compliant. The scripts and links to css or JavaScript files should always be in the head tag.Thursday, August 28, 2008
How to prevent directory browsing on your Website or Blog
How to make PhpBB Forums Search Engine Optimized (SEO)
Monday, July 14, 2008
How to add noindex, nofollow in Blogroll for your Blogger/Blogspot Blogs
Here is how you can do it by editing the html template of your Blog. Open the 'Edit HTML' tab in your Blogger Layout. Check the check box to Expand the widget templates. If your title for your Blogroll section is Blogroll, then find out for the following section in your template.
Wednesday, July 9, 2008
Simplest way to change images on Mouse Over through JavaScript
How to display html codes in your blog posts
Tuesday, July 8, 2008
How to show a link details in status bar of the browser in JavaScript
How to get the current time in JavaScript
JavaScript is very amazing scripting language through which you can do many funny things and can also satisfy useful tasks. Here is an very easy and useful use of JavaScript just to show you the use of a JavaScript's inbuilt function. You can easily show the current time in you website through JavaScript. JavaScript has an inbuilt function
Date()
, from which you can get the desired values. This is a good way to learn the Date() function. Checkout the example.Saturday, July 5, 2008
Benefits of CSS based sites over Table based sites
Monday, June 30, 2008
How to create stylish text inputs for search, login or comment forms
You may have seen many stylish text inputs and designer forms in many websites. Just putting some text inputs and text areas and buttons, can't attract users to click there or type in some texts for you. If you wish your users grab those forms and fill out important information for you, you have to make those inputs in such a way that users get them accustomed with your site's theme. Users generally find no input forms to be interesting except it is a search box, which he/she have to use without any other option. But still f you make search inputs similar to your theme, it adds to your design and make it comfortable for your uses. After all designing is all about making elements soothing to users' eyes.
Here is a tutorial to make text inputs beautiful and matching to your website's theme. Suppose you have a login input in a bar, where users enter their passwords. Here is a sample how the input has been matched with the bar.

Here I have created a stylish input matching with the dark red colored background bar. Now lets see how you can implement it.
At first just insert normal form and input elements in your page like this.
View the source to get see the code.
This has inserted a form and a text input in your page. Notice that I have put an id="passText" in the input element. This will help you to stylize it through CSS. Now here is the CSS part.
#loginForm [
background: url(images/passText.jpg) no-repeat;
/* where passText.jpg is the stylish box image */
height: 20px;
width: 100px;
font-weight: normal;
color: #ffffff;
border: 0px;
}
#passText {
width: 80px;
height: 18px;
margin-left: 18px;
background: transparent;
color: #ffffff;
}
Now this will transform your input box just as you wished and seen in the picture. The form has the image for the text input in its background, and the input text's background is transparent. The size of the input text is made smaller than the form, so that the texts typed inside the input don't come out of the designed box.
This is the basis of form designing and in this pattern you can make your forms look beautiful and totally matching your site's theme, which adds beauty to your site. Now make designer forms and inputs and attract users to use them more and more.
Friday, May 16, 2008
CSS Trick - Removing on-click Dotted lines around links
Whenever you visit any website in Firefox, you many times may have noticed that a dotted outline appears around links whenever you click on them. This dotted outlines doesn’t comes in Internet Explorer. This thing happens only with Firefox. You may have thought that this thing doesn’t looks cool on your website. So here is a very easy solution to stop this behavior in Firefox.
You have to configure your a tag and a:visited tag to stop this. Just add this lines of codes in your css file and get reed of this unwanted behavior.
a {
outline: none;
}
a: visited {
outline: none;
}
This is all that does the trick and makes your website more cool.
Wednesday, May 14, 2008
How to Center Align a Website or Html Element Without Align Tag
align="center"
. Though this tag satisfies our aim and centers the element in the screen, but this tag is not recognized by W3 Validator as a valid XHTML content. Thats why if you are cautious enough about your website to be XHTML Validated, you can’t use it .