1 / 11

Pemrograman wap

Pemrograman wap. Dosen : Fajar Y. Zebua unriyo@gmail.com. Memulai tag wml. Semua bahasa mempunyai aturan WML  XML (Extensible Markup Language) Contoh : <?xml version=“1.0” encoding=“iso-8859-1”?> //Pengenalan Konsorsium :

noelle
Download Presentation

Pemrograman wap

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pemrograman wap Dosen : Fajar Y. Zebua unriyo@gmail.com

  2. Memulai tag wml • Semua bahasa mempunyai aturan • WML  XML (Extensible Markup Language) • Contoh : <?xml version=“1.0” encoding=“iso-8859-1”?> //Pengenalan Konsorsium : <!DOCTYPE wml PUBLIC “-//WAPFORUM//DTD WML 1.3//EN” “http://www.wapforum.org/DTD/wm113.dtd”> atau : <!DOCTYPE wml PUBLIC “-//WAPFORUM//DTD WML 1.3//EN”

  3. Deklarasi doctype • Menetapkan nama DTD (Document Type Defenition) dan URL untuk DTD. • DTD  informasi tentang sintaksis bahasa markup. • Deklarasi menggambarkan elemen dan atribut yang dapat digunakan pada markup dan aturan yang harus digunakannya.

  4. MEMBUAT JUDUL • Berfungsi untuk memberi pengenal halaman pada netter • Format penulisan : <card title=“Judul WAP”> </card>

  5. Contoh WML <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN” "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <card id="satu" title="Card Satu"> <p>ini card yang pertama</p> </card> </wml>

  6. OUTPUT

  7. Menghilangkan fungsi back <?xml version=“1.0” encoding=“UTF-8”?> <!DOCTYPE wml PUBLIC “-//WAPFORUM//DTD WML 1.3//EN” “http://www.wapforum.org/DTD/wm113.dtd”> <wml> <card title=“..: BELAJAR WAP :..” newcontext=“true”> </card> </wml>

  8. Menuliskan isi program <wml> <card title=“..: BELAJAR WAP :..”> <p align=“left”> Inilah program pertamaku, saat ini sedang belajar WAP </card> </wml>

  9. Menggunakan tag break lines <wml> <card title=“..: BELAJAR WAP :..”> <p align=“left”> Inilah program pertamaku, <br/> saat ini sedang belajar WAP <br/> di FST-UNRIYO </card> </wml>

  10. Kustomisasi tulisan • Tebal  <b> • Miring  <i> • Garis bawah  <u> • Huruf besar  <big> • Huruf kecil  <small> • Karakter besar  <em> atau <strong>

  11. Menggunakan gambar • Format penulisan : <img src=“namagambar.wbmp” alt=“Keterangan”> </img> Mengkonversi gambar dengan editor WBMP image. Contoh : Nokia Mobile Internet Toolkit.

More Related