Html and css font error?


#1

The h1 is supposed to change into Verdana font???

This is the html element:
link-type="text/css" rel="stylesheet" href="stylesheet.css"/
titleResult/title
/head
h1Hello/h1
[ I have removed the < > tags so the text will be visible]

This is the CSS Element

h1{
font-family: Verdana;
color:#576D94;
}

This is the error that comes up: Oops, try again. Don't forget to set your h1 font to Verdana!


#2

@blogslayer29299
Well, you didn't put the body tag between the element h1. There should always be a body tag whenever you're displaying content after the head tag.To display code in the forum, there's a code icon in your editing bar above the textbox where you write your subject or your reply.


#3

Sorry @miniapple8888 Where is the this code button icon in the edit bar? I can't seem to find it :-/


#4

@blogslayer29299

Here you go. Hope this clarifies things.


#5

attributes are separated by spaces, between <link and type you have a hyphen, this should be a space