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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -