Attributes are the extra settings inside a tag: src, alt, href… JavaScript can change them, and the page follows straight away.
src
alt
href