<?xml version="1.0" encoding="utf-8"?>

Tags vs. elements

Tags vs. elements

Technically, an HTML element is the collection of a start tag, its attributes, an end tag, and everything in between. However, in common usage, the terms "HTML element" and "HTML tag" are interchangeable, so when we are talking about tags, we mean elements and vice versa.

Improve your UX & Product skills with interactive courses that actually work