Current Assignment(s)
P1: The Live Site
Due: Recommended by Monday, 5.21
Due: Recommended by Monday, 5.21
Preformatted Text
You can use the preformatted text element (<pre>...</pre>
) to tell a browser to render spaces and text exactly as you’ve typed.
This tag usually displays the contents of the element in a fixed-width font, as it is primarily used for preformatted code. However, it can also be used for preformatted text.
This is one method that could be used to present a poem or lyrics in a browser while maintaining intended visual formatting.
- Previous
- Next