Menggabungkan Baris dan Kolom pada Tabel

Setelah pengenalan, pembuatan, dan menambahkan baris dan kolom yang sudah kita pelajari pada postingan sebelumnya. Bagi yang belum mengerti bisa membaca postingan sebelumnya terlebih dulu tentang cara membuat tabel dan bagaimana menambahkan baris dan kolom pada tabel, bisa langsung ikuti link tulisan tersebut. Kali ini bergulir pada cara menggabungkan baris dan kolom pada tabel.

Tidak semudah membuat tabel pada Microsoft Exel maupun Word, untuk menggabungkan baris dan kolom tabel di postingan blog agar terlihat lebih bagus dan rapi sedikit lebih rumit. Karena kita harus memahami sedikit tentang perintah HTML-nya. Jangan khawatir bagi kalian yang tidak begitu mengerti tentang HTML, saya pun begitu masih belum mengerti. Tapi, menurut saya ini hanya perintah mudah yang bisa dipelajari siapapun. Untuk lebih jelasnya baca urain dibawah.

Menggabungkan kolom

<table border="2" width="400">
<tr>
<td colspan="2">Gabungan Kolom</td>
</tr>
<tr>
<td>Baris 2 - Kolom 1</td>
<td>Baris 2 - Kolom 2</td>
</tr>
<tr>
<td>Baris 3 - Kolom 1</td>
<td>Baris 3 - Kolom 2</td>
</tr>
</table>
Kode diatas adalah untuk penggunaan tabel dengan penggabungan 2 kolom yang ada pada baris pertama (Perhatikan bagian "Gabungan Kolom"). Untuk membuat seperti itu kalian harus menambahkan perintah colspan pada td atau kolom. Bisa dilihat diatas saya menggunakan perintah tersebut dengan <td colspan="2">. Artinya, saya menggabungkan 2 kolom. Jika kalian ingin menggabungkan lebih dari dua kolom, harus merubah angka 2 setelah kode colspan. Hasil kode diatas akan seperti berikut:

Gabungan Kolom
Baris 2 - Kolom 1 Baris 2 - Kolom 2
Baris 3 - Kolom 1 Baris 3 - Kolom 2

Menggabungkan Baris

Pada dasarnya untuk menggabungkan baris tabel, penggunaannya sama persis dengan menggabungkan kolom jadi penjelasannya tidak akan saya ulang. Perbedaan hanya terletak pada perintah yang digunakan, jika tadi perintahnya adalah colspan untuk menggabungkan kolom makan rowspan untuk menggabungkan baris. Bisa diperhatikan sendiri pada kode dibawah bagaimana pengaplikasiannya.

<table border="2" width="400">
<tr>
<td colspan="2">Gabungan Kolom</td>
</tr>
<tr>
<td rowspan="2">Baris 2 - Kolom 1</td>
<td>Baris 2 - Kolom 2</td>
</tr>
<tr>
<td>Baris 3 - Kolom 2</td>
</tr>
</table>

Kkode diatas adalah kode yang sebelumnya hanya menggabungkan kolom dan saya tambahkan panggabungan baris pada baris pertama-kolom 2 dan 3. Hasilnya akan terlihat seperti berikut :

Gabungan Kolom
Baris 2 - Kolom 1
Baris 2 - Kolom 2
Baris 3 - Kolom 2

Selesai sudah mengenai tabel, dimulai dengan pengenalan juga cara pembuatan tabel, kemudian bagaimana cara menambahkan baris dan kolom dan sekarang yang baru saja kita pelajari cara menggabungkan baris dan kolom. Semoga bermanfaat. ***

161 komentar:

  1. saya masih mengikuti tutorialnya sob, ini lanjutan yang kemarin kan..makasih sharingnya..

    ReplyDelete
  2. izin nyimak nih gan, udah lama ane kagak ke sini nihm, heheheh

    ReplyDelete
  3. My brother suggested I might like this web site.
    He was totally right. This post truly made my day.

    You cann't imagine just how much time I had spent for this info!
    Thanks!

    Also visit my blog ... autorijschool hilversum

    ReplyDelete
  4. This is a topic which is near to my heart... Best wishes!
    Exactly where are your contact details though?

    Feel free to visit my blog post How to get your ex boyfriend back after being Needy

    ReplyDelete
  5. You really make it seem so easy with your presentation but I find this topic to be actually something that I think I would never understand.
    It seems too complex and very broad for me. I'm looking forward for your next post, I will try to get the hang of it!


    Visit my webpage: Sardar SMS

    ReplyDelete
  6. Numpang lewat ya gan :)

    http://idr-poker.blogspot.com/

    http://beritaolahraga108.blogspot.com/

    http://lihatberitaakurat.blogspot.com/

    http://liatberitabola.blogspot.com/

    http://beritaolahraga1081.blogspot.com/

    http://infobolakakiterbaru.blogspot.com/

    http://beritasportsterpercaya.blogspot.com/

    http://seputarberitabola108.blogspot.com/

    http://beritaterbaruseputarolahraga.blogspot.com/

    http://agen-bola-sbobet-jagad303.blogspot.com/

    ReplyDelete
  7. mantap infonya, berhasil nih
    http://kulinersemarank.blogspot.com/

    ReplyDelete
  8. Thank infonya gan..
    Bagi agan yang berminat belajar membuat website bisa dilihat disitus berikut ini Belajar Membuat Webiste

    ReplyDelete
  9. I Got The Best Birthday Status Site All Type Of Status Are Here Please Check It Out.Best Birthday Wishes Zone

    ReplyDelete
  10. I read all of article of the site the article was very nice go and check it out!
    networthbox

    ReplyDelete
  11. http://www.minimilitiapropack.com/2016/05/20/mini-militia-unlimited-ammo-hack/

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. Kami dari VIPBANDARQ.COM Mengadakan SEO Kontes atau Kontes SEO yang akan di mulai pada tanggal 01 April 2016 - 05 Agustus 2016,

    dengan Total Hadiah Rp. 35.000.000,- Ikuti dan Daftarkan diri Anda untuk memenangkan dan ikut menguji kemampuan SEO Anda. Siapkan website terbaik Anda untuk mengikuti kontes ini.

    Buktikan bahwa Anda adalah Ahli SEO disini. Saat yang tepat untuk mengetest kemampuan SEO Anda dengan tidak sia-sia, hadiah kontes ini adalah Rp 35.000.000,-

    Tunggu apa lagi?

    Kontes SEO ini akan menggunakan kata kunci (Keyword) VIPBANDARQ.COM | BANDARQ | GAME BANDARQ | CAPSA ONLINE | BANDAR POKER | AGEN DOMINO99 Jika Anda cukup percaya akan kemampuan SEO Anda,

    silahkan daftarkan web terbaik Anda SEKARANG JUGA! Dan menangkan hadiah pertama Rp. 13.000.000. Keputusan untuk Pemenang Akan di tentukan dengan aturan kontes SEO yang dapat dilihat di halaman ini.

    Tunggu apa lagi? Ikuti kontes ini sekarang juga!

    CONTACT US:
    - PIN BB : 33449B3B / 7AD1123F
    - Ym35jt : Vip Bandaq Q
    - Facebook : Vip Bandaq Q
    - Phone: +855 87781506

    ReplyDelete
  14. Let that be a warning to you. As with everything else, it's the thought that counts. That was heart pounding. Some of you have figured what works best with Juggernox.

    We are still trying to deal with the kinks of Juggernox. Customers will now go to a specific Juggernox store to do that although often we locate this blunt words have the sharpest edge. Each Juggernox is different than the last. Try it out.>>>http://www.kingsizemaleenhancements.com/juggernox/

    ReplyDelete
  15. I wouldn't continue to do it if Juggernox wasn't profitable. The smart money is on Juggernox. What you need to do is concentrate on Juggernox later. I am assured by Juggernox. It is a sneaky method of getting a Juggernox which you desperately want. >>>http://www.kingsizemaleenhancements.com/juggernox/

    ReplyDelete
  16. Thanks alot for this great information. I really enjoyed the article and will read all others to get more information. I am bookmarking your blog for future again thanks :)


    Daily Inspirational Messages
    Christmas Quotes
    Christmas Images
    New Year Images

    ReplyDelete
  17. Much thanks to you to such an extent. That will be valuable to everyone who uses it, including myself.
    Happy Mothers Day poems
    Fathers Day messages

    ReplyDelete

  18. Nice details are given here.Check latest information about SSC CGL 2017 Notification.

    ReplyDelete
  19. www.ipllivestreaming2017.in This is great information you have share here. I will be looking forward to reaching out to see what We can do to help the world as you do

    ReplyDelete
  20. Thank you for the useful information. You might be interested in TBSE 12th 1st Year Result So

    ReplyDelete
  21. Easter and the events that are related to it are moveable meals which don't fall on a settled date in the Gregorian or Julian calendars which take after simply the cycle of the sun; rather, its date is settled on a lunisolar timetable like the Hebrew date-book. The First Council of Nicaea developed two benchmarks, opportunity of the Jewish date-book and general consistency, which were the primary rules for Easter explicitly set around the board. No inconspicuous components for the estimation were demonstrated; these were worked out before long, a technique that took many years and made different conflicts. It has come to be the main Sunday after the religious full moon that occurs on or soonest after 21 March, however figurings move in East and West.
    https://en.wikipedia.org/wiki/Holy_Week
    EasterGreetings

    ReplyDelete
  22. Check all new updates about good friday and eastern sunday:
    http://goodfridays.info/facts-about-good-friday-and-easter-sunday/

    Good friday clipart
    Good friday wishes
    Good friday messages sms
    Good friday images for facebook
    Good friday quotes

    ReplyDelete
  23. Best Outfits For Young ladies , Womens And Girls
    We Have Some For You In Your Budget For more…..
    Eid Mubarak Images

    ReplyDelete
  24. Exclusive Collection of ladies suit...& Any More...
    have a Some Designer suit For You in your budget For More...
    Plzz Visit...
    r salwar Kameez

    ReplyDelete
  25. Exclusive Collection of Salwar Suit And Many More….
    We Have Some For You In Your Budget For more….
    Eid Mubarak in UK

    ReplyDelete

  26. Jobs Chat is one of the biggest Indian Job Site so here you will getLatest Admit Cards 2017-2018so


    Jobschat is one of the biggest Indian Job Site so here you will getAPPSC 2017-2018so

    ReplyDelete
  27. Fancy designer wear our website and reasonable price More…
    We Have Some For You In Your Budget For more…
    Plz visit:- P0akistani Dresses

    ReplyDelete
  28. Best Outfits For Young ladies, Womens and Girls
    We Have Some For You In Your Budget For more…
    Plz visit:- Ghagra Choli

    ReplyDelete
  29. Best Outfits For Young ladies, Womens and Girls
    We Have Some For You In Your Budget For more…
    Plz visit:-wedding dresses

    ReplyDelete
  30. Have Lovely and Beautiful Salwar Suit And Many More…
    We Have Some For You In Your Budget For more…
    Plz visit:- Wedding Sarees

    ReplyDelete
  31. Mother’s Day is celebrated for our family most special person our mother. cbse 10th result Mother is a god gift for all people in the world. Every son/daughter is celebrated Mother’s Day for their mother; they express their feelings, love, and joy with their mom. Mother’s Day is celebrated in all over the world on different days; it means Mothers Day Date is not same in all over the world. In most countries, Mother’s Day is celebrated second Sunday of month May. Mother’s Day was first celebrated in 1908 when Anna Jarvis held a memorial for her mother at St Andrew’s Methodist Church in Grafton, West Virginia. happy mothers day 2017 greetings St Andrew’s Methodist Church now holds the International Mother’s Day Shrine.

    ReplyDelete
  32. Fancy designer wear our website and reasonable price More…
    We Have Some For You In Your Budget For more…
    Plz visit:- Online Shopping

    ReplyDelete
  33. Have Lovely and Beautiful Salwar Suit And Many More…
    We Have Some For You In Your Budget For more…
    Plz visit:- Kurties

    ReplyDelete
  34. Best Outfits For Young ladies, Womens and Girls
    We Have Some For You In Your Budget For more…
    Plz visit:- Designer sarees

    ReplyDelete
  35. Independence Day is an annual observance celebrated every year on 15th of August.happy independence day images India’s Independence Day is a day of great significance for the people of India. At this day India got freedom

    ReplyDelete

  36. Designer Sarees is perhaps the desire of every single girl in this world to look amazing on her wedding day.
    It is certainly important that the bride must be the star of the show.The most beautiful woman at the wedding venue.
    In India,Designer Sarees are the most obvious choice for the brides.There are many designer Sarees in our site...
    For more...
    Plz visit:- Designer Sarees

    ReplyDelete
  37. Kurtis online shopping at Stylizone will not disappoint you as it is India's best designer wear selling outlet. The evolution of technology has made shopping much simpler and easier. We have simple and user-friendly interface with filtering option that helps customers make an easy choice from the very wide collection. So what are you waiting for? Visit us at www.stylizone.com and enjoy best quality, stylish products at the best prices. We Have Some For You In Your Budget For more…
    Please visit Designer Kurti

    ReplyDelete
  38. Designer Ethnic clothes are the reflection of personality of a person.It's very necessary to choose the wear according to an ocassion.In India,Designer Bridal Saree are the most obvious choice for the Young Ladies & Girls.Many more Collection is available at our site.
    There is Something for everyone here.So,to look for Further Collection see our site.
    For More....
    Plz visit:- Lehenga

    ReplyDelete

  39. Diwali is celebrated on the darkest night of Amavasya in the month of Kartik which falls in the October to November time period. For Diwali Wishes, Images, Status...
    Happy Diwali Images
    Christmas is celebrated each year in December by many thousands of people worldwide. Coming up to this special day on December 25th, it is common for people to greet others by saying "Merry Christmas". This is done to wish them a safe and happy holiday. Looking back on the history...
    Merry Christmas Wishes
    Happy New Year 2018 celebrations give everyone the time to sort out all their issues and start a new beginning. One celebrates this occasion by organizing parties for their families and friends.
    Happy New Year 2017

    ReplyDelete
  40. India is the country of culture Festival.People in india are so crazy about festivals.Diwali is the biggest festival of India.It is the Festival Of Lights.
    Christmas is the New Year of Christians.
    Plz visit:- Happy Diwali
    Merry Christmas
    Happy New Year Images



    ReplyDelete
  41. Designer Bridal Saree is perhaps the desire of every single girl in this world to look amazing on her wedding day.
    It is certainly important that the bride must be the star of the show.The most beautiful woman at the wedding venue.
    In India,Designer Bridal Saree are the most obvious choice for the Young Ladies & Girls.There are many Designer Bridal Saree in our site...
    For more...
    Lehenga
    Sarees
    Gown
    Bridal Lehenga
    Pakistani Dress
    Designer Sarees
    Wedding Lehenga
    Salwar Kameez
    Salwar Suit
    Anarkali Suit

    ReplyDelete
  42. An adorable personality partnered with a perfect choice for Designer Dress unbeatable.
    Even before the blossom of modernization in Indian culture, kurta, sarees, and salwar kameez had been part of India's unique civilization.
    In India,Designer Salwar Kameez are the most obvious choice for the Young Ladies & Girls.There are many Designer Salwar Kameez in our site...
    For more...
    Anarkali Dress
    Punjabi Dress
    Wedding Saree
    Lehenga Choli
    Ghagra Choli
    Silk Saree
    Ladie Suit
    Indian Saree
    Designer Dress
    Bridal Dresses

    ReplyDelete
  43. Your wedding is now over and now your dress has some uninvited guests.
    Stains, dirt, grease and even make-up, unfortunately, can ruin the beauty of the dress if left alone.
    To clean and preserve your gown can be tricky and ruinous if not done correctly. Here is some information to ensure that does not happen!
    For More....
    Kurtis
    Designer Kurtis
    Wedding Dress
    Punjabi Suits
    Lehenga
    Saree
    Gown
    Bridal Lehenga
    Pakistani Dress
    Designer Saree

    ReplyDelete
  44. Most women dream of having an elegant wedding dress for their special day from the time that they are young girls.
    When it comes time to begin shopping for a dress,
    they may feel overwhelmed by the vast selection of wedding dresses and accessories to choose from.
    For More...
    Wedding Lehenga
    Salwar Kameez
    Salwar Suit
    Anarkali Suit
    Anarkali Dress
    Punjabi Dress
    Wedding Saree
    Lehenga Choli
    Ghagra Choli
    Silk Saree

    ReplyDelete
  45. India is known as a land of fairs and festivals.
    There are number of Indian festivals that are celebrated throughout the year as there are various religions in various parts of the country.
    They are Sikhs, Muslims, Hindus, Christians and Buddhists and many others.
    India is a land of mixed cultures; so every festival is celebrated in different fashion in accordance with the culture of people in different regions.
    For more...
    Happy Diwali Images
    Merry Christmas Wishes
    Happy New Year 2017

    ReplyDelete
  46. An adorable personality partnered with a perfect choice for Designer Dress unbeatable. Even before the blossom of modernization in Indian culture, kurta, sarees, and salwar kameez had been part of India's unique civilization. There are many Designer Salwar Kameez in our site...
    For more... Salwar Kameez

    ReplyDelete
  47. Hello visit our website for best Cargo Trailer We are providing enclosed trailer and must visit website for enclosed motorcycle trailers.we are also providing following trailers that includes
    car haulers
    Diamond cargo
    cheap enclosed trailer
    Concession trailers
    Enclosed Gooseneck Trailers
    Transport trailers
    It is one of the best website for trailer.We hope you will like it.

    ReplyDelete
  48. The most beautiful woman at the venue.
    In India Kurtis is are the most obvious choice for the brides.There are many designer Kurtis in our site...
    We have New Massive Collection For Here....
    Pakistani Dress
    Designer Sarees
    Wedding Lehenga
    Salwar Kameez
    Salwar Suit
    Anarkali Suit
    Anarkali Dress
    Kurtis
    Wedding Dress
    Punjabi Suits

    ReplyDelete
  49. Hello visit our website for best Cargo Trailer We are providing enclosed trailer and must visit website for enclosed motorcycle trailers.we are also providing following trailers that includes
    car haulers
    Diamond cargo
    cheap enclosed trailer
    Concession trailers
    Enclosed Gooseneck Trailers
    Transport trailers
    It is one of the best website for trailer.We hope you will like it.

    ReplyDelete
  50. A movie is used for an entertainment of busy people.
    By seeing movie person experiences refreshment from their day to day life.
    For watching movie plz visit following site:-
    kingsman-thegoldencircle
    kingsman: the golden circle
    kingsman: the golden circle full movie
    kingsman: the golden circle full movie download
    kingsman full movie
    kingsman full movie HD

    ReplyDelete
  51. Industry of movies offers numerous kinds of movies.
    These are particular genres of movies which entertain us.
    They make us laugh, make us cry and sometimes makes us scare also, but in any case we get entertained and feel excitement.
    to watch & download Movie...Plz Visit,...
    kingsman: the golden circle full movie free download
    kingsman: the golden circle full movie download 720

    ReplyDelete
  52. Bigg Boss is most terrible and well-known reality show. We can imagine its popularity from it has completed 10 successful seasons. Find here bigg boss 11 contestants list

    ReplyDelete
  53. Rasakan sensasi permainan yang menakjubkan dan nikmati bonus yang kami sediakan untuk anda .

    Hanya Dengan 1 USER ID anda dapat memainkan 7 GAMES !!
    BandarPoker | PokerOnline | CapsaSusun | DominoQQ | BandarQ | AduQ | SAKONG

    Mari bermain bersama RUBYQQ , kami Agen Judi Poker Online Terbaik .
    HOT PROMO DARI RUBYQQ yang di berikan RUBYQQ untuk para pemain judi poker online yang telah bergabung bersama kami :

    ☆ Bonus Referral 10% + 10% ( Seumur Hidup )
    ☆ Bonus Turn Over 0,5% DI BAGIKAN SETIAP HARI !!
    ☆ NO ROBOT & ADMIN
    ☆ 100% Fair Play Member Vs Member
    ☆ Proses Deposit & Withdraw 1-2 Menit .


    Pendaftaran ==> http://rubyqq99.pkr69.com
    Untuk informasi lebih lengkap silahkan Hubungi Customer Service kami
    BBM : 2B8938F7
    FACEBOOK : rubyqq
    SKYPE : RUBY QQ

    ReplyDelete