Categories
HTML & HTML5

Uploading Directories At Once With webkitdirectory

We can use webkitdirectory to allow uploading an entire folder or folders of files without selecting each file manually. webkitdirectory webkitdirectory is a non-standard attribute that allows users to pick a directory via a file input. Currently supported in Chrome, Firefox, and Edge. Uploading Directories At Once Here is example script, I have used bootstrap […]

Categories
HTML & HTML5

Phone Number Validation with HTML5

In order to improve the security of the application, you should follow one of the fundamental principle called “Never trust user input data“. It is very important to add validation to the forms before submitting to the database as one malicious user input data can break the application. We can do client and service side […]

Categories
HTML & HTML5

Custom Facebook Share Button without FB-OG Tags

Nowadays you can find Facebook “Like” and “Recommend” widgets on every website. One problem I have always found with sharing URLs on Facebook is that you often have no control over the image and description text that accompany the URL. I would like to share the solution to the problem. Below are the details that […]

Categories
HTML & HTML5

Facebook Open Graph META Tags

This post will explain you that how to include social META tags for defining exact titles, description and images for better results. Why should I Use Facebook Open Graph Meta Tags? There is no secret that facebook is one the major plat form to generate new traffic and business for all type of websites like […]

Categories
Css HTML & HTML5 PHP / MySQL

Prevent Your CSS and JavaScript Files From Being Cached

Today’s post is about Preventing Css and Js Files being Cached on client Machine, we often change our css & js files to enhance our websites, due to browser cache, new changes will not reflect on client system to void this situations you can use the following method, however this method is not preferred in […]

Categories
HTML & HTML5

How to Centre a DIV Block Using CSS?

This post is About Centering A div Block Using Css, To Center a Div Block , you need to set left-margin and right-margin either in pixels or em or percentage units. For example if you have a div with class name container, set the margin to container left and right sides auto, set the container […]

Categories
HTML & HTML5

HTML5 Force Download

When you link to a file like an image or a PDF-document it will be displayed within the browser normally. The download-attribute in links prevents this behavior and offers the file as a download in your browser. In html5 we can easily set up force download with an attribute called download, just check out the […]

Categories
HTML & HTML5 PHP / MySQL

PHP Redirection script

In this programming tutorial, you will learn page Redirection using PHP. you can use header() function in PHP or use meta to redirect to a new page you want or redirect to another website. using header() function: using HTML meta to redirect.

Categories
HTML & HTML5 Javascript

How to Display Confirm box when clicking a Link?

We always use Confirm Box while Deleting Data, Confirm Box is vary useful to confirm use Actions on the web, fortunately we can fire Confirm Box with minimal Script, just add onClick() attribute and little javaScript. Look at the Example

Categories
HTML & HTML5

Automatically Refresh a Page Using META Tag

Using the below simple html markup , you can auto refresh or reload the page. The following refreshes the page every 60 seconds.

Categories
Css HTML & HTML5

HTML5 shiv on Google CDN

Just for Quick copy past