Advice 1: How to change font color html

To specify the font color in pages web sites can be used as the tools provided in HTML and language CSS (Cascading Style Sheets - "Cascading style sheets"). Depending on the specifics of the layout for a specific page it may be appropriate to use one or the other method, and sometimes and their combination.
Instruction
1
Use the attribute color to specify the color to be displayed on a page of text placed between the opening<font> and closing</font> tags defining the font parameters . For example:
<font color="#ff0000">Red font</font>
Here the font color specified hexadecimal code #ff0000, but for basic colors and some named shades you can use text ("mnemonic") English meaning. For example, #ff0000 can be replaced by Red.
2
Specify the desired shade of color in the style attribute, if you want to change the color of text that is placed inside a block or line item page. For example, if a piece of text inside a block element, formed by the div tag, then set the font color:
<div style="color: #7fffd4;">aquamarine Text color</div>
In the case of using the string of the span element to apply the style attribute is necessary in exactly the same way:
Text <span style="color: #7fffd4;">aquamarine</span> colors.
Here, the color can also be specified as hexadecimal codes and text symbols, e.g. #7fffd4 can be changed to aquamarine.
3
Put in the header part of the document or in a separate css file describing styles, specify the font color of the desired blocks of text is a universal and often used in the layout of the web pages method. For example, to specify a blue font color for the entire page, in its header part (between <head> and </head> you can put code like this:
<style type="text/css">

body {color: blue}

</style>
4
Use the attributes class, if the description of the styles necessary to set different color to different parts of the text. For example, if you need to have the ability to insert when you create a document and, further, if it is changed, text blocks, red and blue, can be placed in the header of this code:
<style type="text/css">

.blueText {color: Blue}

.redText {color: Red}

</style>
BlueText redText and here are the names, and the point in front of them means that the names refer to attributes of the class. To paint any part of the text, for example, in red color, it is necessary to add the corresponding tag class attribute with value redText:
<p class="redText">Red text</p>

Advice 2: How to change text in html

Changing text in HTML is done using special tags, and other attributes. Available methods allow you to increase the size of text, change font style and color. And existing descriptors to format give the opportunity to accurately place elements on the page.
Instruction
1
Open the HTML file you want to edit, using is installed on the computer of the editor. To add the required tags you can use the standard "Notepad", right-clicking on the modified document and selecting the submenu "Open with" - > "Browse" - "the Notebook". Among alternative programs for more convenient work out the necessary operations, you can use Notepad++ and Microsoft FrontPage available to download on the Internet.
2
Navigate to the section of text you want to edit and begin typing the necessary descriptors. To change the size and color are available tag attributes <font></font>. Specify the color parameter to set the desired shade. Colors can be entered as according to their English name, and using the palette in hexadecimal format.
3
The face option allows you to change the font type. Size is used to specify the size of the letters on the line from pin 1 to 7 (default is 3). For example:

<font color = “red” face = “fantasy” size = “6”>Modified</font>

In this case the phrase will be painted red up to size 6 and receive a decorative fantasy font.
4
To highlight parts of the text in a separate paragraph use the tag <p></p>. With it, you can adjust the location of the site on the page via an additional parameter align. For example:

<p align = “center”>center Alignment</p>
<p align = “left”>left aligned</p>
<p align = “right”>right aligned</p>
5
For output italic text use the tag <i></i>, by enclosing the word or phase in between the opening and closing descriptors. To make letters bold, use <b></b>. Suitable for underline <u></u>. To cross out text using <strike></strike>. To print the number in Superscript, use <sup></sup>, and displays the appropriate numbers or letters in subscript use the <sub></sub>. All of these tags can be used within <font></font>.
6
To do text wrapping on the line down in the HTML provided descriptor. <br>. To create a separate horizontal line tag <hr>. For example:

<i>Italic text</i><br><strike>Strikethrough</strike><hr>
2*2 = 2<sup>2</sup>
Note
To get black font color in CSS, we don't have anything to add (remember, any color can be achieved by adding to the black). So the black color will be written as #000000. White font color with CSS is obtained through homogeneous mixing of all colors, and is written as #FFFFFF.
Useful advice
The ability to control fonts in CSS is not much wider than in HTML. Nevertheless, using CSS gives several advantages, first and foremost, the use of CSS much easier, as you will soon discover. To set the parameters of fonts used in the HTML FONT element. With it, you can set the font (face attribute), size (size) and color (color).
Search
Is the advice useful?