<style> HTML tag

In this article we will discuss about how to use the style tag in HTML.
  • 1719

The style tag in HTML is used for specifying the style sheet within the HTML head. It is denoted by <style> tag in HTML.

HTML Code:






    <style type="text/css">



            color: purple;




            color: red;






            My level1 heading is of purple color</h1>


            my paragraph color is red</p>





Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.