Hello Ragav www.klstinc.com
Step 1: For the left align text use a <p>, <div> tag with style attribute value set "float:left". For example - <div style="float:left">Hello Ragav</div>
Step 2: For the right align text use a <p>, <div> tag with style attribute value set "float:right". For example - <div style="float:right">www.klstinc.com</div>
Step 3: Clear your float by adding the line below <div style="clear: both;"></div>
In Summary, to implement the above left and right aligned text in same line the final HTML block should look something like below:
<div style="float:left">Hello Ragav</div>
<div style="float:right">www.klstinc.com</div>
<div style="clear: both;"></div>
No comments:
Post a Comment