How I can combine my Html and Css document together? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How I can combine my Html and Css document together?

Html and Css

9th Dec 2021, 6:29 AM
Ahmed Mu'azu Sabo
Ahmed Mu'azu Sabo - avatar
7 Answers
+ 4
We have 3 ways to connect css with html, inline, internal, external https://www.w3schools.com/html/html_css.asp
9th Dec 2021, 7:07 AM
PanicS
PanicS - avatar
+ 3
If you want to link a CSS file to HTML, this is what you need: https://www.w3schools.com/tags/tag_link.asp
9th Dec 2021, 7:06 AM
Artem 🇺🇦
Artem 🇺🇦 - avatar
+ 3
Using link tag <link rel="stylesheet" href="style.css> U should write link tag inside the head tag in your html file search on Google about link tag if u don't understand my explanation
9th Dec 2021, 7:06 AM
Muhammad Galhoum
Muhammad Galhoum - avatar
+ 3
Complete the CSS course for self understanding
9th Dec 2021, 8:21 AM
NEZ
NEZ - avatar
+ 2
Thanks for your help
9th Dec 2021, 9:26 AM
Ahmed Mu'azu Sabo
Ahmed Mu'azu Sabo - avatar
+ 2
Yes..
9th Dec 2021, 8:23 PM
Praveen Prajaapati
Praveen Prajaapati - avatar
+ 1
Write this code in your html file in <head> or <body> tag (better way is in <head>): <link rel="stylesheet" href="file-name" type="text/css"> file-name means name of your css file that you have saved with .css extension. You have to write file name with .css extension.
10th Dec 2021, 4:41 AM
Romjan Ali
Romjan Ali - avatar