Computer Science, asked by rajatarora2442, 11 months ago

How to add a base URL for all the links in a page in HTML?

Answers

Answered by Sanjeevliv
0

The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.

The base URL of a document can be queried from a script using document.baseURI.

#SRKfan

Similar questions