HTML <Style> Tag and Its Example

aimtocode

HTML Style Definition:

The <style> element is used to add CSS style rules to an HTML document. The element is expected to appear in the document <head>, but will also render acceptably when used in the <body> of the document.

Example: <style></style>



<style> Output:

aimtocode