用webview自定义网址

代码

wv=(WebView)this.findViewById(R.id.wv);
wv.loadData(
"<html>"+"<body test=#000000>"+"<a href="http://www.baidu.com">www.baidu.com</a>"+"</body>"+"</html>",
"text/html",
"utf-8");

原文地址:https://www.cnblogs.com/wdc224/p/3676680.html