Search
 
SCRIPT & CODE EXAMPLE
 

HTML

HTML Tables

<table><caption>Phone numbers</caption>
<thead>
<tr>
	<th>Name</th>
	<th colspan="2">Phone</th>
</tr>
</thead>
<tbody>
<tr>
	<td>John</td>
	<td>577854</td>
	<td>577855</td>
</tr>
<tr>
	<td>Jack</td>
	<td>577856</td>
	<td>577857</td>
</tr>
</tbody>
<tfoot>
<tr>
	<td>&nbsp;</td>
	<td>Personal</td>
	<td>Office</td>
</tr>
</tfoot>
</table>
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

html table

HTML
<table border="1">
	<tr>
		<td>Rangée 1 Cellule 1</td>
		<td>Rangée 1 Cellule 2</td>
	</tr>
	<tr>
		<td>Rangée 2 Cellule 1</td>
		<td>Rangée 2 Cellule 2</td>
	</tr>
</table>
Comment

HTML Tables

<!DOCTYPE html>
<html lang="en">
<head>
<title>Example of HTML caption Tag</title>

</head>
<body>
   	<table dir="rtl" border="1" cellpadding="17"width="400" height="100" >
        <caption>User Details</caption>
        <thead>
            <tr>
                <th>1.</th>
                <th>2</th>
                <th>3</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>10</td>
                <td>20</td>
                <td>30</td>
            </tr>
            <tr>
                <td>100</td>
                <td>200</td>
                <td>300</td>
            </tr>
            <tr>
                <td>1000</td>
                <td>2000</td>
                <td>3000000000</td>
            </tr>
        </tbody>
    </table>
</body>
</html>
Comment

HTML - Tables

<!DOCTYPE html>
<html>
<style>
table, th, td {
  border:1px solid black;
}
</style>
<body>

<h2>A basic HTML table</h2>

<table style="width:100%">
  <tr>
    <th>Company</th>
    <th>Contact</th>
    <th>Country</th>
  </tr>
  <tr>
    <td>Alfreds Futterkiste</td>
    <td>Maria Anders</td>
    <td>Germany</td>
  </tr>
  <tr>
    <td>Centro comercial Moctezuma</td>
    <td>Francisco Chang</td>
    <td>Mexico</td>
  </tr>
</table>

<p>To understand the example better, we have added borders to the table.</p>

</body>
</html>
Comment

PREVIOUS NEXT
Code Example
Html :: angular open pdf in new tab 
Html :: innerhtml angular 
Html :: how to use different font size in same line in html 
Html :: input number maxlength html 
Html :: html img src background 
Html :: html unordered list 
Html :: The href Attribute in html 
Html :: javascript onblur 
Html :: how to add .java files to html 
Html :: vue if echo class 
Html :: datetime local input 
Html :: dark blue html code 
Html :: highlight js 
Html :: html video element 
Html :: date of birth select box in html 
Html :: textarea ckeditor 
Html :: slick slider slidestoshow auto 
Html :: input radio 
Html :: get id value of html dropdown in jquery 
Html :: prefill input field html 
Html :: ionic phone url 
Html :: button md file 
Html :: bootstrap btn colors 
Html :: Tables in html 
Html :: text -center bootstrap 
Html :: how to set a date for type date inpt 
Html :: a tag displays below img tag 
Html :: how to create animated text in html 
Html :: html include html page 
Html :: how to use font awesome icons in html 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =