Rumah >hujung hadapan web >tutorial css >Bagaimana untuk Membuat Balutan Kandungan Sel Jadual dalam HTML?
Dalam kod yang disediakan, teks dalam
<html><br><head> <br> <style><br> jadual {border-collapse:collapse; susun atur jadual:tetap; width:310px;}<br> jadual td {border:solid 1px #fab; lebar: 100px; word-wrap:break-word;}<br> </style><br></head></p> <p><body><br> <table></p> <pre class="brush:php;toolbar:false"> <tr> <td>1</td> <td>Lorem Ipsum</td> <td>Lorem Ipsum is simply dummy text of the printing and typesetting industry. </td> </tr> <tr> <td>2</td> <td>LoremIpsumhasbeentheindustry'sstandarddummytexteversincethe1500s,whenanunknown</td> <td>Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</td> </tr> <tr> <td>3</td> <td></td> <td>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna...</td> </tr>