If you do not set the href property below IE6, you will not respond to hover. Double-clicking will select the label's parent container instead of the one-a label (this problem exists under IE).
The code is as follows
Copy Code
Original: href and onclick usages, distinctions, precedence levels in Html a tagsIf you do not set the href attribute under IE6, hover will not respond. When you double-click the label's parent container is selected instead of the one-a-label (the
Good text to push: A tag of the href= "javascript:void (0)" and href= "#" DifferenceZhang Xin Xu This article is also very interesting, as a slight code neat programmer, the tangled when tangled: is the habit or norms!? Question: Why use href=
Fix a bug in the story. For IE6, clicking the gif pause bug only occurs when the javascript: pseudo-protocol does not have a semicolon.
Let me give you a perspective.Adding an href attribute to a tag means the following:
: The
HTML (1) href and Action, get post, hrefaction
1. Differences between href and Action
Href can only get parameters, and action can get and post parameters.
Href is generally used for a single connection and can contain parameters (URL rewriting).
Js: Simple Method for getting the URL of the current page and window. location. href, window. location. href
Using JavaScript to get the URL of the current page seems complicated. If you think about the problem for the first time, many people may
Adapt to the scene: if the mobile phone calls, you need to add an href attribute to the a tag, but because of the need to link jump to add the onclick event to a tag, if you do not do any processing, the default execution of the click event, without
See the scrape chapter recently. There is a s_urls[0][' href ' that cannot be understood. Think Python has a non-numeric subscript array. After the multi-query to know that this is the tag query in BeautifulSoupHttps://stackoverflow.com/questions/581
[JavaScript] obtain the URL of the current page and window. location. href, window. location. href
Using Javascript to get the URL of the current page seems complicated. If you think about the problem for the first time, many people may wonder which
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 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.