Open study

is now brainly

With Brainly you can:

  • Get homework help from millions of students and moderators
  • Learn how to solve problems with step-by-step explanations
  • Share your knowledge and earn points by helping other students
  • Learn anywhere, anytime with the Brainly app!

A community for students.

In HTML, I want to print something on a new line without any extra space between lines. How?

Computer Science
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this and thousands of other questions

For example:

This stuff

That stuff

displays like this (roughly): This stuff That stuff I want it to display like this (roughly): This stuff That stuff Is this even possible using HTML?
of couse,

or just
tag . it means "break" or '\n' character. it is a symbol of new line also you can use
without any styles every new
begins in a new line. and many other ways to do what you want...it depends on your additional requirements. just visit http://www.w3schools.com/ you can find many useful information about html, javascript, php, etc.
Yeah I love that site. So you are saying the
tags will give me a line break without the extra padding that is in

and
?

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

I'm gonna go try it.
Nope. Still gives you that extra padding.
You can use CSS to fix that padding, if you want.
is semantically used to just do a "Return" on the page.
The problem isn't one of html which describes what the elements of your document are. The problem is one of css which describes how the page should look. You want to adjust the margin or padding (or both) using css. You don't have to do anything to your html.
If you are using Firefox, I can recommend installing FireBug, if you have further formatting issues. You can use FireBug to check how much padding you have, or any other part of the box layout, to see why your elements look like they do.

Not the answer you are looking for?

Search for more explanations.

Ask your own question