Jc92
July 7, 2019, 1:24pm
#1
https://codepen.io/JC92/pen/dBgpGE
Hi everyone,
I just started a tribute page on superheroes, I am trying to insert an image using CSS (and also HTML), however it doesn’t work. I can’t see where is the issue !!
Please come over and help me, any advice accepted
Andy42
July 7, 2019, 1:41pm
#2
Try this:
<!DOCTYPE html>
<!--this is Batman-like styled-->
<html>
<header id="container">
<div id="title">
<h1>BATMAN, SUPERMAN, IRONMAN?</h1>
<h3>Which type of <strong>superhero</strong> are you?</h3>
<select id="superhero">
<option>Batman</option>
<option>Superman</option>
<option>Ironman</option>
</select>
</div>
</header>
<img src="https://www.dccomics.com/sites/default/files/Char_GetToKnow_Batman80_5ca54cb83a27a6.53173051.png">
</html>
close the select tag
Don t close the img tag
Provide the source for the picture in the html file inside the img tag
Jc92
July 7, 2019, 1:47pm
#3
super. That works now.
it was because of the <select>
not closed, I’m sure !
thank you very much