+ 1
Can i code Html n Css both together in notepad on my destop computer???
9 Antworten
+ 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"/>
+ 6
yeah right..
two files..
and put them in the same folder..
then use the link tag that i tell you about before
+ 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
+ 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
+ 2
Thanks as well
+ 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????
+ 1
i think files should be saved in same folder...
+ 1
@Baraa AB That's what I told him earlier.
+ 1
Thanks Baraa AB and Mao..keep doing 😄