<html> <body> <button onClick="alert(myL.type);">MIME type for link</button> <a id="myL" href="yourvideo.avi" type="video/mpeg">The video sample</a> </body> </html>