0
What does <base> element do?
<base> element in html
1 Answer
+ 2
Given a page accessible at
http://abc.xyz/index.html
and an anchor link as follow
<a href="/investor" />
which will point to
http://abc.xyz/investor
and now with base element we can change it to resolve into
http://www.google.com/investor
instead. Clear as mud? đ
đĄ Further reading @ MDN
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base