Adding <em> word and alos family-font, font-size and color


#1


im on Social network profile, im having trouble making a word italics and adding a font, size and color.


https://www.codecademy.com/pt/courses/web-beginner-en-9x6JW/0/7?curriculum_id=50579fb998b470000202dc8b


when i add all the following (italics, font size and font family), i use the
";" but the codes acts as i press the Enter button, i need to know if i can even do this btw.

HTML & CSS


#3

is my code


#4

!DOCTYPE html is it >


#5

please post your full code, thank you


#6

I am new to coding so can you please tell me what do
You mean by full code, sorry


#7

copy your all the code in your index.html to the forum so i can have a look


#8

<!DOCTYPE html>
<html>
	<head>
		<title>Adalid Aparicio Cespedes</title>
	</head>
	<body>
	<img src="https://yt3.ggpht.com/-jKXyHQ4XEtI/AAAAAAAAAAI/AAAAAAAAAAA/QC_0A6wccME/s100-c-k-no-rj-c0xffffff/photo.jpg"/>
	<p>Hi, im <p style="font-size:22px"><em>19</em></p>yrs of age and was born in<p style="font-family:Copperplate">Mexico City</p>.I am a male Hispanic and have the most beautiful girlfriend.</p>
	   <ul>
	     <li><p style="color:blue">Interest</li>
	      <ol><li><strong>working hard</strong></li>
	      <li>seeing my girlfriend</li>
	      <li>driving</li></ul>
	     <ul><li>Favorite foods</li>
	     <ol><li>tortas cubana</li>
	     <li>enchiladas</li>
	     <li>tacos</li></ul>
	     <ul><li>Jobs</li>
	     <ol><li>food prep</li>
	     <li>lanscaping</li>
	     <li>line cook</li></ul>
	     <ul><li>Shoes</li>
	     <ul><li>converse</li>
	     <li>airmax</li>
	     <li>jordans</li></ul>
	</body>
</html>

#9

seems fine? Or is there a specific exercise you can't pass? You might want to replace some of the paragraph tags with span tags:

<p>Hi, im <span style="font-size:22px"><em>19</em></span>yrs of age and was born in<span style="font-family:Copperplate">Mexico City</span>.I am a male Hispanic and have the most beautiful girlfriend.</p>

using a inline element is better in this case


#10

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