Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
how do i change the font and font colour and size etc of a sentence in html codes?
is it something like this?
{font-family:georgia; font-size:10px; color:488649;} blahblahblah {/font}
lol i need help coz that doesnt work..
pls help asap!!
<3
4 Answers
- Helpful ChadLv 51 decade agoFavorite Answer
<font> tags are being phased out, they are being replaced with <span> and <div>
<span style='font-family:georgia; font-size:10px; color:488649;'>Test</span>
That will work perfectly, it will only control the elements within the <span> tag.
Take care,
Chad
- Anonymous1 decade ago
<font size="1"> or <font size="large"> or <font size="+1"> or the best way is to use css: <span style="font-size: 1.1em">
Hope that helps some... I see you're trying to use the CSS, in which case you need to put that font-size in the correct element (a, td, h1, etc..)
Or you can create your own style:
<html>
<head>
<style="text/css"
#mystyle { font-size: 10px; }
</style>
</head>
<body>
<span class="mystyle">10px text!</span>
</body>
</html>
... etc
Edit: I accidentally put a <font> tag where I meant a <span>, which is why the person below doesn't agree with me. It was incorrect. Definitely go with CSS where possible. Spans and divs are modern style.
- Anonymous1 decade ago
You can do it with HTML or CSS...
HTML:
<FONT FACE="Arial" SIZE="3" COLOR="#FFCC33">Text</FONT>
CSS Inline:
<P STYLE="font-family: arial; font-size: 12pt; font-weight: bold; color: #FFCC33;">
Text
</P>
- ?Lv 45 years ago
o.k., idk the place u have been provided that yet its not suitable, you desire to apply <p type="font-length: 30px; shade: white">your textb86493d2ae255a2bb7ea61e7fb77c10 Thats utilizing the main present day types, you could probably be utilizing a deprecated type type.