Cognizant Interview Question

Differ b/w block and inline with example?

Interview Answer

Anonymous

Oct 2, 2024

Div is block element which occupies the full row width where span is inline element which covers only neccessary