<label class="setting-label">通过准则<span style="color:red;font-size:18px">*</span></label>
在通过准则后面加星号,通常可用于注册等页面的必填项。
<table class="table table-simple table-striped"> <thead> <tr> <th st-sort="date">日期</th> <th st-sort="data">数据是否补充完成</th> <th st-sort="operation">操作</th> </tr> </thead> <tbody> <tr ng-repeat="item in displayed"> <td><a class="date" ng-click="getdate(item.date)">{{ item.date }}</a> </td> <td>{{ item.status }}</td> <td><a class="btn btn-sm btn-success" ng-click="add_data(item.date)">补充数据</a></td> </tr> </tbody> </table>上面的代码是创建表格的表头及表格,并为补充数据按钮添加函数。HTML输入型标签标包括:
- input标签
- select标签
- button标签
- textarea标签