How do I alter the separation between a headline and the paragraph
text?? For example, in the Resume exercise, I had my name as an
headline and my address, phone number and email address as a
. The programming automatically puts an empty line in between
my name and the rest of the text; I want my address information on the
next line immediately below my name, without any spacing in between.
How does this happen?
What exercise are you referring to? Please put a link of it.
This is from the “old” HTML & CSS" course, which was just recently replaced. It is the final project.
Everything came out the way I wanted it except for the spacing between my name and my contact info. It comes out as:
when I want it to be:
You need to use the line break element
There are only a few cases where this is acceptable in HTML5, two of them being poems and … addresses
Make sure you look at the HTML5 spec and don’t start plastering
<br> elements all over your pages
Most of the time you should be using the CSS property
line-height, so have a play around with that too