The <pre> element

Short for ‘Preformatted’. Contains text that should be displayed in the form dictated by its whitespace characters, without multiple spaces or line breaks being collapsed as they would in a paragraph.

Full list of attributes

All the usual HTML global attributes are available

Further information

The Web Design Academy Contact us

By form

By Phone

+44 (0)113 234 4611

By email

enquiries@thewebdesign.academy

By snail mail

Suite 3 15 South Parade Leeds LS1 5PQ United Kingdom