2. <html>
<body>
<h1>The img element</h1>
<img src="img_girl.jpg" alt="Girl in a jacket" width="500" height="600">
</body>
</html>
What will be the output? Write in your own language.
please guys l request you please answer correctly please please please please answer what the question is asking not others please
Answers
Answered by
0
Answer:
it outputs a heading named as the img element and the picture of the girl that you used as source in the IMG tag with width 500 and height 600
Explanation:
the heading 'the img element' is displayed in h1 (heading 1 ) format. The next is IMG tag, it is used to display an image. it has some attribute named as src,alt , width and height.
src is source that the IMG contains. and alt is when the image is not appeared it displayed as girl in a jacket. the image is in size with width 500 and height 600.
and end the program using html tag and body tag
Similar questions