The HTML <marquee> tag creates a scrolling text or image banner that can move horizontally or vertically on a webpage. Attributes like direction, behavior, scrolldelay and scrollamount control the scrolling properties, while width, height, bgcolor, hspace and vspace set dimensions and spacing. Common values for attributes include percentages for sizing, and numbers for delays, jumps and looping.