answersLogoWhite

0


Best Answer

This is how you do in HTML

<div style="width:400px; line-height:30px;padding: 5px; border: 1px solid #CCC;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras varius imperdiet nunc. Donec eu nibh a odio sodales viverra et non purus.</div>

If you are looking to do in CSS, check the related link.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

You add margin to the paragraphs in your CSS. The specific way of dealing with this depends on your layout, your design, and whether you want to treat all the paragraphs the same. However, this is a basic line that will give you 1.5 em between the end of one paragraph and the beginning of the next.

p { margin: 0.75em 0; }

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you increase the line height of a paragraph in HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the code for inserting a line break?

Line breaks are inserted using the empty BR entity: &lt;br /&gt; You can enclose a paragraph inside a P entity: &lt;p&gt;This is a paragraph&lt;/p&gt; Check the w3schools.org site for HTML how to's.


What is wrap in HTML?

Wrap in HTML means that text will automatically continue on the next line if it is longer than one line. You usually use the &lt;p&gt;&lt;/p&gt; tags to contain text that will display in a paragraph.


What HTML tag is used to create a paragraph break?

Use tags. Here are some examples of how to use them:This is my first paragraph. I would like for there to be a break between my paragraphs so I am splitting them up with p tags.This is my second paragraph, there will be a line break between this paragraph and the one above it. This is the default practice of most browsers.Alternatively you can write your text as a block with tags as line breaks. ie:This is my first paragraph. I would like for there to be a break between my paragraphs so I am inserting br tags between them.This is my second paragraph, there will be a line break between this paragraph and the one above it due to my tag.


What does the tag p stand for?

The "p" tag stands for paragraph it is a tag.The paragraph tags are used to define a block of text as a paragraph. This HTML element is one of the basic HTML tags you should learn to use properly.When a block of text is surrounded by the paragraph tags, the browser automatically adds white space before and after the paragraph.Make sure to use to add more paragraphs


What is the HTML code for enter?

Use &lt;br /&gt; for a new line. Use &lt;p&gt;&lt;/p&gt; for a new paragraph. or if you want to link to a website or another page you put &lt;html&gt; &lt;body&gt; &lt;a href="the page or site you want to link"&gt;button text here&lt;/a&gt; &lt;/body&gt; &lt;/html&gt;

Related questions

What is the code for inserting a line break?

Line breaks are inserted using the empty BR entity: &lt;br /&gt; You can enclose a paragraph inside a P entity: &lt;p&gt;This is a paragraph&lt;/p&gt; Check the w3schools.org site for HTML how to's.


What is wrap in HTML?

Wrap in HTML means that text will automatically continue on the next line if it is longer than one line. You usually use the &lt;p&gt;&lt;/p&gt; tags to contain text that will display in a paragraph.


What is the function in paragraph in HTML?

A paragraph, or "P" tag, is used to denote that the element contains text and should be indented or styled as a paragraph. It creates a block-level element with line breaks around it.


What is the Html tag for break?

A Line Break Is &lt;br&gt; A Paragraph Break Is &lt;p&gt; or some browsers accept &lt;br /&gt; Hope that helps!!!


What is the HTML code to create a space?

Use: &lt;P&gt; new paragraph&lt;/p&gt; or &lt;br&gt;Line break (no closing tag required)


What does the HTML br do?

The &lt;br&gt; tag creates a line-break. This causes the carriage to return to the beginning of the next line. It's similar to hitting "enter" on the keyboard. If you need a blank line (similar to a paragraph) you can use two in succession. If you need an actual paragraph, you should use the &lt;p&gt; tag instead, but when you need a new line, like in an address, it's perfect. Code like this: &lt;p&gt;I like HTML&lt;br&gt;More than C&lt;/p&gt; Produces output similar to... I like HTML More than C


What HTML tag is used to create a paragraph break?

Use tags. Here are some examples of how to use them:This is my first paragraph. I would like for there to be a break between my paragraphs so I am splitting them up with p tags.This is my second paragraph, there will be a line break between this paragraph and the one above it. This is the default practice of most browsers.Alternatively you can write your text as a block with tags as line breaks. ie:This is my first paragraph. I would like for there to be a break between my paragraphs so I am inserting br tags between them.This is my second paragraph, there will be a line break between this paragraph and the one above it due to my tag.


What is a tag used for providing space betwwn two lines in HTML?

you can either use an empty paragraph (&lt;p&gt;&lt;/p&gt;) or a line break &lt;br /&gt;


What does the tag p stand for?

The "p" tag stands for paragraph it is a tag.The paragraph tags are used to define a block of text as a paragraph. This HTML element is one of the basic HTML tags you should learn to use properly.When a block of text is surrounded by the paragraph tags, the browser automatically adds white space before and after the paragraph.Make sure to use to add more paragraphs


What is the HTML code for enter?

Use &lt;br /&gt; for a new line. Use &lt;p&gt;&lt;/p&gt; for a new paragraph. or if you want to link to a website or another page you put &lt;html&gt; &lt;body&gt; &lt;a href="the page or site you want to link"&gt;button text here&lt;/a&gt; &lt;/body&gt; &lt;/html&gt;


What is the tag used to start and finish a paragraph in HTML?

Answer: to start a new paragraph u use &lt;p&gt; then to end we use&lt;/P&gt; Also in case you want to break from a line u can use &lt;br&gt; and end with &lt;/br&gt;


What should be the first line of your HTML file?

The first line of your HTML file should start with &lt;!DOCTYPE HTML PUBLIC.... The first line of the actual HTML code begins with the &lt;html&gt; tag.