. What is the difference between inline, block, and inline-block elements?

Answers were Sorted based on User's Feedback



. What is the difference between inline, block, and inline-block elements?..

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

. What is the difference between inline, block, and inline-block elements?..

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

Post New Answer

More HTML DHTML Interview Questions

What is the difference between XML and HTML?

0 Answers  


What is header and footer?

0 Answers  


What are the 4 basic html tags?

0 Answers  


How do you create a link that will connect to another web page when clicked?

0 Answers  


What is meta description tag example?

0 Answers  


How we can restrict the browser not to show the previous values entered in textbox?

0 Answers  


What is the current version of html?

0 Answers  


Is html static or dynamic?

0 Answers  


What is html5 geolocation? How to use it?

0 Answers  


How do I hide my source?

2 Answers  


Which is better html or html5?

0 Answers  


What is dom method?

0 Answers  


Categories