css - what is the indenting tag in html? -


i want indent text website making in html. don't want keep typing &nsbp; 4 times. know there way this, i'm not sure how. thanks!

if looking indent first line, it's

 p {     text-indent: 4em; /* or 15px, or 5%, 2rem or 3vw */  } 

you apply div or whatever want.

if looking indent lines, of course want padding-left: 4em;


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -