--- tags: html description: 中興大學資訊研究社1092學期程式分享會主題社課 --- ###### [@NCHUIT/](https://hackmd.io/@NCHUIT)[HTML/](/@NCHUIT/html)[網頁教學/](/@NCHUIT/html-1092) # 語法結構&上傳到github ### 主要是要先練習html的語法結構 學習網址: https://www.w3schools.com/ ![](https://i.imgur.com/k0a4eYs.png) > 按F12可以看看別的網站的html怎麼寫 > ![](https://i.imgur.com/7UgJYY2.jpg) 網頁是由很多的tag組成,如上圖的ul 想知道tag的用法可以至w3schools查看 #### tag的語法 ``` <tag>內容</tag> ``` ### 新建 Github repository: https://github.com/new ![](https://i.imgur.com/E4lPQua.png) ### 利用指令將檔案上傳到github ``` echo "# 標題" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin 你的github url git push -u origin main ```