Power Of Padding

What is Padding?

     The Padding represents the inner space of an element.The margin is external.

In this example padding and margin are shown around the black boarder.


                                     
  • We use margins and padding to keep content separated from other elements such as images,videos embeds and text.
Example: 
                                   
Below diagrams shows the Content Limit:


Below diagrams shows the Padding Limit:


Below diagrams shows the Border Limit:
                                     
  • We can change these limits by using programming languages like CSS and android by adding small piece of code.
The padding will be of 4 types

1.top padding
2.right padding
3.left padding
4.bottom padding

Example:



Output:

Notes: