腾讯云优惠券

呆错后台管理框架表单组件介绍-标签TAG

人气:480 更新:2022-02-13

HTML代码调用

<div class="col-12 col-md-10">
    <input  type="text" class="form-control form-control-sm" id="tag_name" name="tag_name" value="123" autocomplete="off" data-toggle="tags">
    <small class="form-text pt-2">
      <a class="tag-list text-danger mr-2" href="javascript:;">教育文化</a>
      <a class="tag-list text-danger mr-2" href="javascript:;">新闻媒体</a>
      <a class="tag-list text-danger mr-2" href="javascript:;">生活服务</a>
      <a class="tag-list text-danger mr-2" href="javascript:;">政府组织</a>
      <a class="tag-list text-danger mr-2" href="javascript:;">购物网站</a>
    </small>
</div>
<div class="form-group mb-4">
  <label for="tag_name"><strong>网站标签</strong><small class="text-muted ml-1">逗号分隔</small></label>
  <input class="form-control form-control-sm" name="tag_name" id="tag_name" type="text" value="123" data-toggle="tags">
</div>