. What is the difference between inline, block, and inline-block elements?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• 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 |
Answer / 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 |
What is the difference between XML and HTML?
What is header and footer?
What are the 4 basic html tags?
How do you create a link that will connect to another web page when clicked?
What is meta description tag example?
How we can restrict the browser not to show the previous values entered in textbox?
What is the current version of html?
Is html static or dynamic?
What is html5 geolocation? How to use it?
How do I hide my source?
Which is better html or html5?
What is dom method?