Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
AmitDiwan has Published 10740 Articles
AmitDiwan
2K+ Views
We can hide or remove an element in a HTML document with CSS Visibility and CSS Display properties respectively. To the user, there might not seem any difference in using any of the two properties, but there is.CSS Display − none does not render the element on the document and ... Read More
AmitDiwan
4K+ Views
CSS Display None helps developer to hide the element with display property set to none. For element whose display is set to none no boxes are generated for it and even its child elements which might have display set to values other than none.SyntaxFollowing is the syntax for CSS display ... Read More
AmitDiwan
104 Views
The CSS Display property with value inline renders an element according to content’s width, it does not force a line break. An element with display as inline renders as a element.SyntaxFollowing is the syntax for CSS display inline −Selector { display: inline; }ExampleLet’s see an example of CSS ... Read More
AmitDiwan
125 Views
CSS Units come in a variety of categories such as font-sizes, character-sizes, viewport dimensions, etc. Broadly there are two categories of absolute and relative units which consist of above mentioned sub categories.Following are the CSS absolute units −Sr.NoUnit & Name1cmCentimeters (1 cm = 100 mm)2inInches (1 in = 2.54 cm)3mmMillimeters4pcPicas ... Read More
AmitDiwan
80 Views
The height of a line can be defined by the CSS line-height property. It accepts only positive values.SyntaxThe syntax of CSS line-height property is as follows −Selector { line-height: /*value*/ }ExampleThe following examples illustrate the CSS line-height property. Live Demo div * { margin: 1.5em; ... Read More
AmitDiwan
800 Views
The CSS caption-side property is used to vertically position the table caption box. It can take top and bottom as values. By default, table caption is placed at the top.SyntaxThe syntax of CSS list-style property is as follows−Selector { caption-side: /*value*/ }ExampleThe following examples illustrate the CSS caption-side property. Live ... Read More
AmitDiwan
204 Views
In order to display an image marker properly in all browsers, a cross-browser solution is required. The text alignment after the image marker is sometimes distorted. To achieve a uniform output, we specify the image to be used as a marker as background and align it accordingly.ExampleThe following examples illustrate ... Read More
AmitDiwan
899 Views
The CSS list-style-image property is used to set an image as a marker for the list item.SyntaxThe syntax of CSS list-style-image property is as follows −Selector { list-style-image: /*value*/ }ExampleThe following examples illustrate CSS list-style-image property − Live Demo ul { width: 150px; list-style-image: url("https://www.tutorialspoint.com/images/Servlets.png"); ... Read More
AmitDiwan
122 Views
The CSS list-style-type property is used to style the marker of list items. We can apply these styles to both unordered and ordered lists.SyntaxThe syntax of CSS list-style-type property is as follows −Selector { list-style-type: /*value*/ }ExampleThe following examples illustrate the styling of lists Live Demo ol ... Read More
AmitDiwan
2K+ Views
CSS background properties help us style the background of elements. The CSS background property is a shorthand for specifying the background of an element. background-color, background-image, background-repeat, background-position, background-clip, background-size, background-origin and background-attachment together comprise the CSS background properties.SyntaxThe syntax of CSS background property is as follows−Selector { background: ... Read More