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
angel angel
6,620 PointsHow can I place my picture like in this website?
I will like to place my picture like in this website https://webmentor.org/ my picture is 1355X 900 pixels. I will like the width and height as this website above. I don't know what code I can use for this. Any ideas?
Thank you guys!!!
2 Answers
anil rahman
7,786 Pointsyou use the image tag in the body element of your html.
<img src="image_file.jpg" alt="picture_description">
You can change height and width using css.
check out the css basics for this. Syntax would look like this:
img { width: 100%; }
angel angel
6,620 PointsThank you so much that did it for me!! You are the best!