JavaScript URLs, URLs prefixed with the javascript: scheme, are used as fake navigation targets that execute JavaScript when the browser attempts to navigate. If the URL evaluates to a string, it is treated as HTML and rendered by the browser....because it deviates from normal link behavior. JavaScript URLs ,...such as the href attribute of <link> elements, do not allow javascript:...