In how many ways you can display HTML elements?
Answer / 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 |
Is perl a dynamic language?
What is li a in html?
What is html5 tag?
How many web browsers does html5 support?
How to create emails links?
What is the use of xhtml modules?
Why to use method – lineto in canvas?
Is xhtml a programming language?
What is contained in HTML markup?
Explain what the use of canvas element in html5?
How do you pronounce hermes?
Q1: Design a website for newspapers and magazine portal which takes subscription order online through a credit card and makes home delivery. It should include the following: • Home page containing pull down menu box for the links using VBScript. • It should display the current date and time. • The home page should have link of the current news, archieve, FAQ, sitemap, weather, business, sports, world news, etc. • It should have also search faculty • The breaking news should appear scrolling on the top form. • The home page should be divided into a number of frames for displaying and each frame should be filled up with different back ground colour. • The logo of the company should be displayed on the top • The middle frame should be used for displaying video/image • The headline should be at the right side of the page • The lowermost frame should be used for showing links of the most popular articles of the month. • Perform validation checks on credit card number.