• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar

Coder Tutorial

  • Home
  • HTML
  • CSS
  • PHP
  • SQL
  • MySQL
  • JS
  • PL/SQL
  • Python
  • Java
  • Oracle

HTML Tables

HTML Tables

An HTML table is defined with the <table> tag.
The HTML table can have the following elements:
The <table> tag defines the HTML table.
The <tr> tag is used to define a table row.
The <th> tag is used to define a table heading or title.
The <td> tag is used to define a cell in a table.
The <caption> tag defines the table caption.
The <colgroup> tag defines a group of columns in a table.
The <col> tag defines a column in a table.
The <tbody> tag defines the body content in a table.
The <thead> tag defines the head content in a table.
The <tfooter> tag defines the footer content in a table.

HTML Tables

<!DOCTYPE html>
<html>
	<head>
		HTML Tables
	</head>
<body>
	
ID Title Price
1 HMTL course 10
2 CSS course 20
3 PHP course 30
</body> </html>

Result:



HTML Tables

IDTitlePrice
1HMTL course10
2CSS course20
3PHP course30


Filed Under: HTML

Primary Sidebar

Tutorials

  • HTML Tutorial
  • CSS Tutorial
  • PHP Tutorial
  • SQL Tutorial
  • MySQL Tutorial
  • JavaScript Tutorial
  • Python Tutorial
  • PL/SQL Tutorial
  • Java Tutorial
  • SQLPlus Tutorial
  • Oracle Tutorial
  • PostgreSQL Tutorial
  • Ruby Tutorial

Secondary Sidebar

    • HTML Tutorial
    • HTML Basic Tags
    • HTML Formatting
    • HTML Paragraph
    • HTML Headings
    • HTML Attributes
    • HTML Links
    • HTML Tables
    • HTML Lists
    • HTML Image
    • HTML Colors
    • HTML Forms
    • HTML iFrames
    • HTML Comments

Copyright  2018 - 2021 Coder Tutorial

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.