Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
But to access those elements the style collection would probably not be needed I would think, since height and width are valid attributes for the img tag.... but without the "px" specified in the HTML attributes. The width and height attributes for image elements should be numeric only (where pixels are the assumed unit), expect for percentages, when the % sign is allowed.
<marquee bgcolor="green" scrolldelay="100"
onmouseover="this.behavior='alternate';this.direction='right';this.bgcolor='red';this.scrolldelay='500'">
test
</marquee>
Hmm... not really sure. Do those attributes pass a validation test? It may be because they are no longer valid attributes (although I wouldn't see javascript being too picky about that)......for some reason bgcolor and scrolldelay doesn't take effect, anyone have any idea why ?.