Html and css font error?


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

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

This is the CSS Element

font-family: Verdana;

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


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.


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



Here you go. Hope this clarifies things.


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