+ 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
6 odpowiedzi
+ 22
Inside HTML... :
<style>CSS goes here...</style>
or
Inside <head>… :
<link href="source" rel="stylesheet">
+ 22
<html>
<head>
<style>
*{color:red;}
</style>
</head>
<body>
<p>CSS</p>
</body>
</html>
+ 1
tq can you answer with an example??? then it will be convinient to me @valentinhacker
+ 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.
+ 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
+ 1
can u tell me the explanation for the above topic I.e, about saving about two files @ mahendra aanjna