1 / 42

Web Programming

Web Programming. HTML. Outline. Element HTML Basic Tag HTML Format HTML Entiti HTML Links HTML Frame HTML Table HTML List HTML Form HTML Image HTML Background HTML. Outline. Element HTML Basic Tag HTML Format HTML Entiti HTML Links HTML Frame HTML Table HTML List HTML

ember
Télécharger la présentation

Web Programming

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. Web Programming HTML

  2. Outline • Element HTML • Basic Tag HTML • Format HTML • Entiti HTML • Links HTML • Frame HTML • Table HTML • List HTML • Form HTML • Image HTML • Background HTML

  3. Outline • Element HTML • Basic Tag HTML • Format HTML • Entiti HTML • Links HTML • Frame HTML • Table HTML • List HTML • Form HTML • Image HTML • Background HTML

  4. Element HTML

  5. Empty HTML element • <br/> • <img> • <frame>

  6. Example <html> <body><p>This is my first paragraph</p></body> </html> Nested Element

  7. Outline • Element HTML • Basic Tag HTML • Format HTML • Entiti HTML • Links HTML • Frame HTML • Table HTML • List HTML • Form HTML • Image HTML • Background HTML

  8. Basic Tag • HTML Headings • HTML Paragraph • HTML Links • HTML Images

  9. HTML Headings • Menggunakan tag <h1> sampai <h6> <h1>This is a heading</h1><h2>This is a heading</h2><h3>This is a heading</h3>

  10. HTML Paragraph • Menggunakan tag <p> <p>This is a paragraph</p><p>This is another paragraph</p>

  11. HTML Links • Menggunakan tag <a> <a href="http://www.w3schools.com">This is a link</a>

  12. HTML Images • Menggunakan tag <img> <img src="constr4.gif" width="144" height="50" />

  13. Outline • Element HTML • Basic Tag HTML • Format HTML • Entiti HTML • Links HTML • Frame HTML • Table HTML • List HTML • Form HTML • Image HTML • Background HTML

  14. Format HTML • Text Formatting • Computer Output Tags • Citation, Quotation, dan Definition Tags

  15. Text Formatting

  16. Computer Output Tags

  17. Citation, Quotation, dan Definition Tags

  18. Outline • Element HTML • Basic Tag HTML • Format HTML • Entiti HTML • Links HTML • Frame HTML • Table HTML • List HTML • Form HTML • Image HTML • Background HTML

  19. Entiti HTML

  20. Outline • Element HTML • Basic Tag HTML • Format HTML • Entiti HTML • Links HTML • Frame HTML • Table HTML • List HTML • Form HTML • Image HTML • Background HTML

  21. Links HTML • Hyperlinks • Anchor

  22. Hyperlinks • Menunjuk ke sebuah resource di web • Resource bisa berupa: halaman html, gambar, suara, film, dsb <a href=“url”>Link text</a>

  23. Anchor • Menunjuk ke bagian dari halaman HTML • Biasanya untuk penulisan daftar isi Penandaan <a name=“bab1”>Bab 1. Pendahuluan</a> Dari halaman yang sama <a href=“#bab1”>Lihat Bab 1</a> Dari halaman yang berbeda <a href=“http://nama.server.com/nama.html#bab1”>Lihat Bab 1</a>

  24. Outline • Element HTML • Basic Tag HTML • Format HTML • Entiti HTML • Links HTML • Frame HTML • Table HTML • List HTML • Form HTML • Image HTML • Background HTML

  25. Frame HTML • Pros • Bisa menampilkan lebih dari 1 halaman web pada browser window yang sama • Setiap halaman web disebut frame, dan tiap frame bersifat independen • Cons • Halaman web yang harus dimaintain lebih banyak • Sulit untuk nge-print keseluruhan halaman web

  26. Example <frameset frameborder=0 cols="120,*"> <frame src="tryhtml_contents.htm"> <frame src="frame_a.htm" name="showframe"> </frameset>

  27. Outline • Element HTML • Basic Tag HTML • Format HTML • Entiti HTML • Links HTML • Frame HTML • Table HTML • List HTML • Form HTML • Image HTML • Background HTML

  28. My Table My Table Table HTML Caption Table heading Table data Table row

  29. Example <table width="100%" border="1"> <caption>My Table</caption> <tr> <th>ISBN</th> <th>Title</th> <th>Price</th> </tr> <tr> <td>3476896</td> <td>My first HTML</td> <td>$53</td> </tr> <tr> <td>2489604</td> <td>My first CSS</td> <td>$47</td> </tr> </table>

  30. Outline • Element HTML • Basic Tag HTML • Format HTML • Entiti HTML • Links HTML • Frame HTML • Table HTML • List HTML • Form HTML • Image HTML • Background HTML

  31. List HTML • Ordered List • Unordered List • Definition List

  32. Ordered List • Numbered List • Letters List • Lowercase Letters List • Roman Number List

  33. Unordered List • Disc bullet list • Circle bullet list • Square bullet list

  34. Definition List • Bukan list item • List yang berisi istilah-istilah dan definisinya

  35. Outline • Element HTML • Basic Tag HTML • Format HTML • Entiti HTML • Links HTML • Frame HTML • Table HTML • List HTML • Form HTML • Image HTML • Background HTML

  36. Form HTML • Memungkinkan user untuk memberikan input • Berupa: • Textfield • Password textfiled • Text area • Radio button • Check box • Drop down box

  37. Outline • Element HTML • Basic Tag HTML • Format HTML • Entiti HTML • Links HTML • Frame HTML • Table HTML • List HTML • Form HTML • Image HTML • Background HTML

  38. Image HTML <img src=“namafile.gif” alt=“gambar bebek”>

  39. Outline • Element HTML • Basic Tag HTML • Format HTML • Entiti HTML • Links HTML • Frame HTML • Table HTML • List HTML • Form HTML • Image HTML • Background HTML

  40. Background HTML • Menggunakan attribut background <table height="100" width="150" background="http://www.tizag.com/pics/htmlT/background.jpg" > <tr> <td>This table has a background image</td> </tr> </table>

  41. Fin

  42. ?

More Related