How to insert spaces tabs in text using HTML CSS

0 votes

Possible ways:

<pre> ... </pre>

or

style="white-space:pre"

Anything else?

Jun 1, 2022 in CSS by Edureka
• 13,620 points
603 views

1 answer to this question.

0 votes
For spaces, use &nbsp;, for (less than, entity number &#60;), and > for (greater than, entity number &#62;).
answered Jun 1, 2022 by Edureka
• 12,690 points

Related Questions In CSS

0 votes
0 answers

How to make a back-to-top button using CSS and HTML only?

I want to scroll down and up ...READ MORE

Jun 30, 2022 in CSS by Edureka
• 13,620 points
522 views
0 votes
0 answers

how to draw a rectangle in HTML or CSS?

I am trying to draw a rectangle ...READ MORE

Aug 18, 2022 in CSS by Edureka
• 13,620 points
1,144 views
0 votes
0 answers

How to resize an image in pure HTML/CSS while keeping its proportions?

How can I crop an image while ...READ MORE

Aug 18, 2022 in CSS by Edureka
• 13,620 points
441 views
0 votes
1 answer

How do I give text or an image a transparent background using CSS?

Use either a semi-transparent PNG or SVG ...READ MORE

answered May 27, 2022 in CSS by Edureka
• 12,690 points
613 views
0 votes
0 answers

How to insert spaces/tabs in text using HTML/CSS

how to add space in HTML except ...READ MORE

Jun 3, 2022 in HTML by Tejashwini
• 3,820 points
370 views
0 votes
1 answer

How to build simple tabs with jQuery?

Create Tabs Using jQuery and CSS Create Tab: ...READ MORE

answered Jun 16, 2022 in JQuery by rajatha
• 7,680 points

edited Jun 16, 2022 by Hemant 596 views
0 votes
0 answers

Handling of non breaking space: <p>&nbsp;</p> vs. <p> </p>

A non-breaking space, or &nbsp;, denotes a ...READ MORE

Jul 8, 2022 in HTML by Tejashwini
• 3,820 points
2,325 views
0 votes
2 answers

Define a SQL query? What is the difference between SELECT and UPDATE Query? How do you use SQL in SAS?

HI.. SQL is Structured Query Language, which is ...READ MORE

answered Aug 8, 2020 in PHP by anonymous
10,540 views
0 votes
1 answer

How to set Bullet colors in UL/LI html lists via CSS without using any images or span tags

I use jQuery for this: jQuery('li').wrapInner('<span class="li_content" />'); & ...READ MORE

answered May 27, 2022 in CSS by Edureka
• 12,690 points
1,032 views
0 votes
1 answer

How to hide image broken Icon using only CSS/HTML?

Because CSS/HTML has no means of knowing ...READ MORE

answered May 31, 2022 in CSS by Edureka
• 12,690 points
4,225 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP