https://xoax.net/
Lesson Page:
https://xoax.net/sub_html/crs_core/Le...
HTML Reference Page:
https://xoax.net/sub_html/ref_core/
In this HTML lesson, we demonstrate how the pre element is used to maintain formatting within text. We begin with a simple example and a comparison between the paragraph and pre elements. Since preformatted text is ideal for programming, we give an example of a C++ program in a pre element and explain the potential pitfalls. Finally, we demonstrate how the other elements can be used within a pre element and show that text in a pre element does not wrap by default.
Copyright 2020 XoaX.net LLC