Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How to add multiple images

+4 votes
asked Apr 12, 2022 by Dominic Fritch (170 points)

My problem is whenever I try to code in two images I get an error saying "Unexpected end of file.Expected attribute name instead." I cant figure out how to fix this so help would be the best.

3 Answers

+1 vote
answered Apr 12, 2022 by Peter Minarik (84,720 points)
Probably you did not match an opening tag with a closing tag. Or perhaps did not close a string properly within quotes.

Can you share your entire code that does not seem to work?
0 votes
answered Apr 29, 2022 by userdotexe (1,340 points)
It might be easier to answer your question if you share a link to your html/or-css project, or an image of it.

But if you're working with CSS, then match opening braces with closing braces.

If you're working with HTML, then match opening tags with closing tags.

:)
+1 vote
answered May 2, 2022 by Omprakash Kumar (250 points)

<div class="row">
  <div class="column">
    <img src="img_snow.jpg" alt="Snow" style="width:100%">
  </div>
  <div class="column">
    <img src="img_forest.jpg" alt="Forest" style="width:100%">
  </div>
  <div class="column">
    <img src="img_mountains.jpg" alt="Mountains" style="width:100%">
  </div>
</div>

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...