HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML pre Tag

HTML pre Tag



The pre tag defines preformatted text. Text is displayed in a fixed-width font, and it preserves both spaces and line breaks. The text will be displayed exactly as written in the HTML source code.




Its syntax is:- < pre >

Code Explanation

All Tutorials related to HTML Tags List

All Sections related to HTML