HTML ကိုးကားချက်များ

HTML Living Standard

စာကြောင်းထဲမှာ ကိုးကားချက် ထည့်ဖို့ <q> ကို သုံးပါ။ ကိုးကားစာပိုဒ် သီးသန့် ဖော်ပြဖို့ <blockquote> ကို သုံးပါ။

ဒီစာမျက်နှာမှာ

<q> နဲ့ <blockquote> သုံးပြီး ကိုးကားချက်ရေးခြင်း

စာကြောင်းထဲက ကိုးကားချက်တိုအတွက် q ကို သုံးပါ။ Browser တွေက ပုံမှန်အားဖြင့် quotation mark ထည့်ပြပါတယ်။ ကိုးကားစာပိုဒ် သီးသန့်ဆို blockquote သုံးပါ။ cite attribute မှာ မူရင်း URL ထည့်နိုင်ပါတယ်။ ဖတ်သူပါ ရင်းမြစ်မြင်ဖို့ link ဒါမှမဟုတ် စာသားနဲ့ပါ ထည့်ရေးပါ။

စမ်းသပ်နည်း ဒီနမူနာကို .html ဖိုင်အသစ်အဖြစ် သိမ်းပြီး browser နဲ့ ဖွင့်ပါ။ ပြင်ပြီးတိုင်း save နဲ့ reload လုပ်ပါ။

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>HTML Quotations with &lt;q&gt; and &lt;blockquote&gt;</title>
</head>
<body>
<p>The sign says <q>Open daily</q>.</p>
<blockquote cite="https://example.com/reviews">
  <p>The service was quick and the staff was friendly.</p>
</blockquote>
<p>Source: Example store review</p>
</body>
</html>

စမ်းကြည့်ရင် ဘာဖြစ်မလဲ Open daily ကို quotation mark နဲ့ မြင်ရပြီး ပိုရှည်တဲ့ ကိုးကားချက်က သီးခြားအပိုင်းအနေနဲ့ ပေါ်ပါမယ်။

တရားဝင် ကိုးကားချက်များ