Reputation: 55
Hi my local path for my style sheet is not working. Can anyone see what I'm doing wrong?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<rel="stylesheet" type="text/css" href="C:\Users\marinejoe30\Desktop\tyler_site\css\mystyle.css" />
<meta http-equiv="content-type" content="text/php; charset=utf-8" />
Upvotes: 0
Views: 264
Reputation: 10057
There's no such thing as the <rel>
tag. Additionally, you had two <html>
tags.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="C:\Users\marinejoe30\Desktop\tyler_site\css\mystyle.css" />
<meta http-equiv="content-type" content="text/php; charset=utf-8" />
Running this through an HTML validator would have saved you some time from posting on here. Please utilize resources before requesting help from the community in the future.
Upvotes: 2