answersLogoWhite

0

How do you indent HTML?

Updated: 8/9/2023
User Avatar

Wiki User

14y ago

Best Answer

There are many methods you can use to indent a paragraph using HTML styles. Here is an example of one method: <p style="text-indent: 50px;"></p>. This will indent the first line of a paragraph 50 pixels. You can change it to whatever intent space you like.

User Avatar

Wiki User

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

Wiki User

11y ago

Use the
tag.

Use the
tag.

Use the
tag.

Use the
tag.

Use the
tag.

Use the
tag.

Use the
tag.

Use the
tag.

Use the
tag.

Use the
tag.

Use the
tag.

This answer is:
User Avatar

User Avatar

Wiki User

8y ago
There are two ways:

The first line of this paragraph will be indented by 42 pixels.


This entire paragraph will be indented by 42 pixels.



Note that these styles can be applied to other tags besides the

tag.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

A line break is simply a new line in HTML. Simply pressing return will not have any effect on the document - it's viewed as white-space by the browser.

Line 1

Line 2

Line 3

Output:

Line 1

Line 2Line 3

A horizontal rule looks like this:


Output:

It is not used very often as it cannot really be styled. An alternative would be to use a border on the bottom of a

element.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

You simply use the tab key and use appropriate formating

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

<hr/> will draw a line in a HTML page. <br/> will create a line break.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Use the <br> tag.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you indent HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Do you need to use tabs to indent your html code so that it will validate?

No, you do not need to indent your code so that it will validate. In fact, it is usually not necessary to use line-breaks at all. If you do indent, the extra space is ignored when the page is displayed. The same is true for the validation process.


Type of indent used in a referance list?

A hanging indent is used in a reference list.


When is a hanging indent useful?

Alternatively referred to as a negative indent, a hanging indent is an indent that indents all text except the first line. useful for paragraphs


When you drag a hanging indent marker does the left indent marker move with it?

No, when you drag a hanging indent marker, the left indent marker stays in place. The hanging indent marker only adjusts the position of the second line of the paragraph relative to the first.


Do you have to indent after a flashback?

You have to indent each new paragraph.


Are indents on a Word document measured from the edge of the page?

No. They are from the margin. A regular indent will have the first line the amount of the indent further in than the rest of text, which be at the margin. A hanging indent will have the first line at the margin and the rest of the text in by the amount of the indent.No. They are from the margin. A regular indent will have the first line the amount of the indent further in than the rest of text, which be at the margin. A hanging indent will have the first line at the margin and the rest of the text in by the amount of the indent.No. They are from the margin. A regular indent will have the first line the amount of the indent further in than the rest of text, which be at the margin. A hanging indent will have the first line at the margin and the rest of the text in by the amount of the indent.No. They are from the margin. A regular indent will have the first line the amount of the indent further in than the rest of text, which be at the margin. A hanging indent will have the first line at the margin and the rest of the text in by the amount of the indent.No. They are from the margin. A regular indent will have the first line the amount of the indent further in than the rest of text, which be at the margin. A hanging indent will have the first line at the margin and the rest of the text in by the amount of the indent.No. They are from the margin. A regular indent will have the first line the amount of the indent further in than the rest of text, which be at the margin. A hanging indent will have the first line at the margin and the rest of the text in by the amount of the indent.No. They are from the margin. A regular indent will have the first line the amount of the indent further in than the rest of text, which be at the margin. A hanging indent will have the first line at the margin and the rest of the text in by the amount of the indent.No. They are from the margin. A regular indent will have the first line the amount of the indent further in than the rest of text, which be at the margin. A hanging indent will have the first line at the margin and the rest of the text in by the amount of the indent.No. They are from the margin. A regular indent will have the first line the amount of the indent further in than the rest of text, which be at the margin. A hanging indent will have the first line at the margin and the rest of the text in by the amount of the indent.No. They are from the margin. A regular indent will have the first line the amount of the indent further in than the rest of text, which be at the margin. A hanging indent will have the first line at the margin and the rest of the text in by the amount of the indent.No. They are from the margin. A regular indent will have the first line the amount of the indent further in than the rest of text, which be at the margin. A hanging indent will have the first line at the margin and the rest of the text in by the amount of the indent.


What is the type of indent used in a referencelist?

It is called a hanging indent.


Do you indent in a topic sentence?

Yes, you indent in a topic sentance...


Do you need to indent in a business letter?

No, but you do indent in a friendly letter.


Is indent a verb?

Yes, indent is a verb. Example sentence:You indent the clay by adding pressure with your thumbs as the wheel turns.


What is an example of a sentence using the word indent?

Please indent your paragraphs. The bay indents the coastline.


Does indent exist in English language?

Yes. If you make an indentation on a piece of material then you 'indent' it. Equally you can indent text on a page etcetera.