axure 中继器标记行
Meta tags can also be used to cause actions in the browser itself. The most common is the “refresh” meta tag, useful for having a page that is often updated auto-reload in the browser window (the index page of CNN.com being a good example) or to redirect the user to another page automatically (as when a site has moved from one URL to another, and you want people who bookmarked the old site to be automatically redirected to the site’s new location).
元标记还可以用于在浏览器本身中引起操作。 最常见的是“刷新”元标记,它用于使页面经常在浏览器窗口中自动重新加载(CNN.com的索引页面是一个很好的示例)或将用户自动重定向到另一个页面(就像网站从一个URL移到另一个URL一样,并且您希望将标记了旧站点的人自动重定向到该站点的新位置)。
Again, the meta tag is written inside the head
section of the document:
同样,将meta标记写入文档的head
:
<meta http-equiv="refresh" content="5;url=http://www.cnn.com">
The number immediately after the content is the number of seconds before the refresh takes place, following it after a comma is the URL to which the page will go. (If there is no URL placed here, the page will simply reload itself).
内容后的数字是刷新发生前的秒数,逗号后是页面将转到的URL。 (如果此处未放置URL,则页面将自动重新加载自身)。
axure 中继器标记行