What does the yellow and purple highlight mean in notepad++?

12,033

It is called syntax highlighting. It just makes it easier to see where functions are, strings are, special code is. From the link:

Syntax highlighting is a feature of some text editors that display text—especially source code—in different colors and fonts according to the category of terms. This feature eases writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it is intended only for human readers and editors.

Share:
12,033
Admin
Author by

Admin

Updated on July 10, 2022

Comments

  • Admin
    Admin over 1 year

    When I open my PHP file in Notepad++, some statements are highlighted, including the PHP opening and closing tags (which are in purple) and a few statements (in yellow).

    What do these highlights mean?

    P.S. I know this may seem like a very basic question but I am just new to using notepad++ and coding in general.