HTML <blockquote> Tag
ဥပမာ
အခြားအရင်းအမြစ်မှ ကိုးကားထားသော ကဏ္ဍတစ်ခု-
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.
</blockquote>
အောက်တွင် နောက်ထပ် "စမ်းသုံးကြည့်ပါ" ဥပမာများ။
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
တဂ် သည် <blockquote>
အခြားအရင်းအမြစ်မှ ကိုးကားထားသော ကဏ္ဍတစ်ခုကို သတ်မှတ်သည်။
ဘရောက်ဆာများသည် များသောအားဖြင့် အင်တင်းလုပ် <blockquote>
ထားသော အစိတ်အပိုင်းများ (အင်တင်းကို ဖယ်ရှားနည်းကို ကြည့်ရန် အောက်ပါ ဥပမာကို ကြည့်ပါ)။
အကြံပြုချက်များနှင့် မှတ်စုများ
အကြံပြုချက်-<q>
အတွင်းလိုင်း (အတို) ကိုးကားချက်များအတွက် အသုံးပြု ပါ။
Browser ပံ့ပိုးမှု
Element | |||||
---|---|---|---|---|---|
<blockquote> | Yes | Yes | Yes | Yes | Yes |
ဂုဏ်တော်
Attribute | Value | Description |
---|---|---|
cite | URL | Specifies the source of the quotation |
ကမ္ဘာလုံးဆိုင်ရာ အရည်အချင်းများ
<blockquote>
tag သည် HTML တွင် Global Attributes ကို ပံ့ပိုး ပေးပါသည်။
ဖြစ်ရပ်ဂုဏ်တော်များ
<blockquote>
tag သည် HTML ရှိ Event Attributes များကိုလည်း ပံ့ပိုး ပေးပါသည် ။
နောက်ထပ် ဥပမာများ
ဥပမာ
blockquote element မှ indentation ကိုဖယ်ရှားရန် CSS ကိုသုံးပါ
<html>
<head>
<style>
blockquote {
margin-left: 0;
}
</style>
</head>
<body>
<p>Here is a quote from WWF's
website:</p>
<blockquote
cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has
been protecting the future of nature. The world's leading conservation
organization, WWF works in 100 countries and is supported by 1.2 million
members in the United States and close to 5 million globally.
</blockquote>
</body>
</html>
ဆက်စပ်စာမျက်နှာများ
HTML DOM ရည်ညွှန်း- Blockquote Object
မူရင်း CSS ဆက်တင်များ
ဘရောက်ဆာအများစုသည် <blockquote>
အောက်ဖော်ပြပါ ပုံသေတန်ဖိုးများဖြင့် အစိတ်အပိုင်းကို ပြသလိမ့်မည်-
ဥပမာ
blockquote {
display: block;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 40px;
margin-right: 40px;
}