Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Code Markup in HTML | Advanced Text Formatting Elements
Introduction to HTML

bookCode Markup in HTML

You can use the <code> element to mark up code in HTML.

index.html

index.html

copy

Notice that the <code> element is nested inside the <pre> element. The <pre> element represents preformatted text and is typically displayed in a fixed-width font to preserve both spaces and line breaks.

You can also use the <code> element to mark up inline code like this:

index.html

index.html

copy

You can also use the <kbd> element to mark up keyboard input. The <kbd> element represents user input and is typically displayed in a monospace font to distinguish it from regular text.

index.html

index.html

copy

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 4. Capítulo 3

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

Awesome!

Completion rate improved to 3.45

bookCode Markup in HTML

Desliza para mostrar el menú

You can use the <code> element to mark up code in HTML.

index.html

index.html

copy

Notice that the <code> element is nested inside the <pre> element. The <pre> element represents preformatted text and is typically displayed in a fixed-width font to preserve both spaces and line breaks.

You can also use the <code> element to mark up inline code like this:

index.html

index.html

copy

You can also use the <kbd> element to mark up keyboard input. The <kbd> element represents user input and is typically displayed in a monospace font to distinguish it from regular text.

index.html

index.html

copy

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 4. Capítulo 3
some-alt