Copy code | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Copy code

We can copy our html code here and paste it to notepad and create an HTML file , then we can open that file in any browser. But how can I open my creation in browser when I have CSS codes too. Anybody help me , is it possible to open our creation in browser if we have CSS codes in it ?

5th Sep 2022, 4:58 PM
Ravi Kshiwak
Ravi Kshiwak - avatar
3 Réponses
+ 5
You can use <link> tag to add css file in html code Example : <head> <link rel="stylesheet" href="#file_path"> </head> ◉ The <link> tag defines the relationship between the current document and an external resource.
6th Sep 2022, 9:01 AM
Sujal
Sujal - avatar
+ 1
Thank you Sujal, I got it now
6th Sep 2022, 12:58 PM
Ravi Kshiwak
Ravi Kshiwak - avatar
0
Thank you
6th Sep 2022, 2:34 AM
Ravi Kshiwak
Ravi Kshiwak - avatar