怎样建立一个基本的网页
2015-12-7
作者:轩啸网络
建立网页是很容易的。你只需要学习一些HTML标记。
难度:容易
时间需要:10分钟
代码如下:
Open a text editor to a blank page. Write the html tag <html> Write the head of your document <head> Write your title <title> Put your title here </title> Close the head of your document </head> Open the body of your document <body> Give your page a heading <h1> heading goes here </h1> Write your page contents Separate paragraphs with the p tag <p> Close the body of your page </body> Close the html </html>
将文件保存为file.html
打开网页浏览器的file.html文件
技巧:
使用文本编辑器写页面
小写的HTML标记-符合当前的标准