id: 2
Category: HTML
Rated:
Text is found on all pages, regardless of the site. However, sometimes you want to change the colors, type, family, size, and underlined or bold/italic. But how do we do this?
Seeing as making text bold, italic, or underlined is the most common change with text, we'll go over this first:
Underlined:
<u>underlined</u>
Bolded:
<b>bolded</b>
Italic:
<i>italic</i>
<em>italic</em>
By adding a slash in the last tag you are ending the tag. It tells the browser "Any text from <b> to </b> is going to be bold. Nothing past </b> should be bold."
Sometimes people wish to change the color, whether it be to make something stand out or just to have a more unique layout. While it's not advised to use this for an entire page, you could try if you wanted.
<font color="color">Text here</font>
<font color="#000000" size="5" style="arial, tahoma">Text here.</font>
It will look like this.It's suggested that for a font you add a secondary (and sometimes 3rd) font family (Arial, Tahoma) in case someone viewing your site doesn't have that font.
This is basic properties of text. I would suggest for a whole page that you use CSS. Working with Text // CSS It's simple enough, and it will make working with colors for Bold text and normal text etc. much easier and faster!


