If you’re wondering how people create windows which contain text that gets automatically selected or highlighted when someone clicks inside the window, here’s the HTML code: