implement html5 new interface