आधार यूआरएल स्थापित करने का एक बेहतर तरीका इसका उपयोग करना है:
A much better approach to establish the base URL is to use :
In HTML, the element is used to specify a base URL for all relative URLs in a document. When you set a tag, all relative links (e.g., images, stylesheets, links) will be resolved relative to the specified base URL. This is particularly useful when you want to avoid hardcoding URLs in multiple places.
Example of using the element:
In this example, both links will be resolved as:
https://www.examjila.com/online-test.htmlhttps://www.example.com/old-paper.html
Without the element, the links would be resolved relative to the current page’s location.
टैग का उपयोग डॉक्यूमेंट के सभी रिलेटिव URL के लिए एक 'आधार' URL सेट करने के लिए किया जाता है।
Correct Answer: A) BASE element