Page 77 - Computer - 7
P. 77
BASIC HTML TAGS
Let us learn about some basic HTML tags.
LINE BREAK <br> Tag
The web browser does not recognize any paragraph formatting in an HTML document. The line break
<br> tag is used to insert a new blank line or create a line break in an HTML document. It is an empty
tag and does not have any attribute.
Lab Activity 1 Experiential Learning
To display text in separate lines using <br> tag.
1. Open Notepad and create the HTML document as shown below.
2. Open the HTML document in Microsoft Edge.
Observe that the text is displayed as a single block instead of as separate lines.
3. Open the HTML document in Notepad and insert the <br> tags as shown in the image.
4. 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.
75