Skip to content
Sign upLog in
← Back to Community

HTML image exercise

Profile icon
IoanHadarean

Adding image in HTML.

Voters
Profile icon
QueenDimoke
Profile icon
DavidPacheco3
Profile icon
IoanHadarean
Comments
hotnewtop
Profile icon
pasair50

you should close <img src......................................."/">

Profile icon
IoanHadarean

@pasair50
Is it fine like this? Thank you.

Profile icon
Yamboy1

@pasair50
Closing these types of tags with a / isn't actually necessary unless you are using XHTML, and this is HTML5

Profile icon
IoanHadarean

@Yamboy1
That's good to know actually.I will keep that in mind.

Profile icon
Yamboy1

Just like what I said on your other repl, the </html> should be on the last line

Profile icon
IoanHadarean

@Yamboy1
Thanks :)

Profile icon
RedMonster12

i try, but the images don't work