Skip to content

Category Archives: HTML

The DOM style borderBottom property is used to set or returns the three different border-bottom property such as border-bottom-width, border-bottom-style and border-bottom-color of an element.… Read More
The letter-spacing property in CSS is used to set the spacing behavior between text characters i.e increasing or decreasing the space between characters in a… Read More
The Window moveBy() method is used for moving a window with a specified number of pixels relative to its current coordinates. The Window moveBy() method… Read More
The cols attribute in HTML is used to tell the browser how many average-width characters should fit on a single line i.e. the number of… Read More
The transition effect is used to display the change in the property of an element over a specified duration. The transition-property property is used to… Read More
The selected attribute in HTML is used to specify which option should be by default selected when the page loads. This is a boolean attribute.… Read More
The DOM style color property is used to set or return the color of the text.  Syntax:   It is used to set the color property.… Read More
The open attribute in HTML is used to indicate whether the details will be shown on page load. This is a boolean attribute. If it… Read More
In CSS the border-image-slice property is used to divide or slice an image specified by border-image-source property. The border-slice property divides a given image into:… Read More
The size attribute in HTML is used to specify the initial width for the input field and a number of visible rows for the select… Read More
Example: In this example, we are using a select autofocus attribute which creates the dropdown for GeeksforGeeks courses. HTML <!DOCTYPE html> <html>    <body>   … Read More
The Window name property is used for setting or returning the name of a window. It is generally used to modify the name of a… Read More
The window outerHeight property is used for returning the outer height of the browser window. It includes all the interface elements such as toolbars, scrollbars,… Read More
The Window screenLeft property is used for returning the ‘x’ or horizontal coordinate of a window relative to a screen. It returns a number which… Read More
The Window pageXOffset property is used for returning the pixels of the current document which have been scrolled from the upper left corner of the… Read More