2017-01-26 1 views
0

이것은 웹 사이트를 처음 작성한 것이고 내 다른 페이지에서 작동 할 내 책갈피 링크 "예정된 이벤트"를 가져올 수 없습니다. 홈 페이지에서만 작동합니다. 여기 내 홈 페이지에 코드입니다 :한 페이지에서 다른 페이지로의 링크 html 북마크

<nav> 
    <b> 
    <a href="index.html">Home</a> 
    <a href="rides.html">Rides</a> 
    <a href="info.html">Info</a> 
    <a href="order.html">Order</a> 
    <a href="#UpcomingEvents">Upcoming Events</a> 
    <a href="#RelatedNews">Related News</a> 
    </b> 
</nav> 
<hr> 

<h2>About Us</h2> 
<p>Fun is always in season at Busch Gardens ® Williamsburg in Virginia. From thrilling coasters and kid-friendly attractions to world-class dining and shows, there’s something for the whole family.<br> 
Busch Gardens is one of the my favorite amusment parks because of their setup. It's wonderful to be in the 'Germany' part of the park in one moment and then the "Roman" part the next! </p> 
<hr> 

<h3 id="UpcomingEvents">Upcoming Events</h3> 
<p>Das Festhaus: March 31<br> 
Britmania: June 30<br> 
Summer Nights: July 1 - August 31<br> 
Howl-O-Scream: September 23 - October 29</p> 
<hr> 

<h4 id="RelatedNews">Related Park News</h4> 
<!-- include your links here --> 
<p><a href="https://seaworldparks.com/en/buschgardens-williamsburg/food-and-wine">Food and Wine Festival</a></p> 
<p><a href="https://seaworldparks.com/en/buschgardens-williamsburg/kidsiderate?from=HomeCollection">Kidsiderate</a></p> 

<p><a href="https://seaworldparks.com/en/buschgardens-williamsburg/christmastown?from=BGWhome">Christmas Town</a></p> 

가 그리고 이것은 내 주문 페이지에 대한 코드입니다 : 당신이 제공 한 정보에

<a href="index.html">Home</a> 
    <a href="rides.html">Rides</a> 
    <a href="info.html">Info</a> 
    <a href="order.html">Order</a> 
    <a href="html_UpcomingEvents.html#UpcomingEvents">Upcoming Events</a> 
    <a href="html_Related News.html#Related News">Related News</a> 

<hr> 
<h2>Order Information</h2> 
<p>Our online ordering page is down currently. Please check back later in a few weeks.</p> 
</body> 

+0

어떤 HTML 파일에 '# UpcomingEvents'ID가 있습니까? –

+0

'html_UpcomingEvents.html' 파일이 '내 주문 페이지'의 같은 폴더에 있는지 확인해야합니다. 또한'id = "UpcomingEvents"가'html_UpcomingEvents.html'에 있는지 확인하십시오. – noob

+0

홈 페이지에서 작동한다고 말하는 것이 사실이라면, 작동하지 않는 html의 링크를 다음과 같이 변경하십시오 :'index.html # UpcomingEvents' –

답변

0

을 바탕으로, 작동하지 않는 html의 링크를

012로 변경해야합니다.
관련 문제