<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul {
            list-style-type: none;
            width: 350px;
            height: auto;
            position: absolute;
        } 

        li {
            backgroud-color: #EEEEEE;
            border-top: 1px solid #9e9e9e;
            padding: 10px;
            width: 100%;
            float: left;
            cursor: pointer;
        }
    </style>
</head>
<body>
    
<h3>Autocomplete</h3>

<form action="" method="post" autocomplete="off">
    <p>
        <label for="campo">Buscar:</label>
        <input type="text" name="campo" id="campo">
        <div>
            <ul id= "lista"></ul>
        </div>
    </p>
</form>

<script src="js/peticion.js"></script>
</body>
</html>