Hi guys, how can I add a string in an empty font tag? Like if in the second font tag there is no value, I will just insert a <br />
tag. How can I do that?
Thanks :)
I have this HTML code:
<P ALIGN="LEFT">
<FONT FACE="Verdana" style="font-size:10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
Welcome to jQuery Course
</FONT>
</P>
<P ALIGN="LEFT">
<FONT FACE="Verdana" style="font-size:10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
</FONT>
</P>
<P ALIGN="LEFT">
<FONT FACE="Verdana" style="font-size:10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
This is the jQuery Introduction content.
</FONT>
</P>
And I like the output to be:
<P ALIGN="LEFT">
<FONT FACE="Verdana" style="font-size:10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
Welcome to jQuery Course
</FONT>
</P>
<P ALIGN="LEFT">
<FONT FACE="Verdana" style="font-size:10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
<br />
</FONT>
</P>
<P ALIGN="LEFT">
<FONT FACE="Verdana" style="font-size:10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">
This is the jQuery Introduction content.
</FONT>
</P>