简体   繁体   English

如何在html中换行?

[英]how to wrap text in html?

in jquery accordion control I am displaying one image along with description.but description is coming below the image.I want to display inline with the image. 在jQuery手风琴控件中,我正在显示一张图像以及描述。但是描述在图像下方。我想与图像内联显示。 my code- 我的代码-

<div>
    <p>
    <!-- avatar -->
    <img src="images/manage.jpg" alt="" />
    <!-- /avatar -->
      Airlink's Managed Services supports a "build-operate-transfer" model, enabling service providers to quickly and cost-effectively build out a large-scale, broadband wireless network by initially outsourcing operational functions to Pronto and eventually transferring operations in-house, if desired. 
</br></p>
      As part of the service, Airlink provides all the back-office operations for customers from its Network Operations Center (NOC), leveraging its leading UniFi OSS platform.</p>
    <p>
      <a href = "#" >Read More.. </a>
    </p>
</div>
<img src="images/manage.jpg" alt="" style="float:left;" />

And I think, you should move image out of <p> 而且我认为,您应该将图像移出<p>

Instead of </br> use <br /> 代替</br>使用<br />

第二种方法:

<img src="images/manage.jpg" alt="" align="left" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM