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! While you're at it, check out some resources Treehouse students have shared here.

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

HTML

my code is showing inside my resume page, how i remove it?

<!DOCTYPE html> <html> <head> <title> Gregory Anderson Resume</title> <link rel="stylesheet" href="resume.css"> </head> <body> <img src="http://placeimg.com/640/480/tech"> alt"Gregory Anderson, web developer" class="main-image"> <h1>Gregory Anderson, Web Developer</h1> <h2>Summary of Qualifications</h2> <ul> <li>Experience as a frelannce web developer</li> <li>Experiencee with HTML,CSS and Javascript</li> <li>Bachelor of Arts, Economics</li> </ul> </body> </html>

Here is my code. on the browser page this shows up (alt"Gregory Anderson, web developer") how do i fix it?

1 Answer

Hi Gregory,

You have a closing angle bracket (">") after your src attribute in the image tag, so your alt attribute and class are now outside of the image tag. If you put anything outside of a tag it will show up as text on your page.

Another thing to note is that you are missing an equal sign for your alt attribute.

Also, please have a look at the Markdown Cheatsheet on how to properly format your code for posting to the community. It makes debugging way easier.

<!-- Your code -->
<img src="http://placeimg.com/640/480/tech"> alt"Gregory Anderson, web developer" class="main-image">

<!-- Correct code -->
<img src="http://placeimg.com/640/480/tech" alt="Gregory Anderson, web developer" class="main-image">