Category: HTML/HTML5

Make your server folder password protected.

If you want to make your site a password protected. This can be mainly used for under development sites. You want only limited users (admin) should assess the site till it’s on development phase. You…

Detect iPhone & iPad by .htaccess file.

Now a day’s almost all sites are responsive for all screen size devices. But in some cases we need to create sub domains or new domains for iPad and iPhone. If want to redirect you…

HTML5 oDesk Test Answers

You are writing the code for an HTML form and you want the browser to retain the form’s input values. That is, if a user submits the form and presses the browser’s back button, the…

Redirect to another page without JS.

  If you want to redirect the user after 10 seconds to another page or want to refresh the page you can add a meta tag with attributes to do this. No JS or any…

What are common DOCTYPES?

In HTML file there are several DOCTYPES according to tag which we are using. These DOCTYPES helps browsers to know the type of document to expect. DOCTYPES is not HTML tag, it gives instruction to…

Make your whole Divs clickable.

Want to make your whole div clickable? There is no need to add div within anchor tag (i.e. <a href=”#”>..</a>). By below code you can make your whole div clickable. By using JavaScript: <div onclick=”location.href=’Enter-URL-Here’;”…