Bootstrap对特定表行或单元格的警告操作

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Table</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <div class = "table-responsive">
         <table class = "table">
            <thead>
               <tr>
                  <th>Subject</th>
                  <th>Marks</th>
                  <th>Type</th>
               </tr>
            </thead> 
            <tbody>
               <tr>
                  <td>Java</td>
                  <td>90</td>
                  <td>Programming Language</td>
               </tr>
               <tr class = "warning">
                  <td>PHP</td>
                  <td>92</td>
                  <td>Scripting Language</td>
               </tr>
               <tr>
                  <td>jQuery</td>
                  <td>80</td>
                  <td>JavaScript Library</td>
               </tr>
            </tbody>
         </table>
      </div>
   </body>
</html>

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/264838.html

(0)
上一篇 2022年6月7日
下一篇 2022年6月7日

相关推荐

发表回复

登录后才能评论