How To Create Table in Html

Defining an HTML Table

An HTML table is defined with the <table> tag.

Each table row is defined with the <tr> tag. A table header is defined with the <th> tag. By default, table headings are bold and centered. A table data/cell is defined with the <td> tag

<!DOCTYPE html>

<h2>Basic HTML Table</h2>

<table style="width:100%">



Add a Comment

Your email address will not be published. Required fields are marked *