Horje

How to use HTML <base> Tag

Specify a default URL and a default target for all links on a page:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<head>
  <base href="https://horje.com/learn/634/what-is-html-b-tag" target="_blank">
</head>

Output should be:

How to use HTML <base> Tag




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin