Many PDF viewers (for example apple’s Preview) allow one to select text to highlight like a regular yellow marker highlighter. These highlights can then be saved into the PDF file and reopened in other viewer apps.
Is there a standard part of the de facto PDF specification that defines highlights?
PDF standard (section 3.6.2 of version 1.7, according to this post) deals with annotations, this is what PDF viewer use to save highlights