This page is part of the CSS3.info CSS selectors test. See more info on CSS3 selectors.

  1. #id {
    }
    
    <div id='id'></div>

    The CSS selector should match the HTML fragment because the id is an exact match

  2. #id {
    }
    
    <div id='identification'></div>

    The CSS selector should not match the HTML fragment because the id is not an exact match

  3. #id {
    }
    
    <div></div>

    The CSS selector should not match the HTML fragment because it does not have an id