Internal linking

내부 링크

Connect related pages within a site so readers and crawlers can navigate them.

···
html
<div class="linkmap"><div class="hub">TOPIC<br>HUB</div><div class="bridge" id="bridge"></div><div class="leaf">NEW<br>ARTICLE</div><button id="connect">CONNECT</button><div class="signal"></div></div>
css
.linkmap{position:relative;width:min(86%,510px);height:75%;font:900 clamp(10px,max(2vmin,1vw),17px)/1.2 sans-serif;color:var(--fg)}.hub,.leaf{position:absolute;top:21%;width:clamp(65px,17vmin,135px);height:clamp(65px,17vmin,135px);display:grid;place-items:center;text-align:center;background:var(--surface);border:2px solid var(--fg);border-radius:50%;z-index:2}.hub{left:4%}.leaf{right:4%;border-style:dashed}.bridge{position:absolute;top:48%;left:27%;width:46%;height:4px;background:var(--line);transform:scaleX(0);transform-origin:left;transition:transform .45s}.bridge.on{background:var(--accent);transform:scaleX(1)}.signal{position:absolute;top:44%;left:23%;width:12px;height:12px;border-radius:50%;background:var(--accent);opacity:0}.bridge.on~.signal{opacity:1;animation:travel 2s infinite}button{position:absolute;bottom:0;left:38%;background:var(--fg);color:var(--bg);border:0;padding:6px 12px;font:inherit;cursor:pointer}@keyframes travel{to{left:73%}}@media(min-width:700px){body > :not(script){zoom:1.55}.map,.feed,.linkmap{height:48%}}
js
const bridge=document.querySelector('#bridge'),button=document.querySelector('#connect');let on=true;function show(){bridge.classList.toggle('on',on);button.textContent=on?'UNLINK':'CONNECT'}show();button.addEventListener('click',()=>{clearInterval(timer);on=!on;show()});const timer=setInterval(()=>{on=!on;show()},2900);

An internal link connects one document to another on the same site. It creates useful reading paths and gives an isolated page a discoverable route.

Turn on the dashed link in the demo and a signal reaches the isolated article. Avoid adding links everywhere; use descriptive anchor text for a page the reader would actually want next.

When to use

Link from relevant documents when publishing a page or finding an orphan URL.

Open as page ↗