How to create line spaces
Posted: Sat Feb 17, 2007 7:36 pm
How can I create a line space inside a <h2> ?
I normally use this method but it is incorrect since you cannot have two consecutive "<br />".
This is also incorrect because you cannot have <p> inside <h2>:
This is also incorrect right?
So how can I insert line spaces without two consecutive <br /> ?
I normally use this method but it is incorrect since you cannot have two consecutive "<br />".
Code: Select all
<h1>title</h1>
<h2>The paragraph should not have consecutive line breaks.<br /><br />But I cannot find an answer to this problem.<br /><br />Can you help me?</h2>This is also incorrect because you cannot have <p> inside <h2>:
Code: Select all
<h1>title</h1>
<h2><p>The paragraph should not have consecutive line breaks.</p><p>But I cannot find an answer to this problem.</p><p>Can you help me?</p></h2>Code: Select all
<h1>title</h1>
<h2>The paragraph should not have consecutive line breaks.</h2><h2>But I cannot find an answer to this problem.</h2><h2>Can you help me?</h2>