html sizes?

ok well i know how to do html colors now but how would you do sizes?

Public Comments

  1. <font size="4">makes size 4 text</font> <font size="2">makes size 2 text</font> <font size="1">makes size 1 text</font>
  2. http://www.htmlhelp.com/reference/css/font/font-size.html
  3. That really depends on how you did the colors and other factors. If this is a my space question you probably want to use CSS commands and add the font-size parameter for use in the specific divisions.
  4. <font size=X> <H1>A</h1> <H2>B</h2> <h5>C</h5>
  5. <font> tags were out obsolete when HTML 4 came out in 1997. They only work now in browsers that use "Quirks Mode" for poorly writtend code. Properly you should use CSS (cascading style sheets) to address style issues, and only HTML for content. Do a web search on CSS and you will find plenty of tutorials. CSS is much better than old HTML 3.2 font tags. And it works on all browsers on all platforms. Don't ever thing what your code does in IE will be the same in Firefox or Mac's Safari. Here is a css in-line style. <h1 style='font-family:Verdana,sans-serif; font-size:14pt; color:blue; font-weight:bold'>My Heading</h1> <p style='font-family:Verdana,sans-serif; font-size:10pt; color:black'>Now is the time for all good men to come to the aid of their country.</p>
Powered by Yahoo! Answers