PHP programs for printing pyramid patterns
This article is aimed at giving a PHP implementation for pattern printing....
read more
HTML <iframe> scrolling Attribute
The HTML <iframe> scrolling Attribute is used to specify whether the scrollbar will be displayed or not in the <Iframe> Element. Basically, the scrollbar is used when the content is larger than the Iframe Element....
read more
HTML <table> cellpadding Attribute
The HTML <table> cell padding Attribute is used to specify the space between the cell content and cell wall. The cellpadding attribute is set in terms of pixels. By default, the padding is set to 0....
read more
Design a calendar using HTML and CSS
In this article, we will create a calendar using HTML, and CSS. HTML is a standard for creating the structure of web pages and defining elements like headings, paragraphs, and links whereas CSS (Cascading Style Sheets) complements HTML by controlling the visual presentation, enabling styling and layout customization for a more visually appealing web design....
read more
Design an Event Webpage using HTML and CSS
Events webpage plays a vital role in promoting and booking an event. In this article, we are going to build an event page, it will contain the details of the events like dates, booking options, and view more details button. We will use HTML to give the basic layout like title, details, buttons, etc. and CSS will give a beautiful design to our layout like text decoration, text color, background color, text alignment, margin, padding, box floating, etc....
read more
Convert timestamp to readable date/time in PHP
Problem: Convert timestamp to readable date/time in PHP Solution: This can be achieved with the help of date() function, which is an inbuilt function in PHP can be used to format the timestamp given by time() function. This function returns a string formatted according to the given format string using the given integer timestamp or the current time if no timestamp is given....
read more
JavaScript Rest parameter
The rest parameter is an improved way to handle function parameters, allowing us to more easily handle various inputs as parameters in a function. The rest parameter syntax allows us to represent an indefinite number of arguments as an array. With the help of a rest parameter, a function can be called with any number of arguments, no matter how it was defined. Rest parameter is added in ES2015 or ES6 which improved the ability to handle parameter....
read more
How to Install a Local Module Using npm?
This article shows how to install a local module using npm. Local modules are modules created locally in your Node JS application to create user-required functionality. These local modules include different functionalities of your application in separate files and folders. To link the local module first you must have the local module directory or package directory....
read more
How to Add Image in Text Background using HTML and CSS ?
In this article, we will use HTML and CSS to set the image in the text background. To set the image in the text background, some CSS property is used. To add an image in the text background using HTML and CSS, create a container element (e.g., a `<div>`), set its background to the desired image using CSS (‘background-image property), and adjust the text properties (e.g., color, size) to ensure readability....
read more
Git Cheat Sheet
Git Cheat Sheet is a comprehensive quick guide for learning Git concepts, from very basic to advanced levels. By this Git Cheat Sheet, our aim is to provide a handy reference tool for both beginners and experienced developers/DevOps engineers. This Git Cheat Sheet not only makes it easier for newcomers to get started but also serves as a refresher for experienced professionals....
read more
HTML <td> height Attribute
The HTML <td> height Attribute is used to specify the height of the table cell. If the <td> height attribute is not set then it takes the default height according to content....
read more
Primitive and Non-primitive data-types in JavaScript
In JavaScript, variables hold values, and each value possesses a data type that indicates the nature of the stored information. Broadly, JavaScript classifies data types into two categories: Primitive data types and Non-primitive data types. These distinctions are essential for understanding how data is handled and manipulated within the language. Let us discuss it one by one....
read more