Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to add a table in html

    <table style="border: thin solid coral">
      <thead>
        <td> your data row header column 1</td>
        <td> your data row header column 2</td>
        <td> your data row header column 3</td>
      </thead>
      <tr>
        <td> your data row row 2 column 1</td>
        <td> your data row row 2 column 2</td>
        <td> your data row row 2 column 3</td>
      </tr>
      <tr>
        <td> your data row row 3 column 1</td>
        <td> your data row row 3 column 2</td>
        <td> your data row row 3 column 3</td>
      </tr>
    </table>
Comment

how to make a table in html

<!Doctype html>
<html>
    <body>
        <table border="5">
            <thead>
                <tr>
                    <td>Sr No.</td>
                    <td>Name</td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>1.</td>
                    <td>2.</td>
                </tr>
                <tr>
                    <td>Python</td>
                    <td>HTML</td>
                </tr>
            </tbody>
        </table>
    </body>
</html>
Comment

creating a table in html

<!-- <th> means Table Header,
 	 <tr> means Table Rows, and
	 <td> means Table Columns. -->
<table border="2">
  <th></th>
  <tr>
    <td></td>
  </tr>
</table>
<!-- You guys can add bgcolor="color" attributes, if you want to and so on... -->
<th bgcolor="orange">Orange</th>
<td bgcolor="red">Red</td>
<td bgcolor="yellow">Yellow</td>
<!-- To colspan cells use, colspan="value(1,2,3..)". -->
<tr>
  <td>Green</td>
  <td colspan="2">Blue</td>
</tr>
Comment

Tables in html

<table>
  <tr>
    <td>Cell 1</td>
    <td>Cell 2</td>
    <td>Cell 3</td>
  </tr>
  <tr>
    <td>Cell 4</td>
    <td>Cell 5</td>
    <td>Cell 6</td>
  </tr>
</table>
Comment

PREVIOUS NEXT
Code Example
Html :: bootstrap navbar simple 
Html :: when does useeffect return run 
Html :: tooltip react bootstrap 
Html :: link in md 
Html :: actionlink image mvc 
Html :: javascript inside html 
Html :: html inline elements 
Html :: hide navbar bootstrap 5 
Html :: cahnge bootstrap navbar color 
Html :: html login and registration form 
Html :: git print commit tree html 
Html :: css carousel 
Html :: what does html mean 
Html :: color de las letras en html 
Html :: progress bar bootstrap 5 
Html :: google icons 
Html :: shopify custom html image tag src attribute 
Html :: img tag 
Html :: toogle class add and remove class 
Html :: html div grid 9x9 
Html :: blobs fish 
Html :: vuejs v-on 
Html :: change button color in html 
Html :: Serve images in nextgen formats webp 
Html :: html p tag 
Html :: how to make multiple pages html 
Html :: html <svg path star 
Html :: status 201 
Html :: xpath select td class contains text 
Html :: tabpage in boostrap5 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =