search

Home  >  Q&A  >  body text

Can't the height in table be adjusted in border and tr?

Hello teacher, the height in the table cannot be adjusted in the border and tr. The display code is red and the browser cannot display it. It can only be set in td. In addition, my <tr> can be displayed but all are in red. What is the reason?

<title>Title</title>
</head>
<body>
<table border="1" width="25" height="200" >
<tr>
   <td>张麻子</td>
   <td>70</td>
   <td>80</td>
</tr>
<tr>
   <td>李三</td>
   <td>88</td>
   <td>90</td>
</tr>
</body>
</html>


多多金库(备用)多多金库(备用)2264 days ago1401

reply all(2)I'll reply

  • 胤彬-

    胤彬-2018-10-17 21:09:23

    <title>Title</title>
    </head>
    <body>
    <table sytle='border="1" width="25" height="200"' >
    <tr>
       <td>张麻子</td>
       <td>70</td>
       <td>80</td>
    </tr>
    <tr>
       <td>李三</td>
       <td>88</td>
       <td>90</td>
    </tr>
    </body>
    </html>


    reply
    0
  • 胤彬-

    胤彬-2018-10-17 21:08:49

    <title>Title</title></head><body><table style='border="1" width="25" height="200" '><tr>   <td>张麻子</td>   <td>70</td>   <td>80</td></tr><tr>   <td>李三</td>   <td>88</td>   <td>90</td></tr></body></html>

    reply
    0
  • Cancelreply