this is my code for html im trying to use link to create a link to the main.css page but for some reason its not connecting
im new to html and dont know the factors that play into it im an expirenced coder
i got this info from a video on youtube and did the exact same syntax
im new to html and dont know the factors that play into it im an expirenced coder
i got this info from a video on youtube and did the exact same syntax
HTML:
<!doctype html>
<html>
<head>
<title>my webpage </title>
<link rel="stylesheet" type="text/css" href="styles/main.css"/>
<style type="text/css">
body {
backround:red;
font-family: arial
}
</style>
</head>
<body>
<h1>big</h1>
<p>
this is <strong>bold</strong>
this is <em>italic</em>
</p>
<p>
this is <strong>bold</strong>
this is <em>italic</em>
</p>
<a href="[URL]http://www.google.com[/URL]">google.com</a>
<br> <ul>
<li><a href="page2.html">tshirts</a></li>
<li><a href="page3.html">Hoodies</a></li>
</ul>
<br>
<div></div>
<span></span>
<br><img src="[URL]https://addapinch.com/wp-content/uploads/2017/07/old-fashioned-vanilla-ice-cream-recipe-DSC_4239-500x375.jpg[/URL]">
</body>
this is the main.css page
body {
backround:#999;
font-family: arial
}
Last edited by a moderator: