Saturday 15 March 2014

css - DIsplaying paragraphs in html without having to use BR tags -


This is really required is a simple question to what I put br tags in your HTML to So that the parameters can be separated from one line space between them?

  & lt; P & gt; This is just a test example is a new paragraph, the third paragraph & Lt; / P & gt;  

However, in my website it removes all paragraph line breaks. To get a break I have to insert two line breaks in my code to display it.

  & lt; P & gt; This is just a test example & lt; Br / & gt; & Lt; Br / & gt; This is a new paragraph & lt; Br / & gt; & Lt; Br / & gt; This is the third paragraph & lt; / P & gt;   

what Pre without using the tags & lt; Br> There is no way to insert text / font formatting.

& lt; Pre & gt; Tags, you can use to honor line breaks.

  p {white-space: pre; Word-break: break-word; }  
  & lt; P & gt; This is just a test example. Advertise on this website SAP Spian Arku, Laoret Ijest Lobortis Ank Plleneskes Lagts nibh Fugit, Altraisis AC, Portitr dirty is an excellent way, which is free for the free one-stop triple Cras iaculis nec tortor sed result integer Yarnr Pelredesk Apart from this, we are playing an important role for all the people. This is the third paragraph & lt; / P & gt;  


No comments:

Post a Comment