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

PREVIOUS NEXT
Code Example
Html :: How to link a label and an input 
Html :: html to text npm 
Html :: registration form bootstrap 
Html :: pdf to html 
Html :: mailto html multiple addresses 
Html :: capturar valor de title por medios de class jquery 
Html :: input field with add button that creates another input 
Html :: import html display 
Html :: pt serif 
Html :: google maps css 
Html :: Copyright code 
Html :: html input min length 
Html :: html tag for line break 
Html :: vue click escape key 
Html :: style upload button vue 
Html :: cards in html 
Html :: flip an image js 
Html :: css cards 
Html :: mat-toolbar 
Html :: fork me github code 
Html :: icon for instagram in bootstrap 
Html :: input type email 
Html :: email validator hmtl 
Html :: bootstrap div inline cards 
Html :: html iframes 
Html :: html5 time input 
Html :: html title tag 
Html :: html acesskey 
Html :: html datetime format 
Html :: create link inertia-svelte 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =