我是Github的新手,index.html现在在github上显示了,我做错了什么?

问题描述 投票:0回答:1

我把index.html的内容推送到了我的gh-pages上一个叫site的文件夹下,在本地进行了测试,信息也显示出来了,但是现在在github上,当我进入到 https:/norahg7.github.ioMyportfolio。https:/norahg7.github.ioMyportfolioIndex.html。另外 https:/norahg7.github.ioMyportfoliosite。 给出了404的错误。

<!doctype html>
<html>
<head>
<meta charset="utf-8">
	<title> Norah portfolio </title>
	</head>
	
<body> 
	<header>
	<nav>List1</nav>    <!--Navigation -->
	<nav>List2</nav>
	<nav>List3</nav>
	<nav>List4</nav>
	<nav>List5</nav>
	</header>
	
	<h1> Hello welcome to my Porfolio</h1>

	<div>
	<p id="p1"> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p>
		</div>
<H1> Unordered list </H1>
<div>
	<ul>                 <!--Main unordered list -->
	<li>UI</li>
	<ul><li>Webdesign</li>  <!--Nested Unordered List -->
	    <li>APP design</li>
	    <li>Gamedesign</li></ul>
	<li>Web Development</li> 

	<li>UX</li>
	<li>Digital Art</li>
	<li>Voiceover</li>
	<li>Music</li>
	<li>Animation</li>
</ul>

</div> 
<footer>
	 <div>Contact </div>
	 <div> About </div>
     <div>About</div>

</footer>
</body>

</html>
html github indexing github-pages
1个回答
0
投票

https:/norahg7.github.ioMyportfolio。此页面内容显示正常,不显示404错误。只有其他两个链接显示错误。

© www.soinside.com 2019 - 2024. All rights reserved.