Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
rahul Chettri3,652 Points
what is wrong in this
i have done the needed
<!DOCTYPE html> <html> <head> <title>HTML Text</title> </head> <body> <p>Mike's favorite course is <i>"HTML Basics"</i></p> <p> <strong>Mike T. Frog</strong><br> 100 Lilypad Way<br> Portland, OR 97227 </p> </body> </html>
Steven Parker225,652 Points
Cheo is correct, but you might like to know why the difference is important. MDN says:
By default, the visual result is the same. However, the semantic meaning is different. The <em> element represents stress emphasis of its contents, while the <i> element represents text that is set off from the normal prose, such a foreign word, fictional character thoughts, or when the text refers to the definition of a word instead of representing its semantic meaning.
For more details, see the linked MDN page.
Md Sumon MollaCourses Plus Student 4,110 Points
Thanks in advance. For "ITALIC" you have to use <em>some text</em instead of <i>some text</i> for more details you can have a look in this URL https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em