Pre tag in Html

Uses of <pre> tag

Used to separate the text from the rest of the content.
Browsers traditionally bold the text found within this tag.


Example:

<!DOCTYPE html>
<html>
<head>
<title>Pre tag</title>
</head>

<body>
<!------Pre tag-------->
<pre>

R E A D 4 B C A

</pre>

<!------Without Pre tag-------->

R E A D 4 B C A


</body>
</html>

Output of this code will look like this: