PHP

Count HTML table rows using PHP

Posted on

In this post we are going to discuss about how to count HTML table rows using PHP. You have to put the whole HTML table/content in a PHP variable using file_get_contents() method like the following: In the code above file_name.html is the name of your HTML file. After this use the default substring search and […]

JavaScript

Print webpage using JavaScript

Posted on

In this tutorial I am going to show you how to print webpage using Javascript. To do this we will use window.print() Javascript method. Let’s have a look at the live demo. STEP 1: Print webpage using JavaScript Write down the following HTML code in the body section of your webpage. STEP 2: Print webpage […]

CSS

Bubble animation using CSS

Posted on

In this post I am going to discuss about how to create bubble animation using CSS. Before going to explain our code let’s look at the live demo. STEP 1 At first write the following code into the body section of your HTML page. STEP 2 Now paste the following CSS code into the head […]