To set the header of the Bootstrap modal, use the .modal-header class.You can try to run the following code to implement the modal-header class −ExampleLive Demo Bootstrap Example Examination Result × Warning If JavaScript isn't enabled in your web browser, then you may not be able to see the result. Close
To set the footer of the Bootstrap modal, use the .modal-footer class.You can try to run the following code to implement the modal-footer class −ExampleLive Demo Bootstrap Example Examination Result × Warning If JavaScript isn't enabled in your web browser, then you may not be able to see the result. Close
Use the .modal-dialog class in Bootstrap to set the width and margin of the modal.You can try to run the following code to implement .modal-dialog class −ExampleLive Demo Bootstrap Example Web Browser More × Warning If JavaScript isn't enabled in your web browser, then you may not be able to see this information correcty. Close
To disable to dropdown item in Bootstrap, use the .disabled class with the .dropdown-menu class.You can try to run the following code to disable dropdown item −ExampleLive Demo Bootstrap Example Beverages The following are the beverages available in India: Beverages Gatorade Sting Red Bull Pepsi Coca Cola
To add a shadow to an element in Bootstrap, use the .shadow class in Bootstrap 4.You can try to run the following code to add shadow to an element −ExampleLive Demo Bootstrap Example Learning Try programming examples Try programming examples Play Quiz and check your knowledge
Use the .modal-lg class in Bootstrap to set large modal with more width.You can try to run the following code to set large modal;ExampleLive Demo Bootstrap Example Examination Result × Warning If JavaScript isn't enabled in your web browser, then you may not be able to see the result. Close
Use the .active class to add gray background color to the active list item in a list group in Bootstrap.You can try to run the following code to add background color to the active list item −ExampleLive Demo Bootstrap Example Features of Java Interface Multi-threading Packages Collection Serialization
To add gray background color to the active link, use the .active class in Bootstrap.You can try to run the following code to implement .active class −ExampleLive Demo Bootstrap Example Website Home Tutorials Quiz Demo This is demo text.
To remove the list styles in Bootstrap, use the .list-unstyled class.You can try to run the following code to implement the .list-unstyled class −ExampleLive Demo Bootstrap Example Technologies Home PHP Java jQuery JavaScript Ruby Technologies (Unstyled) Home PHP Java jQuery JavaScript Ruby
The exclamation operator is to perform negation on an expression.ExampleYou can try to run the following code to learn how to implement exclamation(!) operator in JavaScript −Live Demo JavaScript Boolean var answer = true; document.write(answer); document.write(""+!answer);
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP