+ 2
Hi, best...very best...absolutely very best you can do is studying the codes of our famous lady of CSS Mitali .
Most of her codes are little examples to learn CSS.
0
If you could put the HTML code you have for "linking" in the question or send it here as a comment it would be much easier to help you.
0
Hi Danielle, there are 3 ways to add a css file to html. external is the hardest and depends on if you're linking with files on your computer or with hosted files.
Ways to add css:
1. inline (you use html code instead of css)
example:
Your html code looks like:
<html>
<font color = "blue">Hi.</font>
</html>
2. internal (use a <style> tag under the <head> tag)
example:
Your html code looks like:
<html>
<head>
<style>
p {color:blue;}
</style>
</head>
<p>
Hi.
</p>
</html>
3. external (link your css file which you saved with the extension .css to the html file you saved with extension .html or .htm depending on the situation)
example:
your html file looks like this:
<html>
<head>
<link rel = "stylesheet" type ="text/css" href= "directory/filename.css" />
</head>
Hi.
</html>
your css file looks like this:
p {
color: blue;
}