dhoomdon — 2011-12-27T06:17:34-05:00 — #1
how can use css in html ?
molona — 2011-12-27T07:09:53-05:00 — #2
You don't use CSS in html, you use it with HTML... And this question is too broad to answer. The best way (although not the only) is to create a CSS document and link it you your html page right in the HEAD area.
Examle: your css document is called mycss.css
then, your code in your html page would be
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" >
<title>Title of the Page</title>
<link rel="stylesheet" type="text/css" href="mycss.css">
hojincong — 2011-12-27T07:44:21-05:00 — #3
Another Two ways are:
put the style tag in <head> like this:
<style>/*Css Contents here*/</style>
put on elements as attributes like this:
-->This is not recommended.
black_max — 2011-12-28T00:31:09-05:00 — #4
This question is beyond basic, and has been answered. Thread closed.