Css initial, initial

Source: Internet
Author: User

Css initial, initial

A Brief Introduction to the initial attribute values of css:
It is used to set the css property value to its default value, that is, the css property value set by the browser by default.
This keyword can be used for any CSS attribute on any HTML element.
Syntax structure:

Property: initial;

Browser compatibility:
(1). ie does not support this attribute value.
(2) Google Chrome supports this attribute value.
(3) Firefox supports this attribute value.
(4) operabrowser supports this attribute value.
(5) The safria browser supports this attribute value.
Code example:

<! DOCTYPE html>  

In the above Code, the text color of the p element does not inherit the color attribute value of the div, but uses the default color value of the browser.

The original address is: http://www.softwhy.com/forum.php? Mod = viewthread & tid = 18455.

For more information, see http://www.softwhy.com/css3/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.