Saturday, 20 June 2020

Basic Tag #6

6.Preserve Formatting Tag <pre>:-
Anything is written between <pre> tag will display as it is Written in Html document without disturbing the sequence of that text such as space,comma,fullstop etc
Eg:-
Code:-
Output:-

Basic Tag #5

5.Centering Content Tag <center>:-
This tag is used to put content in center of Html document/webpage
Eg:-
Code:-
output:-

Basic Tag #4

4.Horizontal  Line <hr> Tag:-
Horizontal line tag is used to break document / page and create horizontal line from current position to right margin.
Eg:-
Code:-
output:-


Basic Tag #3

3.Line Break Tag<br>:-
The Break line Code is use to break the line in code. It is placed after any line. The <br> tag is empty elements  means it does not have closing end.
Eg:-
Code:-
Output:-

Basic Tag #2

2.Paragraph Tag <p>:-
The <p> tag is used to struct your text into paragraph and each paragraph is written between <p>•••••••••••</p>.
Eg:- 
Code:-
Output:-

Basic Tags #1

Basic Tags

1.Heading Tags :- every webpage or a document starts with heading.In HTML we can use six type different size of headings . (<h1>,<h2><h3><h4><h5><h6>) 
Eg:- 

Code:-
OUTPUT:-


Tags

What are Tags?
HTML tags are the keywords enclosed between angular brackets <tagname>.
Tag has opening and closing such as 
Opening <tagname> 
Closing  </tagname> some tags has only opening but they don't have closing 
For example :- <br> Tag.

                

HTML List