id css w3schools code example Example 1: css id #id { css declarations; } Demo Example 2: id in css #id{ color:red; }