Page 60 - Code & Click - 7
P. 60
LINE BREAK <br> Tag
The line break <br> tag is used to insert a new blank line in an HTML document. It is an empty tag
and does not have any attribute.
Experiential Learning
Lab Activity 1
To display text in separate lines using <br> tag.
1. Open Notepad and create the HTML document as shown below.
2. Save the file and open it in Microsoft Edge.
Observe that the text has been broken into lines at places where you inserted the <br> tags.
PARAGRAPH <p> Tag
The Paragraph tag <p> is used to start new paragraphs in an HTML document. It is a container tag
that starts with <p> tag and ends with the </p> tag.
Experiential Learning
Lab Activity 2
To display text in paragraph using <p> tag.
1. Open Notepad and create the HTML document as shown below.
2. Open the HTML document in Microsoft Edge.
58