+ 2
What does(href)attribute refers to?
Attribute used in <a> tag
1 ответ
+ 9
Omitting this attribute creates a placeholder link. The href attribute indicates the link target, either a URL or a URL fragment. A URL fragment is a name preceded by a hash mark (#), which specifies an internal target location (an ID) within the current document.
<ahref="javascript:alert('Hello World!');">Execute JavaScript</a>