Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/88.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
aws s3中的index.html显示原始文本_Html_Amazon Web Services_Browser_Indexing_Render - Fatal编程技术网

aws s3中的index.html显示原始文本

aws s3中的index.html显示原始文本,html,amazon-web-services,browser,indexing,render,Html,Amazon Web Services,Browser,Indexing,Render,笔记本电脑上的相同index.html正确显示网页。aws按原样显示文本,如下所示,无需渲染。遵循S3静态网站托管步骤。仅供参考 <html> <head> <title>Testing, Inc.</title> </head> <body bgcolor="#EDDD9E"> <h1 align="center">Welcome!</h1> <p>Welcome to my <s

笔记本电脑上的相同index.html正确显示网页。aws按原样显示文本,如下所示,无需渲染。遵循S3静态网站托管步骤。仅供参考

<html>
<head>
<title>Testing, Inc.</title>
</head>
<body bgcolor="#EDDD9E">
<h1 align="center">Welcome!</h1>
<p>Welcome to my <strong>first</strong> webpage. I am writing this page using a text editor and plain old html.</p>
<p>By learning html, I'll be able to create web pages like a pro....<br>
which I am of course.</p>
Here's what I've learned:
<ul>
<li>How to use HTML tags</li>
<li>How to use HTML colors</li>
<li>How to create Lists</li>
</ul>
</body>
</html>

测试公司。
欢迎
欢迎来到我的第一个网页。我正在使用文本编辑器和普通的旧html编写此页面

通过学习html,我将能够像专业人士一样创建网页……
我当然是

以下是我学到的:
  • 如何使用HTML标记
  • 如何使用HTML颜色
  • 如何创建列表

感谢您的帮助。

如果文件的扩展名不是html/htm或文件上没有扩展名,它会将元数据/内容类型设置为application/octet stream,您可以将其更新为text/html,并且可以正常工作


如果文件的扩展名不是html/htm或文件上没有扩展名,它会将元数据/内容类型设置为application/octet-stream,您可以将其更新为text/html,并且可以正常工作


如果有人正在阅读此文章,如果您的代码未被呈现,并且您正在使用windows,则将在以后使用

在保存文本文件的文件夹中,转到“查看”,然后单击“选项”,然后单击“更改文件夹和搜索选项”


然后单击“查看”选项卡并取消选中“隐藏已知文件类型的扩展名”。

如果有人正在阅读此文件,如果您的代码未被呈现,并且您正在使用windows,则以后将取消选中

在保存文本文件的文件夹中,转到“查看”,然后单击“选项”,然后单击“更改文件夹和搜索选项”


然后单击“查看”选项卡并取消选中“隐藏已知文件类型的扩展名”。

我已经将内容类型设置为text/html。我的帐户仍处于试用期/免费期。有任何限制吗?与试用帐户无关,可能与您的浏览器有关。你在用什么?你说得对!我用的是chrome。现在我尝试了IE,它成功了!但同样的html在我的笔记本电脑的chrome中也能很好地加载:(我已经将内容类型设置为text/html。我的帐户仍处于试用期/免费期。有任何限制吗?与试用帐户无关,它可能与你的浏览器集有关。你在使用什么?你是对的!我使用的是chrome。现在我尝试了IE,它工作了!但同样的html在我的笔记本电脑的chrome中加载良好:(