जावास्क्रिप्ट के साथ पोजिशन्ड एलिमेंट की बॉटम पोजिशन सेट करने के लिए, bottom प्रॉपर्टी का उपयोग करें।
उदाहरण
बॉटम पोजिशन सेट करना सीखने के लिए निम्न कोड चलाकर देखें:
<!DOCTYPE html> <html> <head> <style> #newBtn { position: absolute; } </style> </head> <body> <button type="button" id="newBtn" type="button" onclick="display()">बॉटम पोजिशन सेट करें</button> <script> function display() { document.getElementById("newBtn").style.bottom = "400px"; } </script> </body> </html>