<title>jQuery UI 工具提示框(Tooltip) - 表单</title>
<link rel="stylesheet" href="//apps.bdimg.com/libs/jqueryui/1.10.4/css/jquery-ui.min.css">
<script src="//apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="//apps.bdimg.com/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<link rel="stylesheet" href="jqueryui/style.css">
display: inline-block; width: 5em;
var tooltips = $( "[title]" ).tooltip();
tooltips.tooltip( "open" );
<label for="firstname">名字</label>
<input id="firstname" name="firstname" title="请提供您的名字。">
<label for="lastname">姓氏</label>
<input id="lastname" name="lastname" title="请提供您的姓氏。">
<label for="address">地址</label>
<input id="address" name="address" title="您的家庭或工作地址。">