img, display in browser
Browser display, img element
- img element it's a void element (has no content): nothing to display in browser
- but the linked resource through src attribute (static or dynamic image): displays inline-block in browser
Display type: inline-block
Video demonstration img element, view in browser
HTML5 img, browser display, Tutorial
min | video details |
---|---|
00:08 | tetsing the browser display of the img element |
00:18 | the <img> tag does not display in browser's window |
00:36 | the embedded image through <img> tag, displays in browser's window |
00:59 | the alternative text for the image displays only when the image can't be displayed |