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.
- public class Hello1
- {
- public static void Main()
- {
- System.Console.WriteLine("Hello, World!");
- }
- }
o o
)-(
(O O)
\=/
.-"-.
//\ /\\
_// / \ \\_
=./ {,-.} \.=
|| ||
|| ||
__|| ||__
`---" "---'