Categories: Html

Links in HTML

Share

To create any links in HTML internal or external <a> element is used. Clicking on this link user goes to another page or another external url.

Normal links looks like:

<a href="http://www.example.com">Click here</a>

You can parameters too:

<a href="http://www.example.com?param1=100&param2=200">Click here</a>

Note to remember that parameters are separated by (&) after each parameter value.

To open a link in a new window _blank is used:

<a target="_blank" href="http://www.example.com">Click here</a>

You can reference a link by its name or id also:

<a name="link1" id="linkID" href="http://www.example.com">Click here</a>
Published by
Namaste UI
Tags: htmlweb

Recent Posts

Warm Comfort: Choosing the Best Hot Water Bottle for Cozy Nights

Introduction: As the chill of winter settles in or a bout of cold weather strikes,…

1 hour ago

One Location, Different Perspectives: The Allure of Dubai Marina Apartments

Nestled along the glittering waterfront of the City of Gold, Dubai Marina beckons to discerning…

1 hour ago

Role Of Gojek Clone In Growth Campaigns For Your Business

When was the last time you heard that a clone app like Gojek could efficiently…

7 hours ago

How to Optimize Your E-Commerce Pages and Improve UX?

The e-commerce market is growing and evolving at a rapid pace. More and more people…

18 hours ago

Overview of Reputation, Services, and Features of IplWin

IplWin stands as a reliable and enthralling platform for Indian punters, offering a captivating blend…

3 days ago

Blogging Brilliance: Driving Traffic and Engagement with Quality Content

Introduction In today's online age, consumers are constantly bombarded with information. They crave valuable content…

3 days ago