What is wrong with code (Font-Family)



Oops, try again. Make sure your < h 1 > header has the font-family Arial!

!DOCTYPE html>
		<title>Table Time</title>
		<h1><p style="font-family:Arial">Tables Are Mega Sweet</h1>
		<img src="http://s7d4.scene7.com/is/image/roomandboard/?layer=0&size=498,300&scl=1&src=996120_wood_W&layer=comp&$prodzoom0$"/>
		<a href="http://www.ikea.com/">
		 <img src="https://i.ytimg.com/vi/7EeqPTjK38s/hqdefault.jpg"/>


Yes but you put it in a p tag and not in the h1 tag. You don't need the p tag.


Wow I never knew that so basically you put whatever you want to change the font of in the tag? Example if I wanted to change the title to font Arial I would put <title style ?


You can't change the style of the <title> tag.
But any other ones yes. Such as changing font of h2 would be <h2 style="font-family: Calibri;">...</h2> etc.


Ahh learn something new everyday thanks so much!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.