HTML & CSS; #8 Font Size


#1


https://www.codecademy.com/courses/web-beginner-en-y2Yjd/1/2?curriculum_id=50579fb998b470000202dc8b#


Unknown. Only receive the error message: Oops, try again. Did you change the number of

tags? You should still have 3

tags.


<!DOCTYPE html>
<html>
	<head>
		<title>First font size change</title>
	</head>
	<body> 
		<p> Some text for you to make tiny!</p> <p style="font-size: 10px">
		<p> Some text for you to make normal size!</p> <p style="font-size:20px">
		<p> Some text for you to make super big!</p> <p style="font-size:40px">
	</body>
    </html>


#3

what did you do? When you have a paragraph:

<p>i am a paragraph</p>

you can add the style attribute to the paragraph opening tag without creating additional tags:

<p style="">i am a paragraph</p>

#4

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