Thursday, December 11, 2008

How can I add html tags inside my php code

Can I add html tags inside my php code? Yes almost any html tag.
To use html tags inside php you can use echo to print them.
Look at the following code.

<title>Untitled Document</title>



echo '<strong>This is bold letters</strong>';

echo '<h1>This is heading letters</h1>';

echo '<div style="border: solid #000000;">
This is inside a div tag</div>';



Like above example you can use any html tags.

Get custom programming done at!

No comments:

Post a Comment