添加网页代码可以事网站访问时以兼容模式访问:在head标签中添加一行代码, <html><head><meta name=renderer content=webkit|ie-comp|ie-stand></head><body></body></html>。
content的取值为webkit,ie-comp,ie-stand之一,
区分大小写,分别代表用webkit内核,IE兼容内核,IE标准内核。
若页面需默认用极速核,增加标签:<meta name=renderer content=webkit>
若页面需默认用ie兼容内核,增加标签:<meta name=renderer content=ie-comp>
若页面需默认用ie标准内核,增加标签:<meta name=renderer content=ie-stand>
在head标签中添加一行代码:<html> <head> <meta name=renderer content=webkit|ie-comp|ie-stand> </head> <body> </body></html>content的取值为webkit,ie-comp,ie-stand之一,区分大小写,分别代表用webkit内核,IE兼容内核,IE标准内核。 若页面需默认用极速核,增加标签:<meta name=renderer content=webkit> 若页面需默认用ie兼容内核,增加标签:<meta name=renderer content=ie-comp> 若页面需默认用ie标准内核,增加标签:<meta name=renderer content=ie-stand>
- 上一篇: 软件工程专业,学的C++,写代码困难,该怎么办呢?
- 下一篇: 返回列表