Articles → CSS → CSS Initial Keyword
CSS Initial Keyword
Purpose
Syntax
Css-property-name:initial;
Example
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
div {
color:red;
}
p {
color:initial;
}
</style>
</head>
<body>
<div>
This is a div
<p>
This is a paragraph
</p>
</div>
</body>
</html>
Output
Click to Enlarge
Browser Support
Internet Explorer | Firefox | Chrome | Safari | Opera | Edge |
---|
12.0 | 19.0 | 1.0 | 1.2 | 15.0 | Yes |