How it is possible to open a local Html file with JavaScript in the browser?
I have tested it with
file:///storage/emulated/0/testpath/index.html
.
A html testfile:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Test HTML</title>
</head>
<body>
<h1>Test</h1>
<div>TEST</div>
</body>
</html>
It don’t work. Only a black screen is displayed.