Alternative Text

Alternative text ကို ပံုကို download ခ်ဖို႕ ပိတ္ထားတဲ့ အခါ ၊ ဒါမွမဟုတ္ ပံုရွာမေတြ႕တဲ့ အခါမွာ ေဖာ္ျပဖုိ႕အတြက္ အသံုးျပဳပါတယ္။

    <title>Styling Text</title>
    <link rel="stylesheet" type="text/css" href="style.css">
    <h1>One Piece</h1>
    <h2>by Eiichiro Oda</h2>
    <ul class="menu">
        <li><a href="./home.html">Home</a></li>
        <li><a href="./anime.html">Anime</a></li>
        <li><a href="./download.html">Download</a></li>
        <img src="aonepice_cover.jpg" width="150px" height="200px" alt="onepice cover">
    <p>One Piece is a Japanese <span class='highlight'>shounen manga series</span> 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 70th volume released as of March 2013. One Piece follows the adventures of <span class='highlight'>Monkey D. Luffy</span>, 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>
    <img src="images/luffy.png" alt="luffy">

အထက္ပါ code မွာ cover image ကို ပံုနာမည္ အမွားထည့္ထားပါတယ္။ luffy.png မွာလည္း alt="luffy" ဆုိျပီး ထည့္ထားတာ ရိွပါတယ္။ ပံု ရဲ႕ လမ္းေၾကာင္း အမွားထည့္ထားတာ ေၾကာင့္ browser မွာ ပံု မျမင္ရပါဘူး။ ထည့္ထားတဲ့ alternative text ကို သာျမင္ရပါလိမ့္မယ္။

Figure 5-6

Figure 5-6

results matching ""

    No results matching ""