Skip to content

Category Archives: CSS

The accept-charset attribute is used to define the character encoding and is used for form submission. The default value of the accept-charset attribute is “UNKNOWN”… Read More
There is no placeholder attribute in ‘select’ tag but it can make the placeholder for a ‘select’ box. There are many ways to create the… Read More
The onoffline event attribute works when the browser work in offline mode. It is supported by <body> tag only. It is an opposite of ononline… Read More
Cell Padding The cell padding is used to define the spaces between the cells and its border. If cell padding property is not apply then… Read More
Creating an overlay effect simply means putting two div together at the same place but both the div appear when needed i.e while hovering or… Read More
To disable a link using CSS, pointer-events property can be used, which sets whether the element in the page has to respond or not while… Read More
The “+” sign selector is used to select the elements that are placed immediately after the specified element but not inside the particular elements. Note:… Read More
The checked selector is used to select all checked elements in input tag and radio buttons. This selector is used with radio buttons, checkbox and… Read More
The onpaste attribute works when some content are paste in an element. This event attribute is supported by all HTML elements. It is mostly used… Read More
In this article, we will learn how to align the text vertically using CSS & Although CSS2 doesn’t support Vertical aligning. But, we can align… Read More
In this article, we will know how to how to center the div horizontally using CSS. To Horizontally centered the <div> element: We can use… Read More
The placeholder selector in the CSS pseudo-element is used to design the placeholder text by changing the text color and it allows to modify the… Read More
Making text unselectable is an easy task. All we have to do is to disable the selectivity of the text on our webpage for all… Read More
Basic property of CSS: position: The position property specifies the type of positioning method used for an elements. For example static, relative, absolute and fixed.… Read More
This attribute works when an object has been loaded. This attribute mostly used within the <body> element to execute a script. It can be used… Read More