Answer Posted / nashiinformaticssolutions
1. inline: Using this we can display any block-level element as an inline element. The height and width attribute values of the element will not affect.
2. block: using this, we can display any inline element as a block-level element.
3. inline-block: This property is similar to inline, except by using the display as inline-block, we can actually format the element using height and width values.
4. flex: It displays the container and element as a flexible structure. It follows flexbox property.
5. inline-flex: It displays the flex container as an inline element while its content follows the flexbox properties.
6. grid: It displays the HTML elements as a grid container.
7. none: Using this property we can hide the HTML element.
Below are some of the display types which are rarely used:
1. table
2. inline-table
3. table-cell
4. table-column
5. table-row
6. inline-grid
7. list-item
8. inherit
9. initial
10. table-caption
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to include a frameset inside another frameset?
What is the use of span in html and give one example?
What are the 4 basic html tags?
Hi Looking for web developer..who has hands on experience with HTML/DHTML, CSS,Javascript,XML. minimum 3.8yrs is mandatory. can reach..srisanh@gmail.com
How can I create a website?
How do I make flash always enabled?
Write an html code to create an e-mail link?
What is the purpose of html?
Difference between :first-child and :nth-of-child
How do you create text on a webpage that will allow you to send an email when clicked?
Do web developers use html?
What is logic match tag?
What is a tag for a website?
What is div id?
Explain new form input types in html5.