Bootstrap 程式碼標記的樣式
使用 Bootstrap,你可以輕鬆地用 <code> 和 <pre> 標記顯示程式碼。
<code> 標記以行內元素包裝顯示的程式碼。
要使用 <code> 標記顯示程式碼,你可以嘗試執行以下程式碼 −
示例
<p> <code><header></code> is wrapped as an inline element. </p>
廣告
使用 Bootstrap,你可以輕鬆地用 <code> 和 <pre> 標記顯示程式碼。
<code> 標記以行內元素包裝顯示的程式碼。
要使用 <code> 標記顯示程式碼,你可以嘗試執行以下程式碼 −
<p> <code><header></code> is wrapped as an inline element. </p>