Try this. You can do it with only css and I have only added data-title
attribute for tooltip.
.tooltip{_x000D_
position:relative;_x000D_
display: inline-block;_x000D_
}_x000D_
.tooltip[data-title]:hover:after {_x000D_
content: attr(data-title);_x000D_
padding: 4px 8px;_x000D_
color: #fff;_x000D_
position: absolute;_x000D_
left: 0;_x000D_
top: 110%;_x000D_
white-space: nowrap; _x000D_
border-radius: 5px; _x000D_
background:#000;_x000D_
}
_x000D_
<div data-title="My tooltip" class="tooltip">_x000D_
<label>Name</label>_x000D_
<input type="text"/>_x000D_
</div>_x000D_
_x000D_