What are the recommendations for html <base> tag?

前端 未结 17 2228
一向
一向 2020-11-21 10:17

I\'ve never seen HTML tag actually used anywhere before. Are there pitfalls to its use that means I should avoid it?

The fact that I have never noticed

17条回答
  •  你的背包
    2020-11-21 10:30

    It's probably not very popular because it's not well known. I wouldn't be afraid of using it since all major browsers support it.

    If your site uses AJAX you'll want to make sure all of your pages have it set correctly or you could end up with links that cannot be resolved.

    Just don't use the target attribute in an HTML 4.01 Strict page.

提交回复
热议问题