+ 1

Please how do i link my css code to my html code?

Html/css

30th Jan 2017, 8:40 AM
Jackson Jackson
Jackson Jackson - avatar
6 Respuestas
+ 10
<link href="source" rel="stylesheet" />
30th Jan 2017, 8:42 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
you can also write the CSS code in <style> tag usually placed inside the <head> tag
31st Jan 2017, 9:43 AM
Utkαrsh
Utkαrsh - avatar
+ 2
Thank you
30th Jan 2017, 8:42 AM
Jackson Jackson
Jackson Jackson - avatar
+ 2
In code playground, the three tabs 'html', 'css' and 'js' are automatically linked to each others... That's mean the css and js code are silently linked in head of html code ( so for js code we need to care of Dom content loaded before trying to access it, usually by using something like the 'window.onload' event ).
31st Jan 2017, 9:06 AM
visph
visph - avatar
+ 1
<link rel="stylesheet" type="text/css" href="your css"/>
30th Jan 2017, 8:53 AM
Ned Alturas
Ned Alturas - avatar
- 2
M building a web page and there are three menus "html' 'css' and 'jv'. How do i link the css menu to the html page or does it do that automatically?
30th Jan 2017, 8:57 AM
Jackson Jackson
Jackson Jackson - avatar