How to use
 tag in html

Introduction

How to use pre tag in HTML

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>www.techstudy.org</title>
</head>
<body>
<pre>
class EmployeeClass{
 
    public static void main(String[] args){
 
        System.out.println("www.techstudy.org");
 
    }
 
}
</pre>
 
<p>
Using the pre html tag you can display text however you want with all the spaces and line breaks.
</p>
</body>
</html>
</html>

Result

How to use <pre> tag in html

How to use

 tag in html

 

Leave a Comment