Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> </head> <body> <a href="www.example.com">Link</a> <script> $("a[href]").attr("href", "https://www.w3docs.com"); </script> </body> </html>