ဟန်တီလိုင် <pre> အမှတ်
- Previous page <picture>
- Next page <progress>
အသုံးပြု နှင့် ဖော်ပြ
<pre>
အချက်အလက် ဘာသာစကား အသုံးပြု
<pre>
အာအပ်စ် အာအပ်စ် ဘာသာစကား ပြသထားသည်။ ဘာသာစကား အပြင် လှည့်ပတ် အပ်စ် နှင့် အသားရှိ လှည့်ပတ် အပ်စ် အပ်စ် အား အသုံးပြု၍ ပြသထားသည်။ ဘာသာစကား အား အော်ဒါ အချင်းချင်း ပြသထားသည်။
အခြား အမှတ်အသား
အချက်အလက် | ဖော်ပြ |
---|---|
<code> | ကွန်ပျူတာ အီပေး ပုံစံ ဘာသာစကား အသုံးပြု |
<samp> | ကိုယ်စားပြု ဘာသာစကား အသုံးပြု |
<kbd> | ကိုယ်စားပြု ဘာသာစကား အသုံးပြု |
<var> | အမှုဒ် အသုံးပြု |
အခြား အမှတ်အသား
HTML အော်ဒါHTML text formatting
HTML DOM အစီရင်ခံစာPre အာအပ်စ်
အကျိုးသက်
အမှတ် 1
ပြင်ဆင်သော ဘာသာစကား
<pre> pre အာအပ်စ် တွင် ဘာသာစကား အခြားအကြောင်းဖော်ပြ တွင်ပြီး တစ်ချက်ချက် Spaces and Line break. </pre>
Example 2
How to create a preformatted text with fixed width (using CSS):
<div style="width:200px;overflow:auto"> <pre>This is a pre with fixed width. It will use the specified space.</pre> </div>
Global attributes
<pre>
The tag also supports Global attributes in HTML.
event attributes
<pre>
The tag also supports Event attributes in HTML.
Default CSS settings
Most browsers will use the following default values to display <pre>
Element:
pre { display: block; font-family: monospace; white-space: pre; margin: 1em 0; }
Browser support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |
- Previous page <picture>
- Next page <progress>