Tags in HTML5
HTML is the 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?
A 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 the pre tag I solved a problem.
And the text will clear. like it.
- public class Hello1
- {
- public static void Main()
- {
- System.Console.WriteLine("Hello, World!");
- }
- }
o o
)-(
(O O)
\=/
.-"-.
//\ /\\
_// / \ \\_
=./ {,-.} \.=
|| ||
|| ||
__|| ||__
`---" "---'