CSS :root Selector

Setting the background color for the HTML document using :root selector in CSS.

The :root selector in CSS is a pseudo-class that selects the root element of an HTML document, which is always <html> element. In other words, the :root pseudo-class selects the first element in the document. However, you do not use…

Read MoreCSS :root Selector

Data Types in PHP

PHP data types: Scalar, Compound, and Special data types.

Data types are one of the most fundamental concepts in PHP, as well as in any other programming language. They define how the language stores the different kinds of data. When you write a program in PHP, you may need…

Read MoreData Types in PHP

Variables in PHP

Syntax to define and initialize the value of variables in PHP.

In this tutorial, you’ll learn about variables in PHP, which is one of the basic building blocks of any PHP program. You will understand how will you define and use within the PHP program. A variable in PHP or any…

Read MoreVariables in PHP