Hello, I am a self-taught home developer:
Question:
As it seems, most CSS people like to use DIVs as a division between styles.
So, they would have a style for a div tag that would hold some other styles
and other tags...
One thing I fail to understand about people being so addicted to DIV is that
it this tag is similar to <P> tag; it creates a new paragraph whenever you
use DIV. What is a difference then between P and DIV?
I tend to use SPAN because it does not generate any line break.
Am I missing something? Why people like DIV so much? Please explain because
I do struggle for understanding of this topic.
Thank you.
							
						
					Question:
As it seems, most CSS people like to use DIVs as a division between styles.
So, they would have a style for a div tag that would hold some other styles
and other tags...
One thing I fail to understand about people being so addicted to DIV is that
it this tag is similar to <P> tag; it creates a new paragraph whenever you
use DIV. What is a difference then between P and DIV?
I tend to use SPAN because it does not generate any line break.
Am I missing something? Why people like DIV so much? Please explain because
I do struggle for understanding of this topic.
Thank you.
 
	
Comment