• Safari浏览器 Html 引用 meta扩展标记


    Safari浏览器中,Html页面<head></head>标记内,可以通过meta标记对浏览器对一些默认设置进行修改。

    apple-mobile-web-app-capable

        Sets whether a web application runs in full-screen mode.
    ——设置一个Web应用是否在全屏模式下运行(即是否取消显示苹果的工具栏和菜单栏)
     
    Syntax
     
      <meta name="apple-mobile-web-app-capable" content="yes">
     
    Discussion
     
        If content is set to yes, the web application runs in full-screen mode; otherwise, it does not. The default behavior is to use Safari to display web content.
     
        You can determine whether a webpage is displayed in full-screen mode using the window.navigator.standalone read-only Boolean JavaScript property.
     
    Availability
     
        Available for iOS.
     
    Support Level
     
        Apple extension.

    apple-mobile-web-app-status-bar-style

        Sets the style of the status bar for a web application.
     
    Syntax
     
      <meta name="apple-mobile-web-app-status-bar-style" content="black">
     
    Discussion
        This meta tag has no effect unless you first specify full-screen mode as described in -apple-mobile-web-app-capable.
        If content is set to default, the status bar appears normal. If set to black, the status bar has a black background. If set to black-translucent, the status bar is black and translucent. If set to default or black, the web content is displayed below the status bar. If set to black-translucent, the web content is displayed on the entire screen, partially obscured by the status bar. The default value is default.
     
    Availability
     
        Available for iOS.
     
    Support Level
     
        Apple extension.

    format-detection

        Enables or disables automatic detection of possible phone numbers in a webpage in Safari on iOS.
     
    Syntax
     
      <meta name="format-detection" content="telephone=no">
     
    Discussion
       
        By default, Safari on iOS detects any string formatted like a phone number and makes it a link that calls the number. Specifying telephone=no disables this feature.
     
    Support Level
     
        Apple extension.
  • 相关阅读:
    学习asp.net比较完整的流程
    时间的获取和转换,C#和Sql
    学习一种新编程语言要做的10几个练习
    分布式网络管理优点总结
    点对点网络大解析
    如何阅读他人的程序代码
    WebConfig
    正则表达式30分钟入门教程
    程序员遇到BUG的解释
    在T-SQL语句中访问远程数据库(openrowset/opendatasource/openquery)
  • 原文地址:https://www.cnblogs.com/cleverJoe/p/6811721.html
Copyright © 2020-2023  润新知