. What is the difference between inline, block, and inline-block elements?
Answer Posted / glibwaresoftsolutions
• Inline: Does not start on a new line, e.g., <span>.
• Block: Starts on a new line, takes full width, e.g., <div>.
• Inline-block: Behaves like an inline element but respects block formatting properties.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the differences between cell spacing and cell padding?
What is footer in html?
What are the another tags provided for better structuring in html5?
What is difference between html 4 and html 5?
What are the formatting tags?
What is output element in HTML 5?
In HTML 5 we do not need DTD why?
What do tds mean?
What is nav in html?
What is the difference between fontsize and font size in dhtml?
What is purpose of getCurrentPosition() method of geolocation object of HTML5?
What is layer in html?
How do I make a form so it can be submitted by hitting enter?
Explain new form elements in html5.
What happens if there is no text between the tags?