Programming Tip Of The Day #18 : Padding in CSS Hindi | CSS Padding Explained | HTML Padding Hindi

1,419 views · Published 31 July 2018 · 12:39 · Indexed 26 October 2026

Channel: Thapa Technical · 2018 · Education

Watch on YouTube

Welcome all, we will see what is  Padding in CSS in Hindi. CSS Padding Explained Hindi.  "Honestly, I have no idea how to ask, but if you donate using PAYTM to support me, It's gonna help me a lot."
PAYTM NUMBER: 9518369954 

Blog For Source Code: https://thapatechnicalblog.blogspot.com/

#padding #paddingcss #csspaddinghindi

padding is the space between the content and the border.

CSS has properties for specifying the padding for each side of an element:

padding-top
padding-right
padding-bottom
padding-left

All the padding properties can have the following values:

length - specifies a padding in px, pt, cm, etc.
% - specifies a padding in % of the width of the containing element
inherit - Specifies that the padding should be inherited from the parent element
Note: Negative values are not allowed. 

An element's padding is the space between its content and its border.

The padding property is a shorthand property for:

 padding-top
padding-right
padding-bottom
padding-left
Note: Padding creates extra space within an element, while margin creates extra space around an element.

This property can have from one to four values.

If the padding property has four values:

padding:10px 5px 15px 20px;
top padding is 10px
right padding is 5px
bottom padding is 15px
left padding is 20px
If the padding property has three values:

padding:10px 5px 15px;
top padding is 10px
right and left padding are 5px
bottom padding is 15px
If the padding property has two values:

padding:10px 5px;
top and bottom padding are 10px
right and left padding are 5px
If the padding property has one value:

padding:10px;
all four paddings are 10px
Note: Negative values are not allowed.

Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.

Don't Forget to Follow  me on all Social Network, 
 

Instagram Link:     https://www.instagram.com/vinodthapa55
Facebook Link:     https://www.facebook.com/vinodthapa55
Twitter       Link:     https://twitter.com/vb55thapa
Facebook ThapaTechnical Page Link: https://www.facebook.com/vinodbahadurthapa

More from this channel