'base' sets a base URL for the website : base « Meta Tags « HTML / CSS






'base' sets a base URL for the website

    
<html>
   <head>
   <title>base element example</title>
      <base href="http://www.java2s.com/" target="_blank">
   </head>
   <body>
       <p>
         <a href="index.htm">Click here</a> to go to the page.
       </p>
   </body>
</html>
           
      
      








Related examples in the same category