You Are Viewing Posts Under Category: HTML-CSS-PHP-JavaScript

Simple-Toggle-Flip-Switch-(Checkbox-Button)-With-Animated-Transitions-Using-CSS3

Simple Toggle Flip Switch (Checkbox Button) With Animated Transitions Using CSS3

Toggles showed a new trend in UI designing. For several years designers are using the checkboxes for binary input options with simple tick-based UI that is by default. When a user has to select an option, they have to tick a box or when want to un-select the option then have to uncheck the box. [&he...
How-To-Enable-Disable-Form-Elements-To-Edit-View-On-Click-Using-JavaScript

How To Enable/Disable Form Elements To Edit/View On Click Using JavaScript?

Sometimes we need to enable and disable input elements like text box, radio buttons, or checkboxes, to make it readable only or sometimes allow users to fill the form with their data but every time you make a change you need to reload the HTML? The question is, how can we do it dynamically without [...
How-To-Remove-Or-Strip-All-HTML-Tags-In-Content-Using-Pure-JavaScript

How To Remove Or Strip All HTML Tags In Content Using Pure JavaScript?

Normally on the server-side, you could use a series of PHP functions (such as strip_tags) and remove HTML and ugly formatting. However, if you’re unable to use the server (or you use Node.js) to achieve this task, then you can still use Javascript to do it. In this article, you will find 3 way...
How-To-Set-Or-Specify-Referring-Page-Using-Pure-JavaScript

How To Set Or Specify Referring Page Using Pure JavaScript?

Like you are making a web app or writing any program where you need to know that from which page your visitor or use came to the current page then it is possible via pure plain vanilla javascript. The reason will be many behind implementing this logic like to display the personalized experience to t...
How-To-Validate-Identify-Deprecated-HTML-Tags-In-A-WebPage-Using-PHP

How To Validate/Identify Deprecated HTML Tags In A WebPage Using PHP?

Deprecated tags and attributes are those which have been replaced by other, newer, HTML constructs. They are still included in the HTML draft or recommendation but are clearly marked as deprecated. Once deprecated, tags may well become obsolete. The draft “strongly urges” the nonuse of d...
Get-Headers-And-Content-Of-A-URL-Using-Single-CURL-Request-In-PHP

Get Headers And Content Of A URL Using Single CURL Request In PHP

A common question is that Is there any way to get both headers and body for a cURL request using PHP? or Can PHP cURL retrieve response headers AND body in a single request? When an HTTP request has been received by a server, typically the response is sent back to the client. In the […]...
How-To-Parse-A-Remote-URL-WebPage-To-Extract-Desired-Content-Using-PHP

How To Parse A Remote URL WebPage To Extract Desired Content Using PHP?

The domdocument class of Php is a very handy one that can be used for a number of tasks like parsing XML, HTML, and creating XML. It is documented here. In this tutorial, we are going to see how to use this class to parse HTML content. The need to parse HTML happens when are […]...