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

html add table code

      <table>

            <thead>
                <tr>
                    <td>Language </td>
                    <td> Rank</td>
                </tr>
            </thead>

            <tbody>
                <tr>
                    <td>Python</td>
                    <td> 1</td>
                </tr>

                <tr>
                    <td>JavaScript</td>
                    <td> 2</td>
                </tr>

                <tr>
                    <td>SQL</td>
                    <td> 3</td>
                </tr>

            </tbody>


        </table>

Comment

PREVIOUS NEXT
Code Example
Html :: middel click vuejs 
Html :: html inline comment 
Html :: angularjs optional html checked 
Html :: vue js focus ref 
Html :: how to center the mainin html 
Html :: refresh html document every 30 seconds: 
Html :: Html meta responsive viewport metatag 
Html :: select html 
Html :: html input file type csv 
Html :: elementor icon controls 
Html :: bootstrap display none 
Html :: axonivy reuseable component 
Html :: git 443 operation timed out 
Html :: copyright sign in html 
Html :: slider flash 
Html :: html a href 
Html :: html load page at certain point 
Html :: table align 
Html :: html font size 
Html :: jinja mark text as safe 
Html :: prevent the child event from triggering the parent element angular 5 
Html :: am pm time html javascript 
Html :: html use js variable as text 
Html :: a tag open in new tab 
Html :: how to make a scrollable list in html 
Html :: what is WFH? 
Html :: random image 
Html :: how to remove glow around button html 
Html :: order invoice template in html 
Html :: open modal when clicking fullCalendar event bootstrap 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =