Tags in HTML5

HTML is most popular and easy language mainly used in developing web pages ::

Here I am going to explain one of the popular tag of HTML5:

Why pre tag is used in HTML ?
 
Pre tag is used for the readability of the text. Let I have a piece of code which is written as:
 
class Hello1 { public static void Main() { System.Console.WriteLine("Hello, World!"); } } o o )-( (O O) \=/ .-"-. //\ /\\ _// / \ \\_ =./ {,-.} \.= || || || || __|| ||__ `---" "---'
 
This is the code.  and if I read it is  a little bit difficult.
 
So using pre tag I solved I problem.
 
And the text will clear. like it. 
  1. public class Hello1  
  2. {  
  3.    public static void Main()  
  4.    {  
  5.       System.Console.WriteLine("Hello, World!");  
  6.    }  
  7. }  

     o   o
)-(
(O O)
\=/
.-"-.
//\ /\\
_// / \ \\_
=./ {,-.} \.=
|| ||
|| ||  
__|| ||__
`---" "---'
 
 
Ebook Download
View all
Learn
View all