Home  >  Article  >  Web Front-end  >  How to prevent line breaks between two p tags in html?

How to prevent line breaks between two p tags in html?

黄舟
黄舟Original
2017-07-03 11:57:5314105browse

How to avoid line breaks between two p tags in html? If I write two p tags in succession e388a4556c0f65e1904146cc1a846beeaaa94b3e26ee717c64999d7867364b1b4a3 e388a4556c0f65e1904146cc1a846beebbb94b3e26ee717c64999d7867364b1b4a3, then the output result will be
aaa
bbb
and the result I want It’s aaabbb, what should I do, fellow prawns?

You can also use the other two tags, as long as you can achieve this effect, but do not input the type in the tag , such as text with a border.
Please help me, it’s urgent.

It’s too easy. .


aaa

bbb

But it is recommended not to use it this way. The existence of p is originally used as a paragraph. This is the so-called Semanticization. .

aaabbb

Use 45a2772a6b6107b401db3c9b82c049c2 tags
45a2772a6b6107b401db3c9b82c049c2 will not break lines

The above is the detailed content of How to prevent line breaks between two p tags in html?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn