<!DOCTYPE html>
<html>
<head>
<style>
input[type="text"] {
    width: 100px;
}

.blacksquare {
    position: absolute;
    top: 6px;
    left: 92px;
    width: 25px;
    height: 25px;
    background-color: black;
}
</style>
</head>
<body>
    <div class="blacksquare"></div>
    <div>
        <input type="text" list="browsers">
        <label>Enter your browser</label>
    </div>
    <div>
        <input type="color" list="colors">
        <label>Enter your color</label>
    </div>
</body>
</html>
