supertrucker Posted October 1, 2008 Share Posted October 1, 2008 I'm just curious, because I didn't see any notable difference in the tutorials. What is the difference between the <span> tag and the <div> tag? Why use one over the other, I guess I should ask?Thanks,ST Link to comment Share on other sites More sharing options...
Jerry62704 Posted October 1, 2008 Share Posted October 1, 2008 I'm just curious, because I didn't see any notable difference in the tutorials. What is the difference between the <span> tag and the <div> tag? Why use one over the other, I guess I should ask?Thanks,ST<span> is an inline tag. You would use it to mark a section without going to a new line.<div> is a block tag. It forces a new line after it is used.They have totally different purposes. You might use span to highlight part of a sentence. You might use div to group several paragraphs together. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.