源代碼
點擊運行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Bootstrap 實例 - 代碼</title> <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <p><code><header></code> 作為內聯元素被包圍。</p> <p>如果需要把代碼顯示為一個獨立的塊元素,請使用 <pre> 標籤:</p> <pre> <article> <h1>Article Heading</h1> </article> </pre> </body> </html>
運行結果