# 公告 ### **示例代码1:** ``` <div class="alert alert-warning alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> <i class="fa fa-bullhorn"></i>活动:限时免费授权…… <a href="https://auths.yum6.cn" target="_blank">auths.yum6.cn</a> <p> <i class="fa fa-bullhorn"></i><a href="https://btai.cc" target="_blank">官网</a> | <a href="https://www.kancloud.cn/youngxj/bthost_manual/1926353" target="_blank">文档</a> | <a href="https://docs.apipost.cn/view/bad40855d7b411f5" target="_blank">API</a> | <a href="https://qm.qq.com/cgi-bin/qm/qr?k=MCmf827T8r0R-nIeed9d52ybPs7gmWN3&jump_from=webapi" target="_blank">QQ群1131818218</a> </p> </div> ``` ![](https://img.kancloud.cn/2c/44/2c446546ed3b71c77edc0b5fd68b8d36_1242x410.png) ### **示例代码2:** ``` <a href="#!" class="dropdown-item" title="这是公告内容">这是公告内容</a> <a href="#!" class="dropdown-item" title="这是公告内容">这是公告内容</a> <a href="#!" class="dropdown-item" title="这是公告内容">这是公告内容</a> <a href="#!" class="dropdown-item" title="这是公告内容">这是公告内容</a> <a href="#!" class="dropdown-item" title="这是公告内容">这是公告内容</a> ``` ![](https://img.kancloud.cn/9a/80/9a80b7cbad5392363db0b300f217286f_524x298.png)