Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css second line indent

<!--Please give a thumbs up if this was helpfull-->

<!DOCTYPE html>
<html>
  
<head>
    <title>
        Set indent in second line of paragraph
    </title>
  
    <meta name="viewport" content=
        "width=device-width, initial-scale=1.0" />
  
    <style>
        h2 {
            text-align: center;
        }
  
        div.a {
            text-indent: -36px;
            padding-left: 36px;
        }
    </style>
</head>
  
<body>
    <h2><u>GEEKS FOR GEEKS</u></h2>
  
    <div class="a">
        <p>
            He started with <a href="https://www.geeksforgeeks.org/">
            <b>Geeks for Geeks</b></a> as just a blog based site with
            articles on programming questions, then later on expanded
            to courses and now is a portal covering programming
            questions, interview experiences and even a coding platform
            taking inspiration from other competitive coding sites.
        </p>
    </div>
</body>
  
</html>
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #css #line #indent
ADD COMMENT
Topic
Name
8+3 =