<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="container mt-3">
<h2>Modal Options</h2>
<p>The <strong>keyboard</strong> option specifies whether the modal can be closed with the escape key.</p>
<p><strong>Note:</strong> Press the Tab key on your keyboard to enter the modal window and then press the Esc key.</p>
<button type="button" class="btn btn-success btn-md" id="myBtn">Modal (keyboard:true)</button>
<button type="button" class="btn btn-danger btn-md" id="myBtn2">Modal (keyboard:false)</button>
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">