HTML
Here are all the important HTML tags with their meanings:
| Tag | Meaning |
|---|---|
<html> |
Defines the root of an HTML document |
<head> |
Contains meta information about the HTML document |
<title> |
Defines a title for the HTML document |
<body> |
Defines the document's body |
<h1> to <h6> |
Defines HTML headings |
<p> |
Defines a paragraph |
| ` | |
| ` | Inserts a single line break |
<hr> |
Defines a thematic change in the content |
<a> |
Defines a hyperlink |
<b> |
Defines bold text |
<strong> |
Defines important text |
<i> |
Defines italic text |
<em> |
Defines emphasized text |
<small> |
Defines smaller text |
<div> |
Defines a section in a document |
<span> |
Defines a section in a document |
<ul> |
Defines an unordered list |
<ol> |
Defines an ordered list |
<li> |
Defines a list item |
<img> |
Defines an image |
<table> |
Defines a table |
<th> |
Defines a header cell in a table |
<tr> |
Defines a row in a table |
<td> |
Defines a cell in a table |
<form> |
Defines an HTML form for user input |
<input> |
Defines an input control |
<button> |
Defines a clickable button |
<select> |
Defines a drop-down list |
<option> |
Defines an option in a drop-down list |
<label> |
Defines a label for an <input> element |
<textarea> |
Defines a multi-line input field (text area) |
<fieldset> |
Groups related elements in a form |
<legend> |
Defines a caption for a <fieldset> element |
<script> |
Defines a client-side script |
<style> |
Defines style information for a document |
<link> |
Defines the relationship between a document and an external resource |
<meta> |
Defines metadata about an HTML document |
<base> |
Specifies the base URL/target for all relative URLs in a document |
<map> |
Defines an image map |
<area> |
Defines an area inside an image map |
<caption> |
Specifies the caption for a table |
<colgroup> |
Specifies a group of columns in a table for formatting |
<col> |
Is used with <colgroup> to specify column properties for each column |
<thead> |
Groups the header content in a table |
<tbody> |
Groups the body content in a table |
<tfoot> |
Groups the footer content in a table |
<video> |
Embeds video content |
<audio> |
Embeds audio content |
<source> |
Specifies multiple media resources for media elements (<video> and <audio>) |
<embed> |
Defines a container for an external application |
<object> |
Defines an embedded object |
<param> |
Defines a parameter for an object |
<iframe> |
Defines an inline frame |
<canvas> |
Used to draw graphics, on the fly, via scripting (usually JavaScript) |