chrome supported? It works fine...">

HTML <base> in Chrome

Is an

<base href="http://google.com" /> 
<img src="/intl/en_ALL/images/logo.gif" /> 

chrome supported? It works fine in firefox.

In particular, relative image links do not allow the base url.

It is for:

http://webnumbr.com/create?url=http://google.com

Tested on latest version of OSX and Windows Chrome (4.0.249.78)

+3
source share
1 answer

And to answer your question about a tag <base>that is supported in Chrome: it is. I created a simple HTML document:

<!DOCTYPE html> 
<html> 
  <head> 
    <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> 
    <base href="http://google.com"> 
    <title>Testing base-tag</title> 
  </head> 
  <body> 
    <img src="/intl/en_ALL/images/logo.gif"> 
  </body> 
</html>

which is displayed correctly.

EDIT: PROBLEM PROBABLY OPENS

Chromium " ( ) , 25090 32134.

( <base> ) , .

EDIT 2: .

3: , -, Chrome 4.0.249.89.

+7

Source: https://habr.com/ru/post/1730952/


All Articles