Prevent your site from being shown in iFrames using javascript

Data scraping is one of many pains bloggers and web developers face these days. Someone works hard enough to create a unique content and a unique code or script making their website useful and someone else simply uses iframes to show all their effort on their own website and getting all the credit. Or for […]

There is no attribute “target” – w3 validation error for HTML Strict

We commonly use target=”_blank” attribute in our source codes to make links open in new window. Quite usual practice right? but guess what, strict doctype don’t like it. There is no attribute “target” – w3 validation error for HTML Strict If you’ve set the doctype DTD to be html strict, it will give error on […]

Convert Table to Div in dreamweaver using Regex

Tables can’t do various things which can be done using divs. In this tutorial I will explain to you how to convert your table based structure into div based structure while giving unique id or class to each of those divs. This can be done via search and replace too right? well there are few […]

How to restrict number of characters in input field

HTML is such a beautiful language. Yes it has it built in to restrict the number of characters of any input field to whatever you want. To restrict the number of alphabets or numbers inside an input field on your html form simply use maxlength attribute. For example: <input type=”text” name=”myinput” maxlength=”10″ value=”” /> This […]

How to disable autofill/autocomplete in html form textbox

Althought these settings from browser to browser that will they autofill some forms or not, you can suggest them if you want to enable or disable autocomplete for your forms or any specific field in your html forms. To disable the autocomplete option for html forms, use this code (attribue) : autocomplete=”off” To disable autocomplete […]

Nabthesis – Free theme for WordPress released by Nabtron

We are proud to release our new theme named Nabthesis for WordPress today for free. The release of future versions with patches and updates will be added soon depending upon the feedback from the users. Theme download url: Download Nabthesis 1.0 Theme discussion page: Nabthesis discussion Demo: http://nabtron.com/ If you have any queries or suggestions, […]

How to remove Validation error with Alexa PageRank Widget Box

If you added the Alexa Page rank widget box to your website and might have noticed that now if you try to validate your website HTML source code, it gives validation errors. Such as: Line 608, Column 84: there is no attribute “type” … <div><SCRIPT type=’text/javascript’ language=’JavaScript’ … The code provided by Alexa looks some […]

Yahoo – META name=”y_key” – causes w3c validator error

Well if you would have tried to add the meta tag in your html given by yahoo to validate your site ownership with yahoo, but once you checked validity of the html of your website it gave you error? Line 9, Column 28: there is no attribute “content” <META name=”y_key” content=”*******************”> And: Line 9, Column […]

How to add search bar to wordpress blog theme

In this tutorial we will discuss how to add a search bar to your wordpress theme. This is useful if u need a search bar / form to be added to your own custom wordpress theme, or if you are using some other theme, and want to add a search form in it. One way […]