Intern
What are the two types of layout you know?
sobes.tech AI
Answer from AI
- Block (markup using block elements such as
div,p,h1, etc.). Elements occupy the full available width by default and are stacked vertically. - Inline (markup using inline elements such as
span,a,img, etc.). Elements only take up as much width as necessary and are placed in a single line until space allows.