<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/smoothness/jquery-ui.css">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
<script>
$(document).ready(function() {
$("#autocomplete").autocomplete({
source: ["Option 1", "Option 2", "Option 3", "Option 4", "Option 5"]
});
});
</script>
</head>
<body>
<label for="autocomplete">Search and select an option:</label>
<input type="text" id="autocomplete">
</body>
</html>