How to Change Text Selection Color with CSS

How to Change Text Selection Color with CSS

Whenever a user selects a website text to highlight, it automatically shows some background and text color. The default color is blue for background and white for text. If you have not noticed it before just select the text and you will get it. So, In this tutorial, I am going to show you how … Read more

How to Get Current Date and Time in JavaScript

How to Get Current Date and Time in JavaScript

In this tutorial, I am going to show you how you can get the current date and time in JavaScript. Apart from this, you will also see how you can format the date and time in JavaScript. I will also show you how to get a current year, month, date, hours, minutes, seconds. Get Current … Read more

Make Div Stick to The Bottom of Page

Make Div Stick to The Bottom of Page

As a web developer, everyone need sometimes to make a div stick to the bottom of a web page. Generally, I got a lot of questions related to this topic but don’t found the complete guide. In this tutorial, I am going to share with you a complete tutorial on how to create a fixed … Read more

How to Parse XML in PHP

How to Parse XML in PHP

In this tutorial, I am going to show you how you can parse an XML into PHP. An XML parser is a program that allows to translate an XML doc or code into XML Document Object Model(DOM) object. In PHP, we have an extension called SimpleXML that allows us to manipulate and get XML data. … Read more

How to Create a Session Using JavaScript?

How to Create a Session Using JavaScript

Do you want to use session in JavaScript? In this tutorial, I am going to show you how you can do that. You can use LocalStorage or sessionStorage for maintaining the sessions in JavaScript. As you know that JavaScript is a client side scripting language, so this session will be stored in the browser. In … Read more