Why won't it accept the font family?


#1



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


<!DOCTYPE html>
<html>
	<head> <h style="font-family: arial">
		<title>Table Time</title>
	</head>
	<body>
		<h1> <h style="font-family: Arial"> Tables Are Mega Sweet</h1>
		
	<a href="https://www.simplyluxeblog.com">
    <img src="http://images4.fanpop.com/image/photos/16400000/Bunnies-bunny-rabbits-16437997-1280-800.jpg" />
</a>	
	</body>
</html>


#2

remove <h > from
<h1> <h style="font-family: Arial"> Tables Are Mega Sweet</h1>

it should be

<h1 style="font-family:Arial">Tables Are Mega Sweet</h1>

The HTML style attribute has the following syntax:

<tagname style="property:value;">

example:

<p style="font-size:100%;">This is a paragraph.</p>


#3

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