14. Problem with span


#1

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>

#2




Result


My favorite font is
Impact!




#3

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


#4

Also, this is Ariel, the mermaid:

And this is Arial, the typeface:

:grin:


#5

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