+ 2
inline and block elements
I don't understand the inline and blocks. Why <h1> is a block element this is for heading. I don't understand the <div> to.
4 Respostas
+ 5
Take the time to go through the Fundamentals, if you have then visit for a second time...you surely gonna get it.
+ 5
The difference between inline and block is that block elements take up their own space on a new line whereas inline elements can be positioned side by side. If you want a block level element to behave as inline you can just use css for that.
Practice a little bit with these elements and set some css styles to them to understand what I'm talking about.
0
Thx I will take a look.
0
Thanks I will practice a little bit.