As on the website to add the text

As on the website to add the text

Filling of the website contents includes including adding on it new texts and their fragments. Text materials can be placed on separate pages and also to include in structure of already existing. In both cases they can be issued in different styles by means of tags.

Instruction

1. Make the decision on whether paragraphs of the text from each other blank lines should separate. If yes, before each of them place the tag <p> and if is not present - the <br> tag. Consider that if in the HTML-file just to begin a phrase with a new line, without using any of these tags, at display in the browser such transfers will be ignored.

2. Text fragments can be italicized also a bold-face type. In the first case before a fragment place the tag <i>, and in the second - the <b> tag. At the end of a fragment place the same tag, but signed / before a letter, for example: </b>. These effects can be combined, for example, so: <i> italics <b> bold italics </i> just bold </b>. Also tags <s> for the crossed-out text and <u> are provided in new language specifications of HTML - for underlined. They can also be combined with listed above, but they can be ignored by old browsers. It will not interfere with viewing the text added by you, but the corresponding fragments will not be displayed emphasized or crossed out.

3. Also text fragments it is possible to highlight with color and the size. For this purpose use the <font> tag. Transfer it the size and color variables (separately or at the same time), for example: <font size= +2 color=00ff00>. Here is +2 the number of points by which it is necessary to increase a font rather set in the browser by default. Variable value of size can be and negative, for example, if it is equal-1, the font will decrease by one point rather set by default. The value of the color variable consists of three two-bit hexadecimal numbers. The first of them sets intensity of a red component of color, the second - green, and the third - blue. Thus, if this variable matters 00ff00, then color will turn out bright green. At the end of the selected fragment cancel action of the tag: </font>. The size and character color will become set by default again.

4. That the browser ceased to ignore line foldings and also ceased to turn several spaces into one, use the <pre> tag. At the end of the fragment selected thus place the tag </pre>. This reception can be used for placement on the websites of poems and also fragments of initial codes of programs in different programming languages.

Author: «MirrorInfo» Dream Team


Print