Not accepting font-size


#1

Error message

Oops, try again. It looks like your paragraph's font-size is 16px instead of 20px.


<!DOCTYPE html>
<html>
	<head>
		<title>Putting it all together</title>
	</head>
	<body>
		<p> <p style = "font-size:20px; color: blue; font-family: Arial">A truly spectacular paragraph!</p>
	</body>
</html>

Thoughts?


#2

The HTML style attribute has the following syntax:

<tagname style="property:value;">
example:

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

so in your code remove <p>

<p> <p style = "font-size:20px; color: blue; font-family: Arial">A truly spectacular paragraph!</p>


#3

:expressionless: It's the little things. Thanks! That was it!


#4

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