Bootstrap 程式碼標記樣式


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

<code> 標記會顯示用內聯元素包裹的程式碼。

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

示例

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

更新於: 12-Jun-2020

225 檢視

開啟你的 職業

完成課程獲得認證

開始學習
廣告
© . All rights reserved.