CSS Id Selectors

The CSS ID selector allows you to select the ID of the page element to apply style sheet.

The ID selector is identified by a "#" followed by the html element id name.

<div id="nav">

The div id="nav" use the ID selector to apply stylesheet to this element

#nav {   
   font-size: 14px;   
   width: 500px;   

Copyright 2014-2017 by DeveloperTut.com. All Rights Reserved.