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

Scott Raymond
Scott Raymond
6,542 Points

Anchor help. HTML help. What am I doing wrong?

I tried to copy and paste my code snippet which does not look good I know. But I am massively struggling on why my anchor tag is not work for the href. I am supposed to use html tables and rows to make a website about an album so the format is a little odd because of that but I have no clue what my problem is. Should I use sections? I have to for my tables and rows. Any help is greatly appreciated. I got it to work once but not sure what happened after that. Thanks

<body> <section> <center><img src="img/Passion_Here_For_You_grande.jpg" alt="Passion Album Here For You" width="450px" height= "400px”></center> <h1>Here For You: Recorded Live at Passion 2011</h1> <a href="http://passionresources.com/collections/passion-music"><h2>Passion</h2></a> <h3>Released March 18, 2011</h3> </section>

1 Answer

Jonathan Moore
Jonathan Moore
10,096 Points

you need to add the 'style=' before the width and height

Scott Raymond
Scott Raymond
6,542 Points

Obviously, a newbie here. Thank you SO MUCH! Doing this on my own and have been trying everything. Thank you, thank you!