HTML 5 placeholder 属性兼容性解决办法




    
    跨浏览器placehoder
    


在不支持placeholder的浏览器下,通过插入悬浮的span元素方式模拟

通过value方式模拟placeholder

你可能感兴趣的:(HTMl5)