HTML Tag
An HTML tag is the keyword inside angle brackets that marks the start or end of an element, like <p> or </p>. Tags tell the browser where an element begins and ends.
Web
Opening tags look like <p> and closing tags add a slash, like </p>. The tag plus its content plus its closing tag together form an element — so 'tag' and 'element' are related but not identical.
Tag names are written in lowercase by convention and must be spelled exactly as the HTML standard defines them.
Examples
HTML
<strong>Bold</strong> and <em>italic</em> text.Output:
Renders 'Bold' in bold and 'italic' in italics.