css icon attribute


  Translation results:

icon

#Idol, object of worship; icon, icon; [sect] icon; portrait

英[ˈaɪkɒn]  美[ˈaɪkɑ:n]

css icon attributesyntax

Function:The icon attribute provides creators with the ability to set elements to the equivalent of an icon.

Syntax: icon: auto|URL|inherit

Description: auto Use the default universal icon provided by the browser. URL references one or more icons in a comma-separated list. inherit specifies that the value of the icon attribute should be inherited from the element.​

Note: Unless the value of the "content" attribute is set to "icon", the element's icon will not be used.

css icon attributeexample

img
{
content:icon;
icon:url(imgicon.png);
}

Popular Recommendations

Home

Videos

Q&A