Quantcast
Channel: Imran Tariq's Blog » html
Browsing latest articles
Browse All 4 View Live

Image may be NSFW.
Clik here to view.

Adding Favorites Icons (favicon.ico)

You can add customized links for sub-folders by using this code in the <head> section of your web page coding: <link REL="SHORTCUT ICON" HREF="http://yoursitedotcom.here/yourdir/favicon.ico">

View Article


Image may be NSFW.
Clik here to view.

tag inside table cell creates a line break in IE 7

I am working on an application in struts having jsp pages. IN IE 7 long sentence inside tag creates a line break. Any idea what could be the problem? Table is used to show records. When there is no...

View Article


Image may be NSFW.
Clik here to view.

Generic form validation

If number of form fields are unknown or there are many form in your application and you want to validate all of them in a generic way using less code then you can use logic given below. HTML Form Code:...

View Article

Image may be NSFW.
Clik here to view.

Dynamic HTML form creation and submit

Dynamic HTML form creation through JavaScript and submit var form = document.createElement("form"); form.setAttribute("method", "post"); form.setAttribute("action", "/admin/delete.htm"); var element1 =...

View Article
Browsing latest articles
Browse All 4 View Live