MCQs > IT & Programming > CSS > What is the main difference between styling a <span> and a <div> element?

CSS MCQs

What is the main difference between styling a <span> and a <div> element?

Answer

Correct Answer: <span> is an inline element by default, while <div> is a block element.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

CSS Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

CSS Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it