View Full Version : div verse span tag

10-30-2002, 03:18 PM
Generally I know the differences between these two tags.

What I was wondering, is when I want to apply a class from my CSS file, which is better to use?

<div class="aclass">Sentence</div>
<span class="aclass">Sentence</span>

I'm not that knowledgeable, so pls forgive it this is a silly question :)

10-30-2002, 04:05 PM
span is inline, div is block. Other than that, they both are by default unstyled.

10-30-2002, 04:19 PM
Okay then, thanks for your input :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum