107k views
3 votes
Text line breaks and returns are controlled using which tags?



1 Answer

3 votes

Final answer:

In HTML, the <br> tag is used for line breaks, and the <p> tag is for starting new paragraphs.

The <br> tag inserts a single line break, while the <p> tag creates a space between paragraphs.

Step-by-step explanation:

An HTML element is a type of HTML document component, one of several types of HTML nodes.

The first used version of HTML was written by Tim Berners-Lee in 1993 and there have since been many versions of HTML

The tags that are used to control text line breaks and returns in HTML are the <br> tag and the <p> tag.

The <br> tag is a self-closing tag that inserts a line break within a paragraph.

For example, the code <p>Hello <br>World</p> would display as:

Hello
World

The <p> tag is used to create separate paragraphs of text.

Each paragraph is displayed on a new line.

For example, the code <p>This is the first paragraph.</p> <p>This is the second paragraph.</p> would display as:

This is the first paragraph.

This is the second paragraph.

User Gmmo
by
8.2k points

No related questions found