0

What are the block elements?

19th Mar 2017, 2:42 PM
SK.Hafeez
SK.Hafeez - avatar
7 Answers
+ 2
Block elements are elements that start on a new line. They can contain inline elements however, they cannot be contained within an inline element. Hope this help!
19th Mar 2017, 3:03 PM
Thomas John
Thomas John - avatar
+ 2
Inline elements are elements that do not start on a new line so things like: <b>, <a>, <strong>, <img>, <input>, <em>, <span>
19th Mar 2017, 3:07 PM
Thomas John
Thomas John - avatar
+ 2
If you want to insert an image on a new line you can use '<br/>' after the previous element
19th Mar 2017, 3:11 PM
Thomas John
Thomas John - avatar
+ 1
what are inline elements?
19th Mar 2017, 3:05 PM
SK.Hafeez
SK.Hafeez - avatar
+ 1
The '<br/>' tag is a new line. It's puts the element(s) after it onto the next line
19th Mar 2017, 3:19 PM
Thomas John
Thomas John - avatar
0
but if you want to insert a image you start it on a new line
19th Mar 2017, 3:09 PM
SK.Hafeez
SK.Hafeez - avatar
0
OK tell me what is a new line?
19th Mar 2017, 3:12 PM
SK.Hafeez
SK.Hafeez - avatar