When writing an href link, there is an absolute path and a relative path. What is the difference between adding/in front of the link in href and not adding?
Href = "/CP/images/lis.jpg", the current path is obtained before the relative path CP,
The following code executes the SUBGO () function, Point me Here, javascript:void (0), does not have a substantial effect, it is just a dead link, the function that executes is subgo (). Point me with Point me Difference.In fact #包含了一个位置信息默认的锚是
The property value for reading the href link through JavaScript is that IE sometimes reads the absolute path, while other standard browsers such as Firefox are the original path.
In IE, for the getattribute method of JavaScript, ie also provides
How do I understand linkrelalternatemediahandheldhreftarget? Poor language skills, how to understand link rel = "alternate" media = "handheld" href = "target"
This is the HEADER part embedded in a common webpage page. tell the search engine that
The following code executes the SUBGO () function, Point me Here, javascript:void (0), does not have a substantial effect, it is just a dead link, the function that executes is subgo (). Point me with Point me Difference.In fact #包含了一个位置信息默认的锚是
GetAttribute in IE67 obtains the hrefsrc attribute (the relative path 0 value is different from that in other browsers. in IE6/7, getAttribute obtains the href/src attribute (the relative path 0 value is different from that in other browsers ).
Copy Code code as follows:
Test
As a result, the href value of the A element in the result.innerhtml of the second pop-up in the IE6 and IE7 browsers became an absolute path.
In fact, people have encountered these
Smarty template file. why can I write "javascript:" For the href attribute value when tpl writes tag style settings? how can I implement this, is how to read the smarty javascript tag href from the path of the style settings.
', 'Zip01', 'zip02',
What are the URL, SCR, and href differences in HTML URLs?URL: Uniform Resource Locators (Uniform Resource Locator), a Web browser requests a page from a Web server via a URL.URLs are not attributes, src and href are attributes, SRC is used to
When developing Web pages, we often encounter the following situations:1. A label is only to trigger the onclick behavior;2. Display the pointer pointer of the mouse, or other visual effects like a-tag.For example, when performing a delete operation,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.