14. Problem with span

I have no idea what is wrong with this code.

<!DOCTYPE html>
<html>
	<head>
		<title>Result</title>
	</head>
	<body>
		<p>My favorite font is 
		<span style="font-family: Ariel; color:red;">Impact</span>!</p>
	</body>
</html>
Result

My favorite font is Impact!

your favorite font is Impact, then why make the font Ariel?

1 Like

Also, this is Ariel, the mermaid:

And this is Arial, the typeface:

:grin:

1 Like

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