Create Definition List

အဓိပၸာယ္ ေဖာ္ျပတဲ့ စကားလံုးေတြ ဥပမာ။။ အဘိဓာန္ လိုမ်ဳိး စာလံုး နဲက အဓိပၸာယ္ ေဖာ္ျပတဲ့ ကိစၥေတြမွာ Definition List ကို အသံုးမ်ားပါတယ္။

<!DOCTYPE html>
<html>
<head>
    <title>Small</title>
    <meta name="description" content="HTML5 book">
    <meta name="keywords" content="HTML,CSS,XML,JavaScript">
    <meta name="author" content="saturngod">
    <meta charset="UTF-8">
</head>
<body>
<h1>What's in a Bag ?</h1>
<dl>
    <dt>Backpack</dt>
        <dd>A bag for carrying hiking supplies and lunch</dd>
    <dt>Fanny pack</dt>
        <dd>A bag for carrying a passport wallet, and camera</dd>
    <dt>Suitcase</dt>
        <dd>A bag for carrying clothes and toilets</dd>
    <dt>Briefcase</dt>
        <dd>A bag for carrying business documents, files and pens</dd>
</dl>
</body>
</html>

ဆိုတဲ့ code ေလးကို ေအာက္ကလို ေပၚပါမယ္။

Figure 2-16

Figure 2-16

<dl> နဲ႕ စျပီးေတာ့ </dl> နဲ႕ ဆံုးပါတယ္။ <dt> ကေတာ့ defination title ေပါ့။ <dd> ကေတာ့ defination အေနနဲ႕ သံုးပါတယ္။

results matching ""

    No results matching ""