How do you mix html and css code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do you mix html and css code?

17th Feb 2018, 4:33 PM
Anthony Kyalo
Anthony Kyalo - avatar
2 Answers
+ 13
If you refer on how to link one code to another in you HTML page in <head> you need to use the link tag: <link href="yourCSSroot" rel="stylesheet">. If you refer on how to use CSS in HTML page then you can use the embedded or internal way by using the <style> tag or style attribut of the HTML element.
17th Feb 2018, 4:48 PM
Alex Shaw 😻
Alex Shaw 😻 - avatar
0
Good question
17th Feb 2018, 4:47 PM
Muhammad Saud
Muhammad Saud - avatar