skip to Main Content

I am making a website, and I put a image link. Whenever i tried putting text below it, it turned out like a link even after the closing tags. Here’s the link to the fork of my code:
https://codehs.com/sandbox/id/html-esJ7Yg

I tried doing this with /> instead of but the outcome remained the same.

2

Answers


  1. enter image description here<img … (add: /)>(remove :<)

    Login or Signup to reply.
  2. Anchor tags in general has a text-decoration property with the underline value.

    So it has a underline by default will always look like a link because they are a hyperlink.

    I would suggest applying the below styles to make them look like normal text.

    a{
        text-decoration: none;
        color: #333
    }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search