Padding in CSS
Full Stack Web Development Courses with Real-time projects Start Now!!
Program 1
<html><head><title>Peding Demo</title>
<style>
.display
{
border:2px;
border-color: red;
border-style: double;
border-width: thick;
padding-top: 10px;
padding-right: 15px;
padding-bottom: 30px;
padding-left: 20px;
padding: 10px 25px 70px 20px;
}
</style>
</head>
<body >
<div class="display">
Python is a General Purpose object-oriented programming language, which means that it can model real-world entities.
It is also dynamically-typed because it carries out type-checking at runtime.It does so to make sure that the type of construct matches what we expect it to be.The distinctive feature of Python is that it is an interpreted language.The Python IDLE (Integrated Development Environment) executes instructions one line at a time. This also lets us use it as a calculator.Guido van Rossum named it after the comedy group Monty Python. That is why the metasyntactic variables
(those we will often use to explain code syntax)
<div>
</body>
</html>
Did you like this article? If Yes, please give DataFlair 5 Stars on Google

