HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML onselect Attribute

HTML onselect Attribute



The onselect attribute fires after some text have been selected in an element.


Used With:-


Elements Event
All elements in HTML onselect




Its syntax is:- < element onselect="your_script" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML