如何創(chuàng)建一個html文件
麗珠
html是超文本標記語言,也是最簡單的一門編輯語言。下面,我們來看看何創(chuàng)建一個html文件吧。
記事本
現(xiàn)在桌面建立一個記事本,如下圖所示:
然后輸入html基本內(nèi)容,如下圖所示:
代碼:
<html>
<head>
<title></title>
</head>
<body>
<p>helloworld</p>
</p>
</body>
</html>
另存為
點擊【文件】----【另存為】,更改后綴名為【.html】,如下圖所示:
網(wǎng)頁
在桌面會出現(xiàn)一個【hello.html】網(wǎng)頁,點擊它就會運行記事本中的內(nèi)容,如下圖所示: