- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
CSS padding-left property
The padding-left specifies the left padding of an element. It sets the left padding of an element. This can take a value in terms of length of %.
Example
<html> <head> </head> <body> <p style = "padding-left: 10px; border:1px solid blue;"> This is a paragraph with a specified left padding </p> <p style = "padding-left: 10%; border:1px solid blue;"> This is another paragraph with a specified left padding in percent </p> </body> </html>
- Related Articles
- Animate CSS padding-left property
- CSS padding property
- CSS padding-right property
- CSS padding-bottom property
- CSS padding-top property
- Animate CSS padding-bottom property
- Animate CSS padding-right property
- The padding shorthand Property in CSS
- Perform Animation on CSS padding-top property
- Specify the left padding of an element with CSS
- CSS nav-left property
- Animate CSS left the property
- Animate CSS margin-left property
- CSS border-top-left-radius property
- CSS border-bottom-left-radius property

Advertisements