Is there a way to highlight Native Elements

Is there a way to highlight Native Elements, as Highlighting works with JavaScript and for Native Elements does Seems JavaScript doesn’t work