Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

text-indent

Text indent after the first line in a paragraph

April 30, 2023 by Tarik

You need text-indent. Normally text-indent pushes the first line inwards, but if you give it a minus figure and use a positive margin, you can achieve the effect you’re after. text-indent: -10px; margin-left: 10px

Categories html Tags css, html, indentation, text-indent Leave a comment

How do I indent a single line multiple times in vi or vim?

March 12, 2023 by Tarik

Select what you want (typically with v or Shift+v) then type 5>. If you need to fix or repeat the same selection, use gv.

Categories vim Tags indentation, text-indent, vi, vim Leave a comment

Indenting only the first line of text in a paragraph?

February 27, 2023 by Tarik

Use the text-indent property. p { text-indent: 30px; } jsFiddle.

Categories html Tags css, html, indentation, target, text-indent Leave a comment

Is it possible to indent JavaScript code in Notepad++?

January 23, 2023 by Tarik

JSTool is the best for stability. Steps: Select menu Plugins>Plugin Manager>Show Plugin Manager Check to JSTool checkbox > Install > Restart Notepad++ Open js file > Plugins > JSTool > JSFormat Reference: Homepage: http://www.sunjw.us/jstoolnpp/ Source code: http://sourceforge.net/projects/jsminnpp/

Categories javascript Tags indentation, javascript, notepad++, text-indent Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa