开发者

A link which is opens in a new window, what will be the best appropirate instruction for use in title?

开发者 https://www.devze.com 2022-12-14 16:14 出处:网络
A link which is opening in a new window What is more appropirate to put in Title=\"text here\". Title=\"Opens in new window\"

A link which is opening in a new window What is more appropirate to put in Title="text here".

Title="Opens in new window"

or

Title="Opens in a new 开发者_运维知识库window"

or

Title="Link opens in new window"

or

Title="Link will open in new window"

or

Title="New window will open" (used by linkedin.com)

Which is grammatically and Logically correct? What do you use?


"Clik to view in new window" would be the best title


The title should reflect the content of the linked page, so it should perhaps rather be something like "Someones page about something (opens in a new window)".

Note that the target attribute is deprecated in XHTML, so to open a new window in an appropriate way you would use a Javascript in the onclick event that overrides the normal behaviour of the link. (Keep the href in the link though, so that search engines can follow the link, and people with Javascript disabled still can reach it.)


Opens in new Tab/ Window depending on your browser settings

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号