<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div style="height: 35px;width: 400px; position:relative;">
<input type="text" style="height: 35px;width: 400px;"/>
<span style="position: absolute;right:10px;top:10px;background-image: url(2.png);height: 20px; width: 18px; display: inline-block;"></span>
</div>
</body>
</html>