+ 1
Which tag we should use to add CSS in HTML
Hi friends, I am a Beginner Coder and I have learnt much about HTML. I want to know that which tag should we use to apply CSS in HTML. Also, if you like my question then don't forget to follow me and upvote my Question!!đđ
5 Answers
+ 6
Use style tag to apply css in HTML.
The <style> tag is used to define style information (CSS) for a document.
Inside the <style> element you specify how HTML elements should render in a browser.
If you want to connect external css file to the html file use the following tag <link rel="stylesheet" href="your file name">
But
Yuvraj use the search bar before posting question here as Ananiya Jemberu marked out there. Happy Coding!
+ 3
I guess this would help out https://www.sololearn.com/discuss/1962509/?ref=app
https://www.sololearn.com/discuss/572888/?ref=app
https://www.sololearn.com/discuss/1494023/?ref=app
https://www.sololearn.com/discuss/2055772/?ref=app
https://www.sololearn.com/discuss/1079075/?ref=app
https://www.sololearn.com/discuss/1194934/?ref=app
https://www.sololearn.com/discuss/55012/?ref=app
https://www.sololearn.com/discuss/1734894/?ref=app
https://www.sololearn.com/discuss/896357/?ref=app
https://www.sololearn.com/discuss/902135/?ref=app
+ 3
Yuvraj you are Welcome!!
+ 2
Thanks Matiyas Sirak
+ 1
Thanks Ananiya Jemberu ;