πŸ“Š HTML
Q. Which element has very similar properties to the DIV element?
  • (A) strong
  • (B) span
  • (C) table
  • (D) All the answers are true
πŸ’¬ Discuss
βœ… Correct Answer: (B) span

Explanation: The difference between span and div is that the span element is usually used for a small piece of code in a line, while the div element is a block and used to group together large pieces of code. Example:
<div id = "myDiv">
<p> Lorem <span class = "paper"> ipsum </span> </p>
</div>

Explanation by: Tina Singh
The difference between span and div is that the span element is usually used for a small piece of code in a line, while the div element is a block and used to group together large pieces of code. Example:
<div id = "myDiv">
<p> Lorem <span class = "paper"> ipsum </span> </p>
</div>

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
273
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Tina Singh
Publisher
πŸ“ˆ
93%
Success Rate