Computer Science, asked by prakhara8554, 1 year ago

How to use the tag to define the base URL for an HTML page?

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