Topic summary

HTML tag

HTML tag

Extracted from the Wikipedia article HTML element.

Syntax

In the HTML syntax, most elements are written with a start tag and an end tag, with the content in between. An HTML tag is composed of the name of the element, surrounded by angle brackets. An end tag also has a slash after the opening angle bracket. For example, a paragraph, which is represented by the <p> element, would be written as: