Define an Article

<article> tag ကို သတင္းစာ ေဆာင္းပါးေတြ ၊ blog post ေတြ ေနာက္ျပီးေတာ့ မွတ္ခ်က္ ေတြ ေနရာမွာ အသံုးျပဳၾကပါတယ္။ <article> tag ထဲမွာ ပံုမွန္ အားျဖင့္ ေခါင္းစဥ္ ၊ စာေရးသူ ၊ ရက္စြဲ စတာေတြ ပါဝင္တတ္ပါတယ္။ CSS ကို အသံုးျပဳျပီးေတာ့ style ကို ျပင္ႏိုင္ပါတယ္။

  <meta charset="utf8">

  article.feature {

  article.feature h1 {
  article.feature h2 {
  <article class="feature">
    <h1>One Piece</h1>
    <p>One Piece is a Japanese manga series written and illustrated by Eiichiro Oda. It has been serialized in Weekly Shōnen Jump since August 4, 1997; the individual chapters are being published in tankōbon volumes by Shueisha, with the first released on December 24, 1997, and the 73rd volume released as of March 2014. One Piece follows the adventures of Monkey D. Luffy, a young boy whose body gains the properties of rubber after unintentionally eating a Devil Fruit, and his diverse crew of pirates, named the Straw Hat Pirates. Luffy explores the ocean in search of the world's ultimate treasure known as One Piece in order to become the next Pirate King.</p>

ဒီ code က ပံုမွန္ div အစား ကၽြန္ေတာ္တုိ႕ေတြ article ကို ေျပာင္းျပီး အသံုးျပဳထားပါတယ္။ CSS ကိုောတ့ ကၽြန္ေတာ္တုိ႕ ေရွ႕မွာ ေရးထားခဲ့သလို font-size ေျပာင္းထားတာရယ္ ေနာက္ျပီးေတာ့ article ကို margin-left အတြက္ 20px သံုးထားပါတယ္။

results matching ""

    No results matching ""