HTML 5 section ကို ဒီနေ့မှ စမ်းကြည့်တယ်။ တော်တော်မိုက်တာပဲ။ contenteditable ကို အကြိုက်ဆုံးပဲ အရင်က content တွေကို editable ဖြစ်ဖို့ jquery နဲ့ ရေးရတယ်။ အခုတော့ လွယ်ပါ့။ editable ဖြစ်ချင်ရင် contenteditable ကို true ပေးလိုက်ရုံပဲ။ jquery နဲ့ ပေါင်းပြီး သုံးလိုက်တော့ inline edition က အရမ်းလွယ်သွားပြီ။

<section contenteditable=”true”>ဒီစာကို ပြင်လို့ရတယ်။</section>

HTML5 ကို သဘောကျပြီး ကျလာတာတော့ အမှန်ပဲ။

3 responses to “HTML5 section”

  1. အကျယ်တစ်ခုလောက် ပို့စ်တင်ပေးမလား

    1. contenteditable=”true” က div layer တွေမှာလည်း အသုံးပြုလို့ရပါတယ်။ section ဆိုတာကလည်း div id=”section” ဆိုတဲ့အစား section ဆိုပြီး tag တစ်ခုဖြစ်လာတာပဲ ရှိတာလေ။

  2. contenteditable=”true” က div layer တွေမှာလည်း အသုံးပြုလို့ရပါတယ်။ section ဆိုတာကလည်း div id=”section” ဆိုတဲ့အစား section ဆိုပြီး tag တစ်ခုဖြစ်လာတာပဲ ရှိတာလေ။

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Saturngod

Subscribe now to keep reading and get access to the full archive.

Continue reading