The HTML style attribute is used to apply styles to HTML element, such as background color, font color/text color, fonts, font size, and alignment etc.

The HTML Style Attribute

To set the style of an HTML element, with the help of style attribute.

syntax:

<tagname style=”property1:value1; property2:value2;”>

The tagname is any HTML element like…

SHIVARAJU KOILAKONDA

working as Lecturer in Computer Application at Nagarjuna Govt. College, Nalgonda since 10years

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store