Key Points
You can indent the first line of paragraphs by using the
text-indentattribute.The
Paddingattribute sets the amount of space between an element and its border; themarginattribute sets the amount of space around the outside of an element.The
Border-styleattribute places a border around a paragraph. Use one of the following arguments:solid,dotted,dashed,double,groove,ridge,inset,outset, ornoneto specify the appearance of the border.To set the width of a border, use the
border-widthattribute followed by the width in pixels (px).To set the color of a border, use the
border-colorattribute followed by the color name or the RGB or hexadecimal notation of the color.To format each side of a border individually, specify four arguments, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access