+ 2

What does(href)attribute refers to?

Attribute used in <a> tag

15th Dec 2017, 5:29 PM
Saleh Alghanami 🇮đŸ‡Č
Saleh Alghanami 🇮đŸ‡Č - avatar
1 Answer
+ 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>
15th Dec 2017, 5:47 PM
GAWEN STEASY
GAWEN STEASY - avatar