+ 1

Can i code Html n Css both together in notepad on my destop computer???

22nd Mar 2018, 6:06 PM
Akshay Warghade
Akshay Warghade - avatar
9 odpowiedzi
+ 6
In notepad, be sure to save your html sheet as ".html" and not ".txt". Also, your css sheet should be saved as ".css" and not ".txt". Manually type the extensions when you save. Say you name your css sheet "name.css". then add this to your html code to link the css file with it: <link type="text/css" rel="stylesheet" href="name.css"/>
22nd Mar 2018, 6:10 PM
Baraa AB
Baraa AB - avatar
+ 6
yeah right.. two files.. and put them in the same folder.. then use the link tag that i tell you about before
22nd Mar 2018, 6:26 PM
Baraa AB
Baraa AB - avatar
+ 6
another way is to make one file only and use style tag in head tag and between the style tag put your css code
22nd Mar 2018, 6:26 PM
Baraa AB
Baraa AB - avatar
+ 3
you don't have to make two separate documents. In the head tag write <style></style> and between it put your css code. Hope it helped :-D
22nd Mar 2018, 6:19 PM
Mao
Mao - avatar
+ 2
Thanks as well
22nd Mar 2018, 6:30 PM
Mao
Mao - avatar
+ 1
that means initially, we want to create two separate notepad documents.. one for html and other for Css... then add css document in HTML document using above CODE????
22nd Mar 2018, 6:16 PM
Akshay Warghade
Akshay Warghade - avatar
+ 1
i think files should be saved in same folder...
22nd Mar 2018, 6:18 PM
Akshay Warghade
Akshay Warghade - avatar
+ 1
@Baraa AB That's what I told him earlier.
22nd Mar 2018, 6:27 PM
Mao
Mao - avatar
+ 1
Thanks Baraa AB and Mao..keep doing 😄
22nd Mar 2018, 6:29 PM
Akshay Warghade
Akshay Warghade - avatar