docs.unity3d.com
    Show / Hide Table of Contents

    Line Indentation

    The <line-indent> tag inserts horizontal space directly after it, and before the start of each new line. It only affects manual line breaks (including line breaks created with the <br> tag, not word-wrapped lines.

    You can specify the indentation in pixels, font units, or percentages.

    The </line-indent> closing tag ends the indentation of lines.

    Example:

    <line-indent=15%>This is the first line of this text example.
    This is the second line of the same text.
    


    Indent every new line, with one tag

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023