Base tag | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Base tag

why you use the base tag?

28th Apr 2017, 2:34 AM
Rafael
4 Respostas
+ 6
Among the use of base tag, you can work on a local copy of your hosted html files, and test them locally with hosted linked file, or with elsewhere hosted ones ( another domain name ), as relatives url are build upon this parameters instead default html location...
28th Apr 2017, 4:17 AM
visph
visph - avatar
+ 3
Because you can have your html file in a directory and all the links, css, javascript, and resources referenced to another directory. With the <base> tag you can imitate the behavior as if your file is in that other directory
28th Apr 2017, 2:41 AM
ā©ā–¶Clauā—€āŖ
ā©ā–¶Clauā—€āŖ - avatar
0
I until dont understand for what you use it?
28th Apr 2017, 7:06 PM
Rafael