Differences between and

前端 未结 4 1381
忘掉有多难
忘掉有多难 2021-01-18 05:18

There are several articles about this topic but I\'m not able to understand the relevant difference between and

. The s
4条回答
  •  既然无缘
    2021-01-18 05:18

    is a block level element like div. Which means that it will start at a new line if you put it in a document flow. For example, if my markups are:

     Henry Ford said 
    Most people spend more time and energy going around problems than in trying to solve them.
    in the 20th century

    They will be shown on browsers like this blockquote Example

    is an inline element like span. So if my markups are

     Henry Ford said Most people spend more time and energy going around problems than in trying to solve them. in the 20th century
    

    The result will be

    q example

提交回复
热议问题