Advertisements
Advertisements
प्रश्न
The following HTML statement is not written properly. Re-write the correct statement with underlined correction. The desired purpose of the statement is mentioned under it.
<img source="img_girl.jpg" size="500" height="600">
<!--Image source should be img_girl.jpg, width and
height both should be 500-->
कोड लेखन
उत्तर
Corrections Made:
- The incorrect attribute
source
was replaced with the correct attributesrc
to specify the image file. - The incorrect attribute
size
was replaced withwidth
to set the image's width. - The height was changed from
600
to500
to meet the requirement that both width and height should be 500.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?