Posted On May 7, 2019

HTML: Tagging and Jumping to Sections of Page

kimconnect 0 comments
blog.KimConnect.com >> Codes >> HTML: Tagging and Jumping to Sections of Page

Each element of an HTML document could be set with a unique ID so that it can be targeted as a unique entity. For instance, this “Jump to Checkpoint” link will jump toward the Check Point <div>.

<a href="#checkpoint">Jump to Checkpoint</a>

Abra

Ka

Dapra

A

Laga

Mush

Pe

Tal

<div id="checkpoint">Checkpoint</div>
Checkpoint

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Basic CSS: Import a Google Font

<style>.red-text {color: red;}p {font-size: 16px;font-family: monospace;}</style><h2 class="red-text">CatPhotoApp</h2><main><p class="red-text">Click here to view more <a href="#">cat photos</a>.</p><a…

Kubernetes: Use Helm to Deploy WordPress

Deploying WordPress in a Kubernetes cluster isn't as straight-forward is one might expect. As the…

Basic CSS: Add Borders Around Your Elements

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"><style>.red-text {color: red;}h2 {font-family: Lobster, monospace;}p {font-size: 16px;font-family: monospace;}.smaller-image {width: 100px;}</style><h2 class="red-text">CatPhotoApp</h2><main><p…