Bootstrap 程式碼標記的樣式


使用 Bootstrap,你可以輕鬆地用 <code> 和 <pre> 標記顯示程式碼。

<code> 標記以行內元素包裝顯示的程式碼。

要使用 <code> 標記顯示程式碼,你可以嘗試執行以下程式碼 −

示例

<p>
   <code>&lt;header&gt;</code> is wrapped as an inline element.
</p>

更新於:2020-06-12

223 次瀏覽

開啟你的 事業

完成課程獲取認證

開始
廣告
© . All rights reserved.