1. Home
  2. /
  3. HTML
  4. /
  5. HTML5 Table Example

HTML5 Table Example - HTML Typing CST Test

Loading…

HTML5 Table Example — HTML Code

Shows a semantic HTML5 table with header, body, and footer sections.

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Table Example</title>
</head>
<body>
	<table>
		<thead>
		<tr><th>Name</th><th>Age</th></tr>
		</thead>
		<tbody>
		<tr><td>Alice</td><td>25</td></tr>
		<tr><td>Bob</td><td>30</td></tr>
		</tbody>
		<tfoot>
		<tr><td colspan="2">Total People: 2</td></tr>
		</tfoot>
	</table>
</body>
</html>

HTML Language Guide

HTML (HyperText Markup Language) is the standard markup language used to create and structure content on the web. It defines the elements, attributes, and structure of web pages and is the backbone of the World Wide Web.

Primary Use Cases

  • ▸Structuring content on websites and web applications
  • ▸Embedding multimedia elements like images, audio, and video
  • ▸Creating forms for user input
  • ▸Defining semantic sections for SEO and accessibility
  • ▸Integrating with CSS and JavaScript for complete web solutions

Notable Features

  • ▸Semantic tags (e.g., `<header>`, `<footer>`, `<article>`)
  • ▸Hyperlinking using `<a>` tags
  • ▸Embedding media with `<img>`, `<video>`, and `<audio>`
  • ▸Form and input elements for user interaction
  • ▸Cross-browser and platform support

Origin & Creator

Developed by Tim Berners-Lee in 1991 as a core part of the World Wide Web project.

Industrial Note

HTML is specialized for creating and structuring web content rather than performing computation or complex application logic.

More HTML Typing Exercises

HTML5 Semantic StructureHTML5 Article and Section LayoutHTML5 Form ExampleHTML5 Header and FooterHTML5 Navigation MenuHTML5 Aside ExampleHTML5 Multimedia ExampleHTML5 Figure and FigcaptionHTML5 Article with Time ElementHTML5 Semantic Layout Example

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher