![]() |
VOOZH | about |
The style attribute helps us to style an element using CSS declarations. It works very much similar to the style attribute of HTML. Almost all the elements are using this attribute.
Syntax:
style = "<style>"
Attribute values: The style attribute accepts the values mentioned above and described below.
Below examples illustrate the use of the style attribute.
Example 1:
Output:
👁 ImageExample 2:
Output:
👁 Image