+ 4

How do i bind codes?

i made a HTML code in notepad++. then i made a new css code in notepad++ to style my HTML code ,but how do i bind the documents together to make the HTML pick up the CSS

15th Jul 2018, 4:04 AM
Ranjinee
Ranjinee - avatar
5 Respuestas
+ 2
Check out this code https://code.sololearn.com/WcBiBdAmDURQ/?ref=app Just copy HTML codes to a file called index.html and CSS codes to file called style.css. Save them Double click index.html to open web page on your browser.
15th Jul 2018, 5:24 AM
Calviղ
Calviղ - avatar
+ 5
You need to import/insert the css file into the <head> tags using link reference.
15th Jul 2018, 4:18 AM
Apple Blossom
Apple Blossom - avatar
+ 3
thanks Paul Grasser. it makes do much sense now
15th Jul 2018, 4:12 AM
Ranjinee
Ranjinee - avatar
15th Jul 2018, 4:09 AM
Paul Grasser
Paul Grasser - avatar
+ 2
<head> <link rel="stylesheet"type="text/css"href="mystyle.css"> </head> put your file name on place of mystyle.css
15th Jul 2018, 6:45 PM
Manoj Shelgoankar
Manoj Shelgoankar - avatar