/

HTML / CSS / JavaScript Tutorial

CSS Keyword: initial

[this page | pdf | back links]

The CSS (CSS3) initial keyword is used to set a CSS property to its default value. It can be used for any CSS property and on any HTML element, e.g.:

 

Example rule:

div {color: initial; }

JavaScript syntax:

e.g. object.style.property="initial"

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile