Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/82.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
Html 表情符号不';在我的第二页上不起作用,但在我的主页上起作用_Html - Fatal编程技术网

Html 表情符号不';在我的第二页上不起作用,但在我的主页上起作用

Html 表情符号不';在我的第二页上不起作用,但在我的主页上起作用,html,Html,在我的主页上,我有一个表情符号,效果很好。但是我在我的第二个上有完全相同的代码,它不工作 我试图寻找答案,但似乎没有其他人有这个问题 此位是我的主页,代码在其中工作: <head> <meta charset='utf-8'> </head> <link rel="icon" href="https://drive.google.com/uc?id=1G624t-8tJG_l29sdQ4COazA_c69aBB3Q&authuser=

在我的主页上,我有一个表情符号,效果很好。但是我在我的第二个上有完全相同的代码,它不工作

我试图寻找答案,但似乎没有其他人有这个问题

此位是我的主页,代码在其中工作:

<head>
 <meta charset='utf-8'>
</head>
<link rel="icon" 
    href="https://drive.google.com/uc?id=1G624t-8tJG_l29sdQ4COazA_c69aBB3Q&authuser=0">
<title>Game 👠Reveiw</title>
<link rel="stylesheet" href="styles.css">
<div class="topnav">
  <a class="active" href="#home">Home</a>
  <a href="portal_2.html">Portal 2</a>
  <a href="csgo.html">CS:GO</a>
  <a href="minecraft.html">Minecraft</a>
</div>
<h1>Game 👠Reveiw </h1>

<h4><a href="portal_2.html">Portal 2</a> |
<a href="csgo.html">CS:GO</a> |
<a href="minecraft.html">Minecraft</a></h4>
<br>
<br>
<div class="center">
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam pretium quam
 libero. Etiam fringilla auctor accumsan. Aenean tellus ex,<br>
convallis non enim at, pharetra accumsan ligula. 
mi vel est bibendum rhoncus. Lorem ipsum dolor sit amet, consectetur adipiscing 
elit. Interdum et malesuada fames ac ante ipsum primis in faucibus.<br>
Sed ullamcorper feugiat quam, ac mattis quam finibus eu. Fusce eget justo a odio 
ultrices efficitur. Donec elementum purus sed iaculis rutrum.<br>
Praesent ornare laoreet faucibus. Suspendisse consequat, nisi eu convallis vestibulum,<br>
nibh est imperdiet nulla, ut suscipit dolor ex scelerisque neque. Morbi sed mi 
cursus, mattis velit a, laoreet velit. Donec nulla felis, scelerisque at sem 
</div>

<footer>Game 👠Reveiw</footer>

游戏ðŸReveiw
游戏ðŸReveiw
|
|


Lorem ipsum dolor sit amet,是一位杰出的献身者。明渠 自由人。埃蒂亚姆·弗里利亚·奥克托·阿库姆桑。埃尼安·泰卢斯出版社,
非enim的convallis at,pharetra acumsan ligula。 我是罗那卡人。Lorem ipsum dolor sit amet,Concertetur Adipising 精英。在faucibus中,Interdum和malesuada在同侧前就已经出名了。
这是一个很好的例子。这是一个好消息 超效率。杜奈克绿脓杆菌(Donec elementum purus sed iaculis rutrum.) 普拉森特·奥纳雷·拉奥里特·福西布斯。前庭悬吊术,nisi eu convallis,
这是一种不可侵犯的权利,而不是权杖。莫比·塞德·米 库苏斯,马蒂斯·维利特,拉奥里特·维利特。Donec nulla felis,sem的权杖 游戏ðŸReveiw
这是我的另一个页面(已连接),页脚代码不起作用:

<head>
 <meta charset='utf-8'>
</head>
<title>Portal 2</title>
<link rel="stylesheet" href="styles_portal_2.css">
<link rel="icon" 
    href="https://drive.google.com/uc?id=1Pp9iytPYBcUg7fOIsH6QuiyM7JeL9SKK&authuser=0">
<div class="topnav">
  <a class="active" href="#home">Home</a>
  <a href="portal_2.html">Portal 2</a>
  <a href="csgo.html">CS:GO</a>
  <a href="minecraft.html">Minecraft</a>
</div>

<h1>Portal 2:</h1>
<h4><a href="website.html">Home</a></h4><br>

<div class="center">
Portal 2 is a game for those lonely friday nights where you need that comfort of
 Wheatley<br>
and the engaging aspect of the game. 
while being relaxing and funny at times. With my times playing Portal 2, I got 
sucked into a<br>
world where there is no competition and the only skill you need is problem 
solving. In this<br>
game you are a test subject with a ‘Portal Gun’ that creates portals to complete 
challenges.<br>
The challenges get harder and harder as you progress.<br>
Overall this game is amazing and would highly recommend it.<br>
<img width="400" 
    src="https://drive.google.com/uc?id=13djQKInGDpkkmiUEj8PwM-h-dkWsOHDt"title="nice"><br>
</div>

<footer>Game 👠Reveiw</footer>

入口2
门户2:

门户2是一款适合那些孤独的星期五晚上的游戏,在那里你需要舒适的生活 惠特利
以及游戏中引人入胜的一面。 在放松和有趣的时候。在我玩门户2的时候,我 被吸入一个
世界上没有竞争,你唯一需要的技能就是问题 解决。在此
游戏中,你是一个测试对象,有一把“传送门枪”,可以创建要完成的传送门 挑战。
随着你的进步,挑战变得越来越难。
总的来说,这款游戏非常棒,我们强烈推荐。

游戏ðŸReveiw

预期输出为表情符号,但得到一些奇怪的代码根据这篇写得很好的文章(),有两种方法可以插入表情符号,一种是将表情符号本身复制并粘贴到代码中,另一种是抓取它的代码点()并粘贴到html中

尝试使用表情符号代码点。如果在浏览器中加载以下文件,则可以看到表情符号在浏览器中的两个页面上显示一致

页面1.html

<html>
<head>
        <meta charset="utf-8">
       </head>
       <body>
       <link rel="icon" 
           href="https://drive.google.com/uc?id=1G624t-8tJG_l29sdQ4COazA_c69aBB3Q&authuser=0">
       <title>Game &#x1F354 Reveiw</title>
       <link rel="stylesheet" href="styles.css">
       <div class="topnav">
         <a class="active" href="#home">Home</a>
         <a href="portal_2.html">Portal 2</a>
         <a href="csgo.html">CS:GO</a>
         <a href="minecraft.html">Minecraft</a>
       </div>
       <h1>Game &#x1F354 Reveiw </h1>

       <h4><a href="portal_2.html">Portal 2</a> |
       <a href="csgo.html">CS:GO</a> |
       <a href="minecraft.html">Minecraft</a></h4>
       <br>
       <br>
       <div class="center">
         Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam pretium quam
        libero. Etiam fringilla auctor accumsan. Aenean tellus ex,<br>
       convallis non enim at, pharetra accumsan ligula. 
       mi vel est bibendum rhoncus. Lorem ipsum dolor sit amet, consectetur adipiscing 
       elit. Interdum et malesuada fames ac ante ipsum primis in faucibus.<br>
       Sed ullamcorper feugiat quam, ac mattis quam finibus eu. Fusce eget justo a odio 
       ultrices efficitur. Donec elementum purus sed iaculis rutrum.<br>
       Praesent ornare laoreet faucibus. Suspendisse consequat, nisi eu convallis vestibulum,<br>
       nibh est imperdiet nulla, ut suscipit dolor ex scelerisque neque. Morbi sed mi 
       cursus, mattis velit a, laoreet velit. Donec nulla felis, scelerisque at sem 
       </div>
    </body>

       <footer>Game &#x1F354 Reveiw</footer>
       </html>

游戏🍔 Reveiw
游戏🍔 Reveiw
|
|


Lorem ipsum dolor sit amet,是一位杰出的献身者。明渠 自由人。埃蒂亚姆·弗里利亚·奥克托·阿库姆桑。埃尼安·泰卢斯出版社,
非enim的convallis at,pharetra acumsan ligula。 我是罗那卡人。Lorem ipsum dolor sit amet,Concertetur Adipising 精英。在faucibus中,Interdum和malesuada在同侧前就已经出名了。
这是一个很好的例子。这是一个好消息 超效率。杜奈克绿脓杆菌(Donec elementum purus sed iaculis rutrum.) 普拉森特·奥纳雷·拉奥里特·福西布斯。前庭悬吊术,nisi eu convallis,
这是一种不可侵犯的权利,而不是权杖。莫比·塞德·米 库苏斯,马蒂斯·维利特,拉奥里特·维利特。Donec nulla felis,sem的权杖 游戏🍔 Reveiw
页面2.html

<html>
<head>
        <meta charset="utf-8">
       </head>
       <title>Portal 2</title>
       <body>
       <link rel="stylesheet" href="styles_portal_2.css">
       <link rel="icon" 
           href="https://drive.google.com/uc?id=1Pp9iytPYBcUg7fOIsH6QuiyM7JeL9SKK&authuser=0">
       <div class="topnav">
         <a class="active" href="#home">Home</a>
         <a href="portal_2.html">Portal 2</a>
         <a href="csgo.html">CS:GO</a>
         <a href="minecraft.html">Minecraft</a>
       </div>

       <h1>Portal 2:</h1>
       <h4><a href="website.html">Home</a></h4><br>

       <div class="center">
       Portal 2 is a game for those lonely friday nights where you need that comfort of
        Wheatley<br>
       and the engaging aspect of the game. 
       while being relaxing and funny at times. With my times playing Portal 2, I got 
       sucked into a<br>
       world where there is no competition and the only skill you need is problem 
       solving. In this<br>
       game you are a test subject with a ‘Portal Gun’ that creates portals to complete 
       challenges.<br>
       The challenges get harder and harder as you progress.<br>
       Overall this game is amazing and would highly recommend it.<br>
       <img width="400" 
           src="https://drive.google.com/uc?id=13djQKInGDpkkmiUEj8PwM-h-dkWsOHDt"title="nice"><br>
       </div>
    </body>

       <footer>Game &#x1F354 Reveiw</footer>
       </html>

入口2
门户2:

门户2是一款适合那些孤独的星期五晚上的游戏,在那里你需要舒适的生活 惠特利
以及游戏中引人入胜的一面。 在放松和有趣的时候。在我玩门户2的时候,我 被吸入一个
世界上没有竞争,你唯一需要的技能就是问题 解决。在此
游戏中,你是一个测试对象,有一把“传送门枪”,可以创建要完成的传送门 挑战。
随着你的进步,挑战变得越来越难。
总的来说,这款游戏非常棒,我们强烈推荐。

游戏🍔 Reveiw
哪一个是表情符号?在第二段代码中,请在此处留出一个空格:
src=”https://drive.google.com/uc?id=13djQKInGDpkkmiUEj8PwM-h-dkWsOHDt“
**请在此处留出空格**
title=“nice”
确保所有样式和标题都在
标题中。请使用这些更改进行测试,然后返回并更新您的html是否有效。问题与@GROVER相同。如果这是您的文本html内容,则您缺少
标记,这意味着您的文档无效。根据浏览器的不同,无效文档的处理方式也有所不同,但我首先要解决这个问题,因为它会影响浏览器呈现CSS等内容的方式。