Loading…

How to use HTML Link Generator

Enter your URL, link text, and target/rel options, and the tool assembles a complete anchor tag with every attribute set.

Frequently asked questions

What's the target attribute for?

target='_blank' opens links in new tab. target='_self' (default) opens in same tab. Always use rel='noopener noreferrer' with _blank for security.

When should I use rel='nofollow'?

Use nofollow for untrusted links, ads, or paid links. It tells search engines not to pass SEO value to the linked page.

What's the title attribute?

The title attribute provides tooltip text on hover. Use it to give additional context, but don't rely on it for critical information (accessibility).

More HTML Tools

HTML Image Tag Generator
Generate img tag with src, alt, width, height, srcset, loading and all image attributes
HTML Button Generator
Generate styled HTML button code with classes, attributes, and event handlers
iFrame Generator
Generate iframe embed code with src, width, height, sandbox, and all iframe options
HTML Input Generator
Generate form input fields with labels, types, validation, and accessibility attributes
Schema.org JSON-LD Generator
Build schema.org structured data JSON-LD for Article, Product, FAQPage, LocalBusiness, Organization and BreadcrumbList
HTML5 Boilerplate Generator
Generate a complete HTML5 starter document with meta, Open Graph, Twitter cards, favicons and an optional CSS reset
Responsive Image Srcset Generator
Generate responsive img srcset and picture markup from a filename pattern, width list, sizes attribute and alt text
HTML Form Generator
Build a complete HTML form with method, action, labelled input fields, textarea, select and a submit button from a simple field list
HTML Select Dropdown Generator
Generate a select dropdown with option tags from one line per option, supporting value|label pairs, a name and multiple attribute
HTML Video Tag Generator
Generate an HTML5 video tag with controls, poster, autoplay, loop, muted and multiple source formats plus a caption track
HTML Audio Tag Generator
Generate an HTML5 audio element with controls, autoplay, loop, muted, preload and multiple MP3/OGG/WAV source fallbacks
HTML Figure & Caption Generator
Generate a semantic figure element wrapping an image with a figcaption, ideal for accessible captioned images and diagrams

← View all HTML ToolsBrowse all 1,100+ tools →