How to select the text with html

How to select the text with html

For selection of the main thought in oral speech the intonation, and in written – change of a font is used. By means of a markup language of HTML it is possible to select text fragments, varying color, the size and a type of letters. Instruction 1. By default color of a font is black. By means of the text attribute of the tag it is possible to set other color of a font on the page, for example blue: 2. Suitable color can be selected from the table of safe flowers which are used in web-design. Pay attention that the sign # shall face the digital code of the text. If you determined this parameter, all text on the page will be the set color. 3. To highlight with color text fragment on the page, use the color attribute of the tag : the Selected fragment 4. The size attribute of the tag will help you to select the text by means of font size: the largest text Text more small Text by default the smallest text 5. Very popular way of selection of the text is change of style of a font – bold, the italics emphasized, which is crossed out. To achieve it, conclude the necessary fragment in special tags: Bold-face type Italics (oblique font) The crossed-out font The crossed-out font Upper index Lower index 6. For selection of the crossed-out text, except the tag , it is possible to use - the result will be the same. The tag is useful, for example, for writing of degrees of numbers, and - for chemical formulas. 7. It is also possible to select the text, changing style of a font of a certain fragment. Use for this purpose the argument of face of the tag , for example: Text You can look at the list of standard fonts in the Format menu of the MS Word text editor or any other application of a MS Office package.

Author: «MirrorInfo» Dream Team


Print