Il Tag <base> HTML

Edoardo Midali
Definizione e utilizzo
Il tag <base> specifica l’URL di base e/o il target per tutti gli URL relativi in un documento.
Il tag <base> deve avere presente un attributo href o target, o entrambi.
Può esserci solo un singolo elemento <base> in un documento e deve trovarsi all’interno del tag <head>.
<head>
<base href="https://www.codegrind.it/" target="_blank" />
</head>
<body>
<img src="immagini/logo.png" width="24" height="39" alt="Logo Codegrind" />
<a href="documentazione/python.html">Pagina Python</a>
</body>
