HTML Preformatted Text

# Introduction In HTML, the `<pre>` tag is used to display preformatted text. It is exactly present on the web page as it is present in an HTML file. The whitespace used inside this tag is displayed as written. The text is written between `<pre>` tags is displayed in a fixed-width font. It is recommended to use the `<pre>` tag in case of unusual formatting or if you want to write a piece of computer code. In this lab, you will learn how to use the `<pre>` tag to display preformatted text in a web page. > Note: You can practice coding in `index.html` and learn [How to Write HTML in Visual Studio Code](https://code.visualstudio.com/docs/languages/html). Please click on 'Go Live' in the bottom right corner to run the web service on port 8080. Then, you can refresh the **Web 8080** Tab to preview the web page.

|60 : 00

Click the virtual machine below to start practicing