0 votes
382 views
in HTML by (3.5k points)
edited

How to add space using < pre > tag in HTML?

1 Answer

0 votes
by (3.5k points)
edited
The pre tag is used to create preformatted text. The text inside this tag will preserve both spaces and line breaks. To add space using the tag, you can add the style attribute and set the value to &ldquo;margin:10px&rdquo;.

Related questions

0 votes
1 answer 301 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 327 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 318 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 325 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 349 views
asked Jun 12, 2023 in HTML by radhe (2.2k points)
0 votes
1 answer 326 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

Recent Badges

Doubtly Earned a badge
MrRam Earned a badge
Ritesh Maurya Earned a badge

5.7k questions

5.1k answers

108 comments

648 users

...