Writing & StyleStyle guide

Linking From Microsoft Learn Selectors

Linking From Microsoft Learn Selectors records a distinct Microsoft Learn authoring convention and keeps it scoped to that documentation environment rather than presenting it as a universal writing rule.

Quick answer

For Microsoft Learn selectors embedded in an include, use the documented selector-list structure with the appropriate relative article links for each selector choice.

Key details

Core Issuelinking from microsoft learn selectors
RegisterMicrosoft Learn technical documentation

Important caveats

Scope Boundary

This page covers link targets inside selector navigation. It does not replace the separate pages for choosing single- versus multi-selector syntax or for deciding whether repeated selector markup belongs in an include.

Further guidance

Content

Microsoft Learn documents selector links inside the selector-list Markdown structure; when the selector is embedded in an include, the example targets use longer relative article paths.

Purpose

Keep Microsoft Learn source readable, maintainable, accessible, and predictable while following current contributor-platform conventions.

Sources and evidence

Sources are shown with the role they play in this guide. Historical or style-sensitive claims are kept within the evidence boundary described above.

  1. Use links in documentation — Contributor guide (opens in a new tab)Microsoft · Current Microsoft Learn contributor guidance for documentation links, including file-relative and site-relative paths, split-article YML targets, bookmarks, XRef API links, reference-style links, explicit-anchor boundaries, and secure link requirements.

Related guides

Writing & Style

Linking to Third-Party Sites From Microsoft Learn

Linking to Third-Party Sites From Microsoft Learn records a distinct Microsoft Learn authoring convention and keeps it scoped to that documentation environment rather than presenting it as a universal writing rule.

Writing & Style

Linking to Microsoft Learn Headings With Bookmark Links

Linking to Microsoft Learn Headings With Bookmark Links records a distinct Microsoft Learn authoring convention and keeps it scoped to that documentation environment rather than presenting it as a universal writing rule.

Writing & Style

Linking to Microsoft Learn XRef Method Pages and Overloads

Linking to Microsoft Learn XRef Method Pages and Overloads records a distinct Microsoft Learn XRef authoring decision and consolidates tightly coupled syntax choices so the public guide stays useful without fragmenting one task into thin pages.

Writing & Style

Linking to YML Files for Split Microsoft Learn Articles

Linking to YML Files for Split Microsoft Learn Articles records a distinct Microsoft Learn authoring convention and keeps it scoped to that documentation environment rather than presenting it as a universal writing rule.

Writing & Style

Avoiding HTML Tables in Microsoft Learn Markdown

Avoiding HTML Tables in Microsoft Learn Markdown records a distinct Microsoft Learn authoring convention and keeps it scoped to that documentation environment rather than presenting it as a universal writing rule.

Writing & Style

Avoiding Inline HTML in Microsoft Learn

Avoiding Inline HTML in Microsoft Learn records a distinct Microsoft Learn authoring convention and keeps it scoped to that documentation environment rather than presenting it as a universal writing rule.

Explore the topic