Computer Applications
Distinguish between <P> tag and <BR> tag.
HTML Intro
1 Like
Answer
| <P> tag | <BR> tag |
|---|---|
| The paragraph tag helps to identify and separate paragraphs in an HTML document. | The line break tag avoids blank spaces between the lines. |
| It is a container tag. | It is an empty tag. |
For example,<P> This is paragraph 1. <P><P> This is paragraph 2.<P>Output: This is paragraph 1. This is paragraph 2. | For example,This is line 1. <BR> This is line 2.Output: This is line 1. This is line 2. |
Answered By
3 Likes
Related Questions
Write an HTML code to display the following list
List of Indian States with their capital
- Delhi
- New Delhi
- Haryana
- Chandigarh
- Gujarat
- Gandhinagar
- Rajasthan
- Jaipur
- Maharastra
- Mumbai
- Uttar pradesh
- Lucknow
What are the role of <HTML> ….. </HTML> tags in HTML?
Ayushi has to prepare a demo table in which she has to mention question number and its marking. Help her to write the code for the below table.

Write the HTML code to design the web page as shown below, considering the specifications that follow. You can write the code for given specifications.

(i) Title of the page is "IIT".
(ii) Font face of heading is "Cambria".
(iii) The color of the heading of the page is "Red".
(iv) Image used as "IIT.png".
Use link as:
For IIT Bombay as bombay.html
For IIT Kanpur as kanpur.html
For IIT Madras as madras.html
For IIT Delhi as delhi.html
For IIT Roorkee as roorkee.html