Notepad ++基本编程一切都很大

时间:2016-04-24 05:14:09

标签: html

好的,请不要因为我的愚蠢而恨我。我现在正在开始编程html。所以,第一个问题。

我正在按照一个简单的指南来学习基本的html格式,这就是我所拥有的:

<html>
<head>
 <title>www.fuyah.com</title>
</head>
<body>
<div id= "Header" class = "shared_elements">
<!--#divs don't really do anything, just for organization and targeting with css-->
    <h1>The Adventure Begins<h1>
    <span> this is my page. </span>
    This is the beginning down my road of web development. It begins with one step...
</div>
</body>
</html>

出于某种原因,当我在网上浏览时,一切都很大胆。我不确定为什么。

2 个答案:

答案 0 :(得分:3)

您还没有关闭<h1>代码,<span ">还没有"

<html>  <head>  <title>www.fuyah.com</title>  </head>

<body>

<div id= "Header" class = "shared_elements">
<!--#divs don't really do anything, just for organization and targeting with css-->
<h1>The Adventure Begins</h1>
    <span > this is my page. </span>
    This is the beginning down my road of web development. It begins with one step...
</div>
</body>

</html>

答案 1 :(得分:0)

  1. 在记事本中打开文件,并在上传文件前验证内容。
  2. 如果您以不同方式查看文件内容,请执行&#34;查看来源&#34;在浏览器中查看内容。