I have some sections like:

<h3>EngineeringNotes.net</h3>
<br>I have never ....

(see this page: http://www.rpi.edu/~doriad/Personal.html)

Why is there such an enormous space between the header and the text? I thought <br> should just insert a single line break?

Thanks,

Dave

Recommended Answers

All 2 Replies

h3 is a block element, </h3> ends the block with whatever margins and padding are set for the h3 and the adjacent element
</h3><br> is 2 Breaks, thats what you got

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.