+ 3
What is the use of style tag?
style tag
3 Answers
+ 3
Rahul Nishar, you are right,
just some small things:
You dont need to place the style tag in the head, you can have multiple (also in the body)
also I would highly suggest using external style sheets,
you could always add some inline style to override the stylesheet style ofcourse, but dont place it all in your html document :)
+ 2
style tag is used in the head of the HTML code !
it used to write CSS code in between the style tag
it is used so that the HTML and CSS code in the same file
there is no need of making 2 separate files and linking them !
+ 2
It is used to embed ur css code inside a HTML page