CSS Value | Initial Last Updated : 24 Aug, 2022 Comments Improve Suggest changes Like Article Like Report The initial value keyword is used to set an element's CSS property to its default value. The initial keyword can be used for any CSS property, and on any HTML element. Syntax: property_name: initial; Example 1: setting font size html <!DOCTYPE html> <html> <meta charset="utf-8"> <head> <title>CSS | value unset</title> </head> <style> span { color: blue; } .gfg { color: unset; } </style> <body> <h1 style="text-align: center; color: green;"> GeeksforGeeks </h1> <div style="text-align: center;"> <span class="gfg">Font color unset</span> </div> </body> </html> Output: Example 2: Unsetting the font color to equivalent parent element's value. html <!DOCTYPE html> <html> <meta charset="utf-8"> <head> <title>CSS | value unset</title> </head> <style> span { color: blue; } .gfg { color: unset; } </style> <body> <h1 style="text-align: center; color: green;"> GeeksforGeeks </h1> <div style="text-align: center; color: green;"> <span class="gfg"> Font color unset inherited from parent div </span> </div> </body> </html> Output: Supported Browsers: Chrome 1Safari 1.2Edge 13Firefox 19Opera 15 Create Quiz Comment T taran910 Follow 0 Improve T taran910 Follow 0 Improve Article Tags : Web Technologies CSS CSS-Basics Explore CSS Introduction 3 min read CSS Syntax 3 min read CSS Selectors 6 min read CSS Comments 2 min read CSS Colors 5 min read CSS Borders 5 min read CSS Margins 4 min read CSS Height and Width 4 min read CSS Outline 4 min read CSS Fonts 4 min read Like