How to make the tag p or span not be transferred?

    3 answers 3

    p, span { display: inline; } 
       p, span { white-space: nowrap; } 

      This is if it is necessary that the text inside is not transferred

        The span tag is an inline element. By default, if a block mapping is not specified in css, it is not transferred anyway.

        For the p tag:

         <p style="display:inline">123</p>