ordinary div tags

self-closing anchor

This text is not within an <A> tag, therefore it should not be red.

This text is not within an <A> tag, therefore it should not be red. But there is a self-closing <A> tag just before this text.

self-closing div tags