Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PassionPenguin authored Jan 7, 2025
1 parent cb6a3d6 commit 0b7681b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion files/en-us/web/html/element/pre/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ browser-compat: html.elements.pre

{{HTMLSidebar}}

The **`<pre>`** [HTML](/en-US/docs/Web/HTML) element represents preformatted text which is to be presented exactly as written in the HTML file. The text is typically rendered using a non-proportional, or [monospaced](https://en.wikipedia.org/wiki/Monospaced_font), font. Whitespace inside this element is displayed as written.
The **`<pre>`** [HTML](/en-US/docs/Web/HTML) element represents preformatted text which is to be presented exactly as written in the HTML file. The text is typically rendered using a non-proportional, or [monospaced](https://en.wikipedia.org/wiki/Monospaced_font) font. Whitespace inside this element is displayed as written.

> [!NOTE]
> A leading newline character immediately following the pre element start tag is stripped.
By default, `<pre>` is a [block-level](/en-US/docs/Glossary/Block-level_content) element, i.e. its default {{cssxref("display")}} value is `block`.

Expand Down

0 comments on commit 0b7681b

Please sign in to comment.