This post will help you to identify and eliminate white space and line break in a paragraph.
example :
If the html paragraph is as below
<p> this is how we identify white space and line break</p>
<p>
this is how
we identify
white space
and line
break
<p>
In order to eliminate white space and line break use the tag <code>
<p> this is how we identify white space and line break</p>
<code>
this is
how we identify
white space
and line
break
</code>
In order to eliminate white space and line break use the tag <code> and <pre>
<p> this is how we identify white space and line break</p>
<code>
<pre>
this is
how we identify
white space
and line break
</pre>
</code>
you can try the codes in a text editor and see the result.
example :
If the html paragraph is as below
<p> this is how we identify white space and line break</p>
<p>
this is how
we identify
white space
and line
break
<p>
In order to eliminate white space and line break use the tag <code>
<p> this is how we identify white space and line break</p>
<code>
this is
how we identify
white space
and line
break
</code>
In order to eliminate white space and line break use the tag <code> and <pre>
<p> this is how we identify white space and line break</p>
<code>
<pre>
this is
how we identify
white space
and line break
</pre>
</code>
you can try the codes in a text editor and see the result.
No comments:
Post a Comment