Let us see concept of tables in html. You will learn about how can you create table in html.
So follow along the tutorial to know. let us create a basic tutorial.
Final Output : It is table with two headings as Name and Blurt Power and data as @sct.blurt and 2191201 .
Step 1 : create a html well structure for your file.
Step 2 : write following code inside the body tag.
Step 3 : run the file with any browser to see the output.
Full Code :
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>my first web page is here</title>
</head>
<body>
<table>
<tr><th>name</th><th>BP</th></tr>
<tr><td>@sct.blurt</td><td>2191201</td></tr>
</table>
</body>
</html>
Explanation :
- We use table tag for creating a table.
- tr tag is used for creating table row and th is used for creating table heading.
- td is used to create table data.
So that is how you create a table in html. we will see more of it in future tutorials.
Thank You.
Links for previous tutorials
- HTML BASICS AND CREATING PARAGRAPHS
- Headings in Html
- ANCHOR TAGS IN HTML
- Image tag in Html
- CREATE YOUR BASIC WEBSITE
- Inline Elements in Html
- BLOCK ELEMENTS IN HTML
- CONCEPT OF IFRAMES IN HTML , FULL TUTORIAL
- UNORDERED LIST IN HTML
- UNORDERED LIST And Creating Sub list for same
- ORDERED LIST IN HTML
- Description List in Html