Where do I put the html and where do I put the css? different files? different doc parts? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Where do I put the html and where do I put the css? different files? different doc parts?

2nd Aug 2016, 5:38 PM
ido minsky
ido minsky - avatar
4 Answers
+ 1
Same file will do the job.
3rd Aug 2016, 11:18 AM
Mohammad Fahad Sayed
Mohammad Fahad Sayed - avatar
0
anywhere you want to but you need to link css file to html with this code: <link type=""text/css" rel="stylesheet" href="#"></link>
4th Aug 2016, 3:57 AM
Faizan
Faizan - avatar
0
IF YOU WANT in same file.html : html tag is very important first thing to write, then inside it you write all tags. The css the style tag you write it inside head tag
5th Aug 2016, 1:15 AM
Daliah Aljutayli-داليه الجطيلي
Daliah Aljutayli-داليه الجطيلي - avatar
0
also, You can write css code in separated file file.css then call it inside html file.html , I thik is written like this <link rel="stylesheet" type="text/css" href="file.css">
5th Aug 2016, 1:22 AM
Daliah Aljutayli-داليه الجطيلي
Daliah Aljutayli-داليه الجطيلي - avatar