html base tag code example

Example 1: html base

<!doctype html>
<head>
<title>This is your title.</title>
<!--Head stuff here-->
</head>
<body>
<!--Body stuff here -->
</body>
</html>

Example 2: base tag after link tag

<base href="https://www.example.com/">
<base target="_blank"> 
<base target="_top" href="https://example.com/">

Example 3: HTML base

<!DOCTYPE html>

   <head>
      <title>HTML base Tag</title>
      <base href = "https://www.tutorialspoint.com" />
   </head>

   <body>
   </body>

</html>

Example 4: base href

ng build --prod --base-href /dashboard/