• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Technology

      Web technology reference for developers

  • Guides
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • MDN Plus
    • Overview

      More MDN. Your MDN.

    • FAQ

      Frequently asked questions about MDN Plus

  • Already a subscriber?
  • Get MDN Plus
  1. Technologie Internetowe dla developerów
  2. HTML
  3. Element
  4. code

This page was translated from English by the community, but it's not maintained and may be out-of-date. To help maintain it, learn how to activate locales.

code

Podsumowanie

Element <code>...</code> służy do definiowania użytego kodu. Jest on elementem inline z przypisaną domyślnie czcionką Lucida Console.

Przykład

   Zwykły tekst.  <code>To jest kod.</code>  Zwykły tekst.

Rezultat

Zwykły tekst. To jest kod. Zwykły tekst.

Zobacz także

  • Znacznik <blockquote>
  • Specyfikacja HTML 4.01: Phrase Elements
{{ HTML:Element_Navigation() }}

Last modified: 8 gru 2020, by MDN contributors

MDN logo

Your blueprint for a better internet.

  • MDN on Twitter
  • MDN on GitHub

MDN

  • About
  • Hacks Blog
  • Careers

Support

  • Product help
  • Report a page issue
  • Report a site issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
Mozilla logo
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2022 by individual mozilla.org contributors. Content available under a Creative Commons license.