Monthly Archives: June 2022

Box Modeling Using CSS.

All HTML elements can be considered as boxes. The CSS Box Model In CSS, the term “box model” is used when talking about design and layout. The CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders, padding, and the actual content. The image below illustrates the… Read More »

Category: CSS

How to Add CSS Height, Width and Max-width?

The CSS height and width properties are used to set the height and width of an element. The CSS max-width property is used to set the maximum width of an element. CSS Setting height and width The height and width properties are used to set the height and width of an element. The height and width properties do not include padding, borders, or margins. It… Read More »

Category: CSS

How to Add Padding in DIV?

Padding is used to create space around an element’s content, inside of any defined borders. CSS Padding The CSS padding properties are used to generate space around an element’s content, inside of any defined borders. With CSS, you have full control over the padding. There are properties for setting the padding for each side of an element… Read More »

Category: CSS

Add Margin in Div Using CSS

Margins are used to create space around elements, outside of any defined borders. CSS Margins The CSS margin properties are used to create space around elements, outside of any defined borders. With CSS, you have full control over the margins. There are properties for setting the margin for each side of an element (top, right, bottom, and… Read More »

Category: CSS

How to Add Border in element and div?

he CSS border properties allow you to specify the style, width, and color of an element’s border. CSS Border Style The border-style property specifies what kind of border to display. The following values are allowed: dotted – Defines a dotted border dashed – Defines a dashed border solid – Defines a solid border double – Defines a double border groove – Defines… Read More »

Category: CSS

How To Add Background in HTML Page?

The CSS background properties are used to add background effects for elements. In these chapters, you will learn about the following CSS background properties: background-color background-image background-repeat background-attachment background-position background (shorthand property) CSS background-color The background-color property specifies the background color of an element. Example The background color of a page is set like this: <!DOCTYPE html> <html>… Read More »

Category: CSS

How To Add Comment in CSS

CSS comments are not displayed in the browser, but they can help document your source code. CSS Comments Comments are used to explain the code, and may help when you edit the source code at a later date. Comments are ignored by browsers. A CSS comment is placed inside the <style> element, and starts with /* and ends with */:… Read More »

Category: CSS

How To Online Booking Railway Reservation

The railway is the most affordable way to travel in India, and as a trustworthy travel brand, EaseMyTrip understands the value of your money and desire to travel. To make your train ticket booking more convenient, we are pleased to tie up with IRCTC. Customer can book their IRCTC train tickets in the most convenient… Read More »

How to Book a Bus Online | Bus Reservation

Bus Booking | A to Z of Booking Online Bus Tickets Enter the Source and Destination locations in the “From” and “To” tab respectively. Enter the “Date of Journey” and hit the “Search” button to check available bus tickets online. Select a bus of your choice from the list of buses that are displayed. Select… Read More »