,

,

… tags, inline within paragraphs (

)

前端 未结 6 523
遥遥无期
遥遥无期 2020-12-03 11:04

I\'m trying to have tags inside paragraphs, like:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam pulvinar

6条回答
  •  北海茫月
    2020-12-03 11:07

    Just place a h2 tag at the starting of paragraph. For eg.

    The p tags are automatically breaking as soon as the html parser reaches the hx tags. if you really want to do this you must close the p tag before the hx tag. then set p and hx to display inline!

    is the para and we want automatically breaking enclosed with h1 tag..

    The p tags are

    automatically breaking

    as soon as the html parser reaches the hx tags. if you really want to do this you must close the p tag before the hx tag. then set p and hx to display inline!

    but we cant achieve the style we gave to p tag as p tag automatically breaks.

    Note: h1 tag should be styled as

    h1{ display:inline; !important}
    

提交回复
热议问题