Computers, Programming
Formatting text in html format
When you design an HTML document, you should not forget about such an important concept as text formatting. Thanks to him, the text will look neat and effective. Of course, you can always leave the default formatting. But in this case, it may turn out that the text will look unpresentable.
Let's start, perhaps, with the selection of headings and subtitles. Headers are specified by a pair tag . The size of the header depends on the digital value. The
tag will help create the maximum size header, and the
tag will be the minimum. The header text must be between the tags -
The paragraph is formatted with the pair
tag. The text should also be between the tags. For example:
Paragraph 1 p>.
Using the paired tag, you can specify the font color and size. They are defined by special values: the font is the face parameter, the size of the letters is size, and the text color is the color parameter.
After each of these parameters, an equal sign is placed, and the value itself is quoted. At the same time, when setting the face parameter, you should specify the font name. For example: face = "georgia".
The size of the letters is set by numbers from 1 to 7. Here it is worth noting that the largest font size is 7, and the smallest is 1.
Text formatting also implies its alignment. The align attribute is used to align correctly. It is prescribed both in the header tag and in the paragraph tag, depending on what exactly needs to be aligned. The align attribute has these values: left helps to align the text to the left. Center will help center, right - on the right, but justify on the width.
In this case, these parameters, like the rest of the values, are quoted and put after the equal sign in the align attribute. For example: align = "left".
When formatting text, do not forget to highlight keywords and phrases. To do this, use the pair tags:
- Specifies a boldface;
- help to highlight the text in italics;
- Underline your text.
Selecting words, sentences and paragraphs, you should place the text between these tags.
Making out the written, do not forget to perform text formatting. Html-markup allows you to quickly and accurately complete the work, defining its main parameters. This will help you make the text vivid and readable. Help your readers save time and effort when searching for information in the text.
Similar articles
Trending Now