<!DOCTYPE html> <html> <head> <title> Sarah, the awesome personal trainer</title> </head> <body> <img src="https://www.google.co.uk/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=0ahUKEwjuz-HHoeHMAhWJDxoKHX5YBiAQjRwIBw&url=http%3A%2F%2Fwww.istockphoto.com%2Fvector%2Fsporty-girl-23361078&psig=AFQjCNEvqv9GhCx9RclTfEqGQBM1rdvugQ&ust=1463579728631061</body>" /> <p>age:23 years old gender: female hometown: London</p> </body> </html>
Why won't the
<p> part go through?
it's not the p but the image is wrong. you can se that
</body> is in the image
I changed the image and it worked just fine for me
Well, first you need to remember what all images end with, and then remember what all links to websites begin with. I'll give you a hint, links start with https. In html, you can make it so that when you click an image then it goes to a website, but that also requires that the image is nested inside of the tag that gives the link.
You don't need to understand everything about links yet if you haven't covered it(I don't know if you have or not), but images are important for you at the moment. If you are going to be building websites as a job, or for fun, (or both ), then you need to tell the difference between images and links.
Google search any image, (I really like looking at corgis), and look through the images for one that you like. Once you have found one that you like, click view image. Look at the link to the image(click on the top part of your we browser, the name escapes me right now), and look at the very last part of the image.
Copy the image and paste the link as your src attribute. I know that I wrote a lot, and it is probably a lot of reading, but I will tell you this; your link to your image in your code isn't actually an image, it is a link to a website. You can tell when something is a link to an image when it ends with a certain keyword; I will leave you to figure out that word.