What are differences between div and span?
Answer / Anurag Gupta
The <div> and <span> elements serve similar purposes as inline and block-level containers, but they have some differences. <div> is a block-level element that can contain other block and inline elements. <span> is an inline-level element that only contains inline elements.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of an iframe tag?
Does html5 require closing tags?
Can I put markup in ALT text?
Describe the usage of <footer>, <article>, <section>, and <header> html5 semantic elements.
How can I use tables to structure forms?
What is the difference between html4 and 5?
What is the tag for image in html?
What is in html?
What is action tag in html?
How do I center a div horizontally?
What are the web storages present in html5?
Is html client side or server side?