html image description
snippet in html

html image description

user4294


    <figure>
  <img src="pic_trulli.jpg" alt="Trulli" 
    style="width:100%">
  <figcaption>Fig.1 - Trulli, Puglia, 
    Italy.</figcaption>
</figure>
 

add a caption of picture html

user704

<figure>
  
  <img src="pic_trulli.jpg" alt="Trulli" style="width:100%">
  <figcaption>Fig.1 - Trulli, Puglia, Italy.</figcaption>

</figure>

figcaption

user1502


    <html>
<head>
<style>
figure {
  border: 1px #cccccc solid;
  
    padding: 4px;
  margin: auto;
}

figcaption {
  
    background-color: black;
  color: white;
  font-style: 
    italic;
  padding: 2px;
  text-align: center;
}

    </style>
</head>
<body>

<figure>
  <img src="pic_trulli.jpg" 
    alt="Trulli" style="width:100%">
  <figcaption>Fig.1 - Trulli, 
    Puglia, Italy</figcaption>
</figure>

</body>
</html>