HTML tag
Reference
Tag | Description |
---|---|
<!-- ... --> |
Defines a comment |
<!DOCTYPE> |
Defines the document type |
<a> |
Defines a hyperlink |
<article> |
Defines an article |
<body> |
Defines the document’s body |
<br> |
Defines a single line break |
<button> |
Defines a clickable button |
<code> |
Defines a piece of computer code |
<div> |
Defines a section in a document |
<footer> |
Defines a footer for a document or section |
<h1> to <h6> |
Defines HTML headings |
<head> |
Defines information about the document |
<header> |
Defines a header for a document or section |
<html> |
Defines the root of an HTML document |
<img> |
Defines an image |
<li> |
Defines a list item |
<link> |
Defines the relationship between a document and an external resource (most used to link to style sheets) |
<menu> |
Defines a list/menu of commands |
<nav> |
Defines navigation links |
<ol> |
Defines an ordered list |
<p> |
Defines a paragraph |
<span> |
Defines a section in a document |
<table> |
Defines a table |
<td> |
Defines a cell in a table |
<title> |
Defines a title for the document |
<tr> |
Defines a row in a table |
<ul> |
Defines an unordered list |
<video> |
Defines a video or movie |
source: w3schools
Anatomy of an HTML tag
tag structure
attribute
source: MOOC by JHU