[英]How can i use my css file in my html file on android?
I created a html website with css on my computer and it works pefect on it.我在我的电脑上用 css 创建了一个 html 网站,它在上面运行得很完美。 But i wanted it to work on android too, so i created a folder and just moved the files in it.
但我希望它也能在 android 上运行,所以我创建了一个文件夹并移动了其中的文件。 As i opened the html file, the css file didn't work.
当我打开 html 文件时,css 文件不起作用。
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" type="text/css" href="style.css" media="screen">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Home">
<meta name="keywords" content="Home">
<meta name="author" content="Censored">
<title>Home</title>
</head>
An image from the html & css files folder来自 html 和 css 文件文件夹的图像
The webview approach should work, but it means you'll have to write up an app for every scenario. webview 方法应该可行,但这意味着您必须为每个场景编写一个应用程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.