Advice 1: How to make the underscore

In hypertext markup language (HTML - HyperText Markup Language), which is used to create web pages, provides the means to highlight the underline part of the text. Often for the same use and language cascading style sheet (CSS - Cascading Style Sheets).
How to make the underscore
In HTML, there is a special tag that is designed to underline text placed between the opening<u> and closing</u>) halves. In the simplest version of the code page that uses this method underscores, might look like this:<u>this is underlined text</u>
In addition, any tag line or block page element, you can specify the attribute name style and place style description of the contents. Among other stylistic descriptions there is a text selection underlined. In css language description underlined text looks like this:text-decoration: underline;for Example, the paragraph tag of the text with such an indication might look like this:<p style="text-decoration: underline">a Whole paragraph of underlined text</p>
However, the description of styles rarely are placed inside HTML tags, usually they stand in separate blocks of descriptions. Such blocks are placed in the header of the web document (between the tags <head> and </head>) or saved in external stylesheets with the css extension. To all text on the page was underlined, this description should be placed inside the HTML selector:<style type="text/css">
html {text-decoration: underline;}
</style>But this is rarely necessary, so often as a selector to specify the name of any class. For example:<style type="text/css">
.und {text-decoration: underline; color: Red}
</style>Here, announced that the text inside each tag has the class und must be painted in red and underlined. Most often classes for different text manipulation are used in conjunction with the span tag. For example, the HTML paragraph of text that is highlighted , by underlining, might look like this:<p>paragraph Text with a slice of <span class="und">red underlined</span></p>

Advice 2: How to make underline in the text

Underlining is used to highlight a letter, word or piece of text and applies the formatting. Some text editors and file formats can't work with the formatting - for example, the standard Windows Notepad and txt format. In other cases, the selection of the text by an underscore - one of the simplest operations.
How to make underline in the text
Start a text editor that has formatting functions of the text - for example, Microsoft Office Word. Load a document in which you want to highlight by underlining the letter, word, or any part of the text to call the appropriate dialog, you can use ctrl + o. Find in the text the desired track and select it. Then on the Main tab, click the icon underscore - it shows an underlined letter "H". If you need any non-standard option to underline, then click the selected snippet, right-click and select the context menu "Font". In the window that opens has a drop-down list Underline - select any of the 17 options, and then click "OK".
If you want to emphasize text in an HTML document, the code necessary to add the appropriate tags. Before the first character of the fragment that you want to emphasize must be the opening tag <u> and underlined sign, it is necessary to insert a closing tag </u>. For example:
<p>This is a paragraph with <u>underlined</u> text.</p>
When used to edit pages in the content management system required tags are inserted automatically if the edit to produce in visual mode (WYSIWYG mode). In this case, it is sufficient to highlight the desired track and click the underline button in the editor bar.
If you highlight words or letters should be in the message sent to a forum or chat, find the appropriate button in the edit panel of the message. Sometimes it is only present in the extended the edit form. As a rule, the icon depicts the English letter U is underlined - click it, select the desired text fragment.
Is the advice useful?