+ 3

What is the use of style tag?

style tag

1st Mar 2017, 8:58 AM
Rebecca
3 Antworten
+ 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 :)
1st Mar 2017, 9:15 AM
RJP
RJP - avatar
+ 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 !
1st Mar 2017, 9:08 AM
Rahul Nishar
Rahul Nishar - avatar
+ 2
It is used to embed ur css code inside a HTML page
1st Mar 2017, 9:40 AM
Bharath yadav
Bharath yadav - avatar