2016-04-24 59 views
0

好的,請不要因爲我的白癡而討厭我。我從字面上開始編程HTML RIGHT NOW。所以,第一個問題。記事本++基本的編程一切都很好

我下面一個簡單的指南來學習基本的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> 

出於某種原因,當我在我的網頁看看網上,一切都是大膽。我不知道爲什麼。

回答

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>

+0

對不起,我太急於提出一個問題,並沒有充分利用代碼。感謝您的幫助,而不是對我大喊大叫。 – Fuyah

0
  1. 用記事本打開文件並上傳文件之前驗證內容。
  2. 如果您以不同方式查看文件內容,請在瀏覽器中查看「查看源代碼」以查看內容。