This may be a silly question, but some websites, depending where my cursor currently is, when I select all (ctrl+a
), it selects only a portion of the page.
Obviously, I understand how this works for <input>
or <textarea>
elements. But is there a simple way to control the behavior of that select all?
I understand I can capture key events, etc. but I just wondering if there is a HTML built-in attribute or behavior.