⊗mkPmCLFLI 42 of 250 menu

Red line of text in CSS

Now let's figure out how to make a red line, that is, an indentation of the first line of text. The text-indent property is intended for this. Let's use it to make a red line for paragraphs:

<p> some long text </p> <p> some long text </p> <p> some long text </p> p { text-indent: 50px; text-align: justify; width: 400px; }

:

Try this feature out for yourself.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline