+ 2
Fix the following code
<p> <img src ="http://image'> </p>
9 ответов
+ 3
Adhm X , the quotation marks are not matching. I suggest you either use BOTH single (' ') or BOTH double (" ") quotes.
I would also like to inform William Wong that the <img> tag is an empty tag and hence does not require a closing tag (i.e. </img> is not required, though it does not really interfere with the program execution).
Hope this helps.
+ 4
Someone just asked this last week. Was that you?
+ 4
William Wong Good catch on the mismatched quotation marks! But the img tag does not require a closing tag 😉
+ 3
Yes
+ 3
Why didn't you answer the question?
+ 3
Please explain your question better. What are you trying to do?
http://image is not a fully qualified URL.
+ 2
your code is
<img src ="http://image'>
Supposing the URL is correct, the correct line would be
<img src ="http://image"></img>
You had an incorrect quote and forgot the closing tag.
+ 1
Because this isn’t for cheating on quizzes. This section is for people trying to learn how to code and get stuck so they ask their doubts here.
+ 1
Zvi The section is called questions, but learning can be done Feed in the community