GitHub repository name must be username.github. IO

Set up steps

Github. IO) 2) Create an index. HTML file in the repository

  • This time visit: yunxdr.github. IO, and the readme. md content is displayed



  • Create the file index. HTML and write the HTML language





    Visit again: yunxdr.github. IO

Note 1, Github pages only support static pages 2, repository is.html file 3, personal home page can also set theme

Project Pages Project site

Access https:// username.github. IO/repository name

Github Pages is used for building and publishing

Set up steps

Create an empty repository named Test, select Mater Branch in GitHub Pages in Settings, and then select the theme



After selecting a random theme, click Select Theme



Then the opportunity comes to the HTML page of the theme page, where you can modify the page you want.



After the changes are complete, you can go to GitHub Pages and see the url you visited





This is just a theme for the generated blank GitHub Pages, all written in HTML.

Github can host various Git repositories and provide a web interface (username.github. IO/repository name)

  • Fork into your own repository when accessing static pages of other projects in your repository or someone else’s repository
  • In Settings, GitHub Pages selects Master Branch as the primary branch

  • A url will appear to access the static page, directly online.