बॉटम बॉर्डर की स्टाइल सेट करने के लिए, जावास्क्रिप्ट borderBottomStyle प्रॉपर्टी का उपयोग करें। यह आपको बॉटम बॉर्डर जोड़ने की अनुमति देता है।
उदाहरण
बॉटम बॉर्डर की स्टाइल सेट करने के लिए निम्न कोड चलाकर देखें:
<!DOCTYPE html> <html> <body> <div id="box">Demo Text</div> <br> <button onclick="display()">बॉटम बॉर्डर की स्टाइल सेट करने के लिए क्लिक करें</button> <script> function display() { document.getElementById("box").style.borderBottomStyle = "dashed"; } </script> </body> </html>