When to use instead

?

前端 未结 12 1970
故里飘歌
故里飘歌 2020-11-30 20:53

As the question indicates, if I have some text that I want to add in the HTML then when should I use

and when should I use ?<

12条回答
  •  情深已故
    2020-11-30 21:41

    tag is a block-level element but tag is inline element.Normally we use span tag to style inside block elements.but you don't need to use span tag to inline style.you have to do is; convert block element to inline element using "display: inline"

提交回复
热议问题