Instruction
1
The first method is the most affordable and simple. He somewhat breaks the rules of HTML, but this does not affect the optimization and indexing pages and displaying text in browsers. Use the tag “& nbsp;” (without the quotation marks and space) to create space. To create the red line, insert this tag 3-5 times each other directly in the page code. As a result, you get indented several spaces. If a code page enter a few spaces directly from the keyboard displayed on the page will be only the first space, so the use of the tag is a very effective way of creating a red line.
2
The second method is masking. You can paste text, such as an underline like “ ____ ” and choose a font color that matches the color of page background. This method has one drawback: when the user selects a paragraph or a whole text, he will see the symbols, disguised as background. Then you can create a transparent PNG of the right size or a JPEG image file, filled with the color corresponding to the background of the site. To ensure that the image is loaded instantly, set its height equal to 1 pixel. Then paste the stretched image in front of text to create the effect of a red line.
3
You can use the indent text-indent and ask him the number of pixels counted from the beginning of the string. This method works on sites with CSS. To use this method, enter in the CSS parameter:.indent{ text-indent: 20px;}then you can add in the HTML tags <p class="indent">Text</p>.
4
Long bulky paragraphs are hard to read on laptop screens and smartphones. Therefore, modern web designers are trying to use the red line, and the separation of paragraphs. To create a new paragraph use the <p> tag at the beginning and </p> at the end of the text that you want to close the paragraph.