. 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 doctype in html?
Why do we need HTML 5 server-sent events?
What is description list?
What you mean by semantic html?
What is formatting in html? Explain some formatting tags?
What is alt text used for?
What is the purpose of header and footer tags?
Why do we use html5?
What is <!doctype>? What are the different types of <!doctype> that are available?
What are the main html tags?
If I do not put <! DOCTYPE html> will HTML 5 work?
How many types of html tag are there?