HTML font size?? What's the difference with size = "+4" and size = "4"?
-
i am just confused with the operator symbols in HTML font size.. <font size = +4> Some text </font> <font size = 4> Some text </font> <font size = ...show more
-
Answer:
As others have pointed out, the "<font>" tag is deprecated. However, to answer your question: size="4" means "set the font size to 4". size="+4" means "set the font size to 4 larger than the current size". size="-4" means "set the font size to 4 smaller than the current size". In other words, "+4" and "-4" are relative sizes, while "4" is an absolute size. - kb -
OHAMHFJXW64XQ5NTOSHQ4JO32A at Yahoo! Answers Visit the source
Other answers
Don't use the <font> tag as it has been deprecated under HTML 4.0.1. You should style your text with CSS (Cascading stylesheets). For example: body { font-family:"Lucida Grande", Arial; font-size:14px; color:#666 } body span { font-size:12px } <body> Normal text...<span>Smaller text...</span> </body> However, nowadays many people resort to using the em as opposed to the px to size text as it, for example, is more flexible for people who decide to zoom in and out of your page. Have a look here for more information on css units: http://www.w3schools.com/css/css_units.asp And have a look here for more information on styling text in general: http://www.w3schools.com/css/css_font.asp Hope this helps.
Matthew
No purpose and a poor way to do it. I recommend you learn to use CSS ( http://www.w3schools.com/CSS/tryit.asp?filename=trycss_font-size ) to control this. Consider using em sizes so that folks with visual challenges can easily resize your pages.
Related Q & A:
- What's the difference between prim and dijkstra's algorithm?Best solution by Stack Overflow
- What's the music off the grand theft auto 4 advert?Best solution by en.wikipedia.org
- What's the difference between Current (I) and Potential Difference (V?Best solution by diffen.com
- What is the difference between ''Size" and "Size on Disk?Best solution by Yahoo! Answers
- For a U.S. Passport, what's the difference exactly between a passport book and a passport card?Best solution by ChaCha
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.