主頁
HTML
HTML 計算機程式碼
Tryit:pre 內的程式碼
執行 ❯
建立您
自己的
網站
×
更改方向
儲存程式碼
更改主題,亮/暗
前往 Spaces
<!DOCTYPE html> <html> <body> <p>The code element does not preserve whitespace and line-breaks.</p> <p>To fix this, you can put the code element inside a pre element:</p> <pre> <code> x = 5; y = 6; z = x + y; </code> </pre> </body> </html>