बॉटम पैडिंग सेट करने के लिए, जावास्क्रिप्ट में paddingBottom प्रॉपर्टी का उपयोग करें।
उदाहरण
जावास्क्रिप्ट के साथ किसी एलिमेंट का बॉटम पैडिंग वापस करने के लिए निम्न कोड चलाकर देखें:
<!DOCTYPE html> <html> <head> <style> #box { border: 2px solid #FF0000; width: 150px; height: 70px; } </style> </head> <body> <div id = "box">यह डेमो टेक्स्ट है।</div> <br> <br> <button type = "button" onclick = "display()">बॉटम पैडिंग</button> <script> function display() { document.getElementById("box").style.paddingBottom = "100px"; } </script> </body> </html>