HTML Archives - Nabtron Technology & Programming Guide Wed, 20 Apr 2016 13:45:51 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 https://i0.wp.com/nabtron.com/wp-content/uploads/2018/12/nabtron-icon-50.jpg?fit=32%2C32&ssl=1 HTML Archives - Nabtron 32 32 13047128 Prevent your site from being shown in iFrames using javascript https://nabtron.com/prevent-your-site-from-being-shown-in-iframes-using-javascript/ https://nabtron.com/prevent-your-site-from-being-shown-in-iframes-using-javascript/#respond Wed, 14 May 2014 13:18:59 +0000 http://nabtron.com/?p=7967 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 […]

The post Prevent your site from being shown in iFrames using javascript appeared first on Nabtron.

]]>
https://nabtron.com/prevent-your-site-from-being-shown-in-iframes-using-javascript/feed/ 0 7967
There is no attribute “target” – w3 validation error for HTML Strict https://nabtron.com/there-is-no-attribute-target-w3-validation-error-for-html-strict/ https://nabtron.com/there-is-no-attribute-target-w3-validation-error-for-html-strict/#comments Sat, 19 Nov 2011 06:23:08 +0000 http://nabtron.com/?p=7194 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 […]

The post There is no attribute “target” – w3 validation error for HTML Strict appeared first on Nabtron.

]]>
https://nabtron.com/there-is-no-attribute-target-w3-validation-error-for-html-strict/feed/ 1 7194
Convert Table to Div in dreamweaver using Regex https://nabtron.com/convert-table-to-div-in-dreamweaver-using-regular-expressions/ https://nabtron.com/convert-table-to-div-in-dreamweaver-using-regular-expressions/#comments Tue, 15 Nov 2011 05:10:48 +0000 http://nabtron.com/?p=7101 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 […]

The post Convert Table to Div in dreamweaver using Regex appeared first on Nabtron.

]]>
https://nabtron.com/convert-table-to-div-in-dreamweaver-using-regular-expressions/feed/ 2 7101
How to restrict number of characters in input field https://nabtron.com/how-to-restrict-number-of-characters-in-input-field/ https://nabtron.com/how-to-restrict-number-of-characters-in-input-field/#respond Wed, 12 Oct 2011 22:57:02 +0000 http://nabtron.com/?p=6833 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 […]

The post How to restrict number of characters in input field appeared first on Nabtron.

]]>
https://nabtron.com/how-to-restrict-number-of-characters-in-input-field/feed/ 0 6833
How to disable autofill/autocomplete in html form textbox https://nabtron.com/how-to-disable-autofillautocomplete-in-html-form-textbox/ https://nabtron.com/how-to-disable-autofillautocomplete-in-html-form-textbox/#respond Thu, 28 Apr 2011 10:47:26 +0000 http://nabtron.com/?p=3916 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 […]

The post How to disable autofill/autocomplete in html form textbox appeared first on Nabtron.

]]>
https://nabtron.com/how-to-disable-autofillautocomplete-in-html-form-textbox/feed/ 0 3916
Nabthesis – Free theme for WordPress released by Nabtron https://nabtron.com/nabthesis-free-theme-for-wordpress-released-by-nabtron/ https://nabtron.com/nabthesis-free-theme-for-wordpress-released-by-nabtron/#respond Sun, 06 Feb 2011 17:53:15 +0000 http://nabtron.com/?p=3482 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, […]

The post Nabthesis – Free theme for WordPress released by Nabtron appeared first on Nabtron.

]]>
https://nabtron.com/nabthesis-free-theme-for-wordpress-released-by-nabtron/feed/ 0 3482
How to remove Validation error with Alexa PageRank Widget Box https://nabtron.com/how-to-remove-validation-error-with-alexa-widget-box/ https://nabtron.com/how-to-remove-validation-error-with-alexa-widget-box/#comments Sat, 03 Apr 2010 14:33:06 +0000 http://tech.nabtron.com/?p=1455 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 […]

The post How to remove Validation error with Alexa PageRank Widget Box appeared first on Nabtron.

]]>
https://nabtron.com/how-to-remove-validation-error-with-alexa-widget-box/feed/ 4 1455
Yahoo – META name=”y_key” – causes w3c validator error https://nabtron.com/yahoo-meta-namey_key-causes-w3c-validator-error/ https://nabtron.com/yahoo-meta-namey_key-causes-w3c-validator-error/#respond Sat, 03 Apr 2010 14:13:32 +0000 http://tech.nabtron.com/?p=1448 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 […]

The post Yahoo – META name=”y_key” – causes w3c validator error appeared first on Nabtron.

]]>
https://nabtron.com/yahoo-meta-namey_key-causes-w3c-validator-error/feed/ 0 1448
How to add search bar to wordpress blog theme https://nabtron.com/how-to-add-search-bar-to-wordpress-blog-theme/ https://nabtron.com/how-to-add-search-bar-to-wordpress-blog-theme/#comments Mon, 24 Aug 2009 06:48:49 +0000 http://tech.nabtron.com/?p=365 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 […]

The post How to add search bar to wordpress blog theme appeared first on Nabtron.

]]>
https://nabtron.com/how-to-add-search-bar-to-wordpress-blog-theme/feed/ 7 365
Detect users internet browser (firefox, safari, iphone, ipod, ipad, internet explorer, opera ) and redirect to different page specific to it https://nabtron.com/detect-users-browser-firefox-safari-iphone-ipod-internet-explorer-opera-and-redirect-to-load-different-page-specific-to-that-browser/ https://nabtron.com/detect-users-browser-firefox-safari-iphone-ipod-internet-explorer-opera-and-redirect-to-load-different-page-specific-to-that-browser/#comments Wed, 05 Aug 2009 15:25:56 +0000 http://tech.nabtron.com/?p=281 Some times we need to detect the browser of the user in order to redirect them to browser specific page, or to do any other task that is related to displaying that website for that particular user’s browser, e.g firefox, opera, internet explorer, safari, or are coming from an iphone or an ipod. Edit: You […]

The post Detect users internet browser (firefox, safari, iphone, ipod, ipad, internet explorer, opera ) and redirect to different page specific to it appeared first on Nabtron.

]]>
https://nabtron.com/detect-users-browser-firefox-safari-iphone-ipod-internet-explorer-opera-and-redirect-to-load-different-page-specific-to-that-browser/feed/ 23 281