Tag:Table merge

  • Splitting and merging table in HTML (colSpan, rowspan)

    Time:2021-7-29

    Code demonstration horizontal merge: <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″> < title > demo table tag 2 — cell merging < / Title > <style type=”text/css”> td{ text-align: center; } </style> </head> <body> <table border=”1″ cellspacing=”0″ width=”50%” height=”150″> < caption > merge cells horizontally < / caption […]