1、打開hbuilderx,創(chuàng)建一個(gè)web項(xiàng)目,文件——新建——Web項(xiàng)目。

2、輸入項(xiàng)目名稱,點(diǎn)擊確定。

3、在新建的WEB項(xiàng)目中點(diǎn)擊右鍵,創(chuàng)建一個(gè)目錄。

4、輸入名稱,這里以html為例,因?yàn)槭谴娣舎tml文件。

5、在html目錄下創(chuàng)建html文件,所創(chuàng)建的html文件會(huì)有個(gè)默認(rèn)名,改成自己想要的名稱。根握你的需要選擇模板(html5還是html4,默認(rèn)是html5),這里默認(rèn)。


6、然后完善你的代碼,下面代碼個(gè)人隨便弄,不要看。然后點(diǎn)擊如圖所示的圖標(biāo),運(yùn)行你的html代碼,查看效果即可。

點(diǎn)擊加載更多評(píng)論>>