How to export HTML file to MS Word document (.doc) using php code


Generally, the export feature is used to download HTML file as MS Word document file and save it for offline use. The conversion of HTML file into word document using PHP code is the most requested feature for developers. Microsoft Word or Doc (.doc) format is ideal for exporting HTML content in a file. The export to doc functionality can be easily implemented using php code. The server-side  export to doc functionality makes the web application user-friendly. The user can export all data of the web page content into doc format. In this tutorial,…

Read More

How to Embed PDF file into the HTML Web Pages

When we want to embed a pdf document in the html web pages, we take help of a hyperlink to make a linkage of PDF documents to show them in the browser. The easiest way to display a PDF file is to use HTML anchor link. What if you want to display a PDF document on the web page? If it is really so, then PDF files needs to be embedded in HTML. A tag <embed> is the most suitable option to embed the PDF document on the web page.…

Read More

Create HTML5 Fullscreen Video Background Using CSS


In this article, i will show you how to add static video in background of html section using css. It is a very easy and simple script to add video background on loading page. In this article i am using HTML5 video tag <video width=”300″ height=”150″> to embed this video and css is used to put video on background.</video>

Above script is using to ad HTML <video> tag and in video properties we set to mute, autoplay and loop control. this control will play video automatically without sound and…

Read More

Facebook style timeline content loading placeholder with CSS

Facebook style timeline content loading placeholder with CSS

In this article, we’ll get the knowledge about Facebook timeline placeholder style using CSS. Many times you have noticed that when you open facebook on your system, you will get content loading placeholder and you always think how that placeholder work. I have found that code and want to share that with you all. you will get all HTML and css code below if you need to use this code in your project or any application. Let’s start and do it: First of all create HTML file and copy paste…

Read More

How to convert HTML to PDF file in PHP

html to pdf conversion

Hello Buddy, In this post we’ll get the knowledge about how to convert HTML to PDF file using PHP with fpdf library. Usually HTML to PDF conversion is a big problem for PHP Developers and every time they look for appropriate solutions, so when reviewing this post you’ll not take more than 10 minutes to convert HTML to PDF.I even have used a library fpgf open and extremely helpful library for developers, Here may be a esay tutorial on the way to convert HTML to PDF using fpdf. First of…

Read More

Resize Image While Uploading with PHP

Resize image

For this purpose you need to do some optimization with image files. Image resize while uploading is one of them. All major website do it in the same way. If a user uploads a 5mb image file they resize it in different sizes and store on there server. It helps them to seed up there website and reduce there budget. Now take a look, how we can do it ourself. PHP and HTML(index.php) This file holds the basic of file uploading html markup and simple php upload handler


Read More

Multiple File Upload with PHP

Multiple file upload

HTML Markup We need to add a simple html form with input type file and submit property. We also need to give file input type file name with box breaks like files[] and need to add a property named multiple. Here accept is an optional property that used to allow users to upload only image files.

PHP Script This php code handles uploaded files and save to the server.

Read More

bind google places autocomplete on textbox without instantiating a google map

Hello, In this post we will learn how to bind google places into textbox without instantiating google map. lets see how to do..

Read More

How to create first HTML Page


step-1: First, Open your text editor and create a new text file, then type something like this:

Step-2: After this save the page like: my_page.html Step-3: find the file you just created and open it with your browser (double-click, or drag the file onto the browser’s icon). Now the browser displays the text from the HTML file you created, and the tab shows the title of the page. This should look something like this, depending on your platform and browser:

Read More