+ 2

I wanted to create a web page, how i can mix html with css coding

how can I create a program with both html and css and how can I merge the two codings to make a web page

12th Mar 2017, 3:43 PM
vinaykumar gunda
vinaykumar gunda - avatar
6 Réponses
+ 22
Inside HTML... : <style>CSS goes here...</style> or Inside <head>… : <link href="source" rel="stylesheet">
12th Mar 2017, 3:48 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 22
<html> <head> <style> *{color:red;} </style> </head> <body> <p>CSS</p> </body> </html>
12th Mar 2017, 4:00 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
tq can you answer with an example??? then it will be convinient to me @valentinhacker
12th Mar 2017, 3:57 PM
vinaykumar gunda
vinaykumar gunda - avatar
+ 1
write your html and save it in a .html file then write your css for the webpage in separate .css file link the css file with html using the <link href="source of .css file" rel="stylesheet" > in the head element of html file It is good practice to write different html and css files and then link them into html file because as the size of html increases the file is difficult to organise.
12th Mar 2017, 4:02 PM
Mahendra Aanjna
Mahendra Aanjna - avatar
+ 1
first I should save both the html file and css file then I should open the html file and should type that link tag in the head tag ? is it correct @mahendra aanjna
12th Mar 2017, 4:05 PM
vinaykumar gunda
vinaykumar gunda - avatar
+ 1
can u tell me the explanation for the above topic I.e, about saving about two files @ mahendra aanjna
12th Mar 2017, 4:13 PM
vinaykumar gunda
vinaykumar gunda - avatar