HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> div{ border: 1px solid black; width: 200px; padding: 5%; } </style> </head> <body> <h1>CSS padding Property</h1> <div> This div has 5% space in all four direction for its content. </div> </body> </html>
OUTPUT
×

Save as Private