+ 1
How do i link HTML and CSS together, when Blogging?
3 Antworten
+ 8
You can put your CSS code inline with what you want to style like this:
<div style="background-color:green"> </div>
Or use the style tag in your HTML document:
<style>
body{
}
</style>
Or link to an external CSS document:
<head>
<link rel="stylesheet" href="example.css">
</head>
+ 2
I don't know anything about blogging, but HTML elements have the "style" attribute, which allows you to input your CSS directly to the element if you don't have access to the actual CSS for the site.
+ 1
<head>
<link rel="stylesheet" href="example.css" />
<head>
put the Css file at the same folder as the HTML one.