CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS :default Selector

CSS :default Selector



The :default selector is used to selecting the default form element in a group of related elements. It is used on the following elements:-

  1. button
  2. input type=checkbox
  3. input type=radio
  4. option




Its syntax is:-
:default {
  css declarations;

Code Explanation

All Tutorials related to CSS Selectors

All Sections related to CSS