I can't style my img-caption

Tell us what’s happening:

type or paste code here

Your code so far

<main id="main">
  <h1 id="title">My Learning to Code Journey</h1>
  <h3>Don't ever give up</h3>
  
  <div id="img-div">
     <img id="image"        src="https://res.cloudinary.com/dg1hibyti/image/upload/v1613320364/logo-1_ookt4g.png" alt="company logo" width="150"/>
    
    
    <caption id="img-caption">Company logo</caption>
    
  </div>  
  
    <p>I'm a web designer. You don't have to have a large budget to have your          own website.</p>
    
    <p>If you have something to say, sell, or information you want to share           with the world. Get a website.</p>
 
  
  <div id="tribute-info">
    <h2>Web Design</h2>
    <ul>
      <li>Introduction to Web Design and Development 2014</li>
      <li>Web Development Foundation 6/2016</li>
      <li>HTML Essential Training 1 3/2017</li>
      <li>CSS Essential Training 1  3/2017 </li>
      <li>CSS Essential Training 2  4/2017</li>
      <li>CSS Essential Training 3  3/2017</li>
    </ul>
    <h2>Technical Skills</h2>
    <ul>
      <li>Google IT Support Professional Certificate 3/31/2020</li>
      <li>CompTIA Network + Certitication Prep Certificate completion 12/24/2019</li>
      <li>CompTIA A+ (220-901) Cert prep Certiticate of completion April 2018</li>
      <li>CompTIA A+ (220-902) Cert prep Certiticate of completion March 2018</li></li>
    </ul>
   </div>  
<a href="https://freecodecamp.org" target="_blank">This links to freecodecamp.org</a>
</main>
  

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36 Edg/89.0.774.45.

Challenge: Build a Tribute Page

Link to the challenge:

HI @jsuccess !

I think it would be better if you provided a link to your project so we can see your css. It would also help if you explained what styling issues you are having with the img caption.

Also, caption tags are usually used for tables.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption

I think a more appropriate tag would be the fig caption.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption

Thank you it worked figcaption.

Thank you, fig caption worked fine.