hi all,
I want to know that how can i change the font size of the output in php.
suppose this is the snippet
echo 'y'
echo '$ans'
where i want to echo the value stored in variable ans by changing the font size to 12px.so how can i change the font size of ans?
please help!!!
maunica
0
Newbie Poster
Recommended Answers
Jump to PostTry this
$ans = "<font face=verdana size=2><b>Some Text</b></font>";
echo $ans;
or
echo "<font face=verdana size=2><b>";
echo $ans;
echo "</font></b>";
All 5 Replies
muaazab
maunica
0
Newbie Poster
janardhanangoju
0
Newbie Poster
janardhanangoju
0
Newbie Poster
maunica
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.