Web Designing Tutorials

This category includes the collections of web designing and web programming related tutorials.

How To Convert Data Types In PHP

Convert Data Types in PHP

We have already discussed about different types of PHP data types such as Boolean, Integer, String, Float, Array and Object. If you need to convert data types from one type to another type, it is possible in PHP. There are different methods to convert one data type to another data type. You can convert PHP data types either manually  using type casting operators, using type related  functions or automatically with type juggling. Ways To Convert Data Types In PHP You…
Read more

What Are PHP Supported Data Types

What Are PHP Supported Data Types

Data type is a common set of characteristics that are used as common name for data sharing. Hence, all programming language has it’s own data types.Boolean, integer, float, string, array and objects are the common PHP supported data types as other programming languages. Since, you can use different data type specifiers to represent different data types in PHP. Therefore, data type specifier in PHP statement indicates that corresponding data type will be placed in that position. If you want to…
Read more

How To Start Learning PHP – Step By Step Guide

How To Start Learning PHP

PHP is one of the best open source programming language which can be used to develop dynamic websites and web applications. It was created to meet the web developers unmet need for developing the most powerful web applications in order to fulfill it’s increasing demands. It was refining over time to time to meet the needs of growing community of PHP developers. Additionally, because of the language is so popular, it is essential to learn PHP for developers, web programmers…
Read more

How to Create a Simple calculator Using HTML and JavaScript

Here are the steps to create a simple calculator using HTML and JavaScript which can evaluate simple arithmetic on integer numbers. Two types of inputs text and button are used here on a table within a form element and OnClick event was used to insert button values on the screen or to evaluate the numbers. Steps to create a Simple calculator Using HTML and JavaScript 1. At first Insert a <form> element within <body> tag. 2. Create a table using…
Read more

How To Make All External Links Nofollow Using JavaScript

Creating a webpage with proper uses of internal and external links is the oldest and most used way of Search Engine Optimization(SEO). You can create the links in your webpage in two ways using “nofollow” tag, which tell the search engine and crawlers not to follow and crawl your hyperlinks and without using “nofollow” tag, which allows the search engine and crawlers to follow and crawl your hyperlinks. The rel=”nofollow” attribute helps to control the flow of page rank from…
Read more

How To Create Gradients in SVG

In the previous posts, you have learned about filling an object with a solid color, you can also fill SVG shapes and objects with a gradient smooth color transitions along a vector from one shade to another instead of solid color. SVG provides two types of gradients, gradients filled on an object can be linear, where the color transition occurs along a straight line, or radial, where the transition occurs along a circular path.Once you have defined gradients along with…
Read more

What Are The Basic Elements Used In SVG DOM

SVG has separate document’s structure from its presentation. In the previous post, I have already described on different methods used in styling SVG document. In this post I am going to explain on some SVG elements that you can use to make your document’s structure clearer, more readable and easier to maintain. SVG has some elements that let you make groups of shapes and lines that form recognizable named objects, this sort of grouping makes your documents more structured and…
Read more

How To Handle Keyboard Event In JavaScript

The events which are fired form keyboard are keydown, keypress and keyup. The keydown and keyup events are fired when the user presses or releases a key on the keyboard. Despite its name, “keydown” fires not only when the key is physically pushed down. When a key is pressed and held,the event fires again every time the key repeats. The “keydown” and “keyup” events give you information about the physical key that is being pressed. Keypress event fired when the…
Read more

How To Cancel Event Handlers in JavaScript

Along with registering event handlers in JavaScript, you can cancel or remove them using some standard methods. The different methods for handling events if it is set as a property on the object or document element or set as using standard methods addEventListner() and attachEvent() using return value false or using removeEventListner() for addEventListner() and detachEvent() method for attachEvent().   How to Cancel Event Handler as Properties in JavaScript If event handler is registered as a property on the object…
Read more

How To Register Event Handlers in JavaScript

There are two basic ways to register event handler in JavaScript. The first is to set a property on the object or document element that is the event target  and the second is to pass the handler to a method of the object or element. You can set an event handler property in JavaScript code or for document elements. For handler registration by method invocation, there is a standard method, named addEventListner(), that is supported by all browsers except IE8…
Read more