HTML comment

noun

say it: “AYCH-TEE-EM-EL KOM-ent” /ˌeɪtʃ tiː ɛm ˈɛl ˈkɒmɛnt/

A note in an HTML file, written between the comment start and end marks, that the browser reads past and never shows on the page.

What is HTML comment?

HTML comment — Text in HTML source that browsers do not display as page content.

<!-- Update the seasonal menu here. -->

In a sentence

  • “I left an HTML comment above the menu saying the prices change in June.”

Level: Novice · More HTML terms at this level

Updated