CSSpadding
CSSpadding
The padding property allows you to specify how much space should appear
between the content of an element and its border −
The following CSS properties can be used to control lists. You can also set
different values for the padding on each side of the box using the following
properties −
Here is an example −
<html>
<head>
</head>
<body>
</p>
</p>
</body>
</html>
Here is an example −
<html>
<head>
</head>
<body>
</p>
</p>
</body>
</html>
Here is an example −
<html>
<head>
</head>
<body>
</p>
</p>
</body>
</html>
Here is an example −
<html>
<head>
</head>
<body>
</p>
</p>
</body>
</html>
Here is an example −
<html>
<head>
</head>
<body>
</p>
</p>
the total width of the document, bottom padding and top padding will be
10px
</p>
</body>
</html>